cgraphunit.c (analyze_functions): Set node->definition to false to signal symbol...
authorRichard Biener <rguenther@suse.de>
Thu, 20 Oct 2016 08:49:48 +0000 (08:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 20 Oct 2016 08:49:48 +0000 (08:49 +0000)
commit775669c1ebd58284734ae4261965b425356e2fca
treeeaf4fefd23878ee067a9f658dce72d2897a8686e
parenta65593a4b4ceaecdb650e430dd92efb374b3a1eb
cgraphunit.c (analyze_functions): Set node->definition to false to signal symbol removal to...

2016-10-20  Richard Biener  <rguenther@suse.de>

* cgraphunit.c (analyze_functions): Set node->definition to
false to signal symbol removal to debug_hooks->late_global_decl.
* ipa.c (symbol_table::remove_unreachable_nodes): When not in
WPA signal symbol removal to the debuginfo machinery.
* dwarf2out.c (dwarf2out_late_global_decl): Instead of
using early_finised to guard the we're called for symbol
removal case look at the symtabs definition flag.
(gen_variable_die): Remove redundant check.

From-SVN: r241363
gcc/ChangeLog
gcc/cgraphunit.c
gcc/dwarf2out.c
gcc/ipa.c