PR debug/26881
commitcd6bca0272fbfc3d7d64b9d399f2aae4f7514587
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Aug 2006 13:30:45 +0000 (24 13:30 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Aug 2006 13:30:45 +0000 (24 13:30 +0000)
tree2478b3f5d0e0838e0af2b96bb6f0306cfbf4000d
parente9c873a4dc2262748f2d8392bae51487fc5f06b9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116374 138bc75d-0d04-0410-961f-82ee72b054a4
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]