diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-11-13 22:04:32 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-11-13 22:04:32 +0100 |
commit | 2db56bbc02cebb8fd46a62776ef209f4e945ae18 (patch) | |
tree | 5984652bd92b5b512b5029b2254b987961bc499d /gcc/function.c | |
parent | a231ffe57d357887ff7702b0564f69b5d82fb5fd (diff) | |
download | gcc-2db56bbc02cebb8fd46a62776ef209f4e945ae18.zip gcc-2db56bbc02cebb8fd46a62776ef209f4e945ae18.tar.gz gcc-2db56bbc02cebb8fd46a62776ef209f4e945ae18.tar.bz2 |
re PR debug/27017 (Debug information for static local class members are not emitted)
PR c++/27017
* dwarf2out.c (prune_unused_types_walk_local_classes): New function.
(prune_unused_types_walk): Call it for non-perennial local classes.
Set die_mark to 2 if recursing on children. If die_mark is 1 on
entry, just set it to 2 and recurse on children, don't walk attributes
again.
* g++.dg/debug/dwarf2/localclass1.C: New test.
* g++.dg/debug/dwarf2/localclass2.C: New test.
From-SVN: r141829
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions