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/45997] [4.6 Regression] __unknown__ type name for typedef'd int


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-06 19:33:56 UTC ---
Author: jakub
Date: Mon Dec  6 19:33:52 2010
New Revision: 167517

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167517
Log:
    PR debug/45997
    * dwarf2out.c (modified_type_die): If both is_const_type and
    is_volatile_type is set, start with DW_TAG_const_type or
    DW_TAG_volatile_type depending on where we get qualified type
    in the recursive call.

    * g++.dg/debug/dwarf2/pr45997-1.C: New test.
    * g++.dg/debug/dwarf2/pr45997-2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr45997-1.C
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr45997-2.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]