passes.c (rest_of_decl_compilation): Always call early_global_decl debug hook when...
authorRichard Biener <rguenther@suse.de>
Thu, 17 Sep 2015 09:47:43 +0000 (09:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 17 Sep 2015 09:47:43 +0000 (09:47 +0000)
commitbf2dbec420f5c7a05af6ca3185a4ab297b80a905
tree6e2ef835fcb80c96a6f0fdaa4402ece9839684f0
parente3b5d7bae1c9cc9bd1faa905c0526dce2ee90924
passes.c (rest_of_decl_compilation): Always call early_global_decl debug hook when we created a varpool node.

2015-09-17  Richard Biener  <rguenther@suse.de>

* passes.c (rest_of_decl_compilation): Always call early_global_decl
debug hook when we created a varpool node.
* dwarf2out.c (dwarf2out_late_global_decl): When in LTO call
dwarf2out_early_global_decl, when not just add location or
value attributes to existing DIEs.

From-SVN: r227857
gcc/ChangeLog
gcc/dwarf2out.c
gcc/passes.c