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



--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-31 
18:29:21 UTC ---

Author: jason

Date: Thu Jan 31 18:29:15 2013

New Revision: 195622



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195622

Log:

    PR debug/55059

    PR debug/54508

    * dwarf2out.c (prune_unused_types_mark): Mark all of parent's

    children if parent is a class.

    (prune_unused_types_prune): Don't add DW_AT_declaration.



Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/dwarf2out.c

    trunk/gcc/testsuite/g++.dg/debug/dwarf2/localclass1.C

    trunk/gcc/testsuite/g++.dg/debug/dwarf2/localclass2.C

    trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr54508.C

Reply via email to