This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r162420 - in /trunk/gcc: ChangeLog dwarf2out.c ...
- From: dodji at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 22 Jul 2010 16:25:18 -0000
- Subject: r162420 - in /trunk/gcc: ChangeLog dwarf2out.c ...
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