re PR debug/26881 (internal compiler error in dwarf2out_finish)
authorJan Hubicka <jh@suse.cz>
Thu, 24 Aug 2006 13:30:45 +0000 (15:30 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 24 Aug 2006 13:30:45 +0000 (13:30 +0000)
commita418679d8d389c0960a17eded96bb9ddb7e33cb6
tree2478b3f5d0e0838e0af2b96bb6f0306cfbf4000d
parent96f4873b16293268e23759c39dc03f1eca20ea1f
re PR debug/26881 (internal compiler error in dwarf2out_finish)

PR debug/26881
* cgraph.c: Fix comments.
(cgraph_varpool_mark_needed_node): Mark only variables not already
output to file.
* cgraphunit.c: Update comments; include gt-cgraphunit.h
(cgraph_varpool_assembled_nodes_queue): New static variable.
(cgraph_varpool_assemble_decl): Record output decls for debug out code.
(cgraph_varpool_output_debug_info): New function.
(cgraph_finalize_compilation_unit, cgraph_optimize): Call it.
* Makefile.in: Add gt-cgraphunit.h
* gcc.dg/debug/pr26881.c: New file.

From-SVN: r116374
gcc/ChangeLog
gcc/Makefile.in
gcc/cgraph.c
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/pr26881.c [new file with mode: 0644]