dwarf2out.c (struct die_struct): Add dumped_early field.
authorAldy Hernandez <aldyh@gcc.gnu.org>
Thu, 4 Sep 2014 16:38:04 +0000 (16:38 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Thu, 4 Sep 2014 16:38:04 +0000 (16:38 +0000)
commit7c371a4c90a5bfd38aacc645893d0066ab9288ed
tree0754f0eba4ee43741814a567c96a8d6b96f4a451
parentb7af73a7192c92c06190486950ee142ad73781d1
dwarf2out.c (struct die_struct): Add dumped_early field.

* dwarf2out.c (struct die_struct): Add dumped_early field.
(reparent_child): New.
(splice_child_die): Use reparent_child.
(gen_subprogram_die): Do not regenerate parameters if previously
dumped.
(gen_variable_die): Fix parent of decls that have been dumped
early to reflect correct context.
Do not regenerate decls if previously dumped.
(dwarf2out_decl): Add return value.
(dwarf2out_early_decl): Set dumped_early bit.

From-SVN: r214909
gcc/dwarf2out.c