[Bug debug/45024] wrong nesting for inner template class

dodji at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 22 16:25:00 GMT 2010



------- Comment #3 from dodji at gcc dot gnu dot org  2010-07-22 16:25 -------
Subject: Bug 45024

Author: dodji
Date: Thu Jul 22 16:25:17 2010
New Revision: 162420

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162420
Log:
Fix PR debug/45024

gcc/ChangeLog:
        PR debug/45024
        * dwarf2out.c (scope_die_for): Don't fall back to the compilation
        unit DIE if we can find the scope DIE.

gcc/testsuite/ChangeLog:
        PR debug/45024
        * g++.dg/debug/dwarf2/nested-2.C: New test case.

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


-- 


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



More information about the Gcc-bugs mailing list