dwarf2out.c (tree_add_const_value_attribute): Do not try rtl_for_decl_init during...
authorRichard Biener <rguenther@suse.de>
Thu, 13 Oct 2016 07:16:37 +0000 (07:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 13 Oct 2016 07:16:37 +0000 (07:16 +0000)
commitcea4bad102a5a013df2258b7fa8b5038c28bec5e
tree221aa09cc04ce99917138ed038767737cb968701
parent80b489ebba3c8392c8ea23ef63b6d94bae9af3c7
dwarf2out.c (tree_add_const_value_attribute): Do not try rtl_for_decl_init during early phase.

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

* dwarf2out.c (tree_add_const_value_attribute): Do not try
rtl_for_decl_init during early phase.
(gen_variable_die): Do not create locations during early phase.
(gen_label_die): Likewise.
(decls_for_scope): Do not waste time handling BLOCK_NONLOCALIZED_VARs
twice.

From-SVN: r241085
gcc/ChangeLog
gcc/dwarf2out.c