This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/54508] Wrong debug information emitted if data members not referenced


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54508

--- Comment #4 from pkoning at gcc dot gnu.org 2012-10-23 18:44:33 UTC ---
Author: pkoning
Date: Tue Oct 23 18:44:27 2012
New Revision: 192739

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192739
Log:
PR debug/54508
* dwarf2out.c (prune_unused_types_prune): If pruning a class and
not all its children were marked, add DW_AT_declaration flag.

* g++.dg/debug/dwarf2/pr54508.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr54508.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]