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/41170] namespace DIE not generated when it contains only a typedef



------- Comment #3 from dodji at gcc dot gnu dot org  2009-08-27 07:05 -------
Subject: Bug 41170

Author: dodji
Date: Thu Aug 27 07:05:24 2009
New Revision: 151138

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151138
Log:
Fix for PR debug/41170

gcc/ChangeLog:
        PR debug/41770
        * dwarf2out.c (get_context_die): Declare this static function.
        (gen_type_die_with_usage): Make sure a DIE is a generated for
        the context of a typedef.

gcc/testsuite/ChangeLog:
        PR debug/41770
        * debug/dwarf2/namespace-1.C: New test.

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


-- 


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


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