This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r157928 - 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, 01 Apr 2010 18:54:31 -0000
- Subject: r157928 - in /trunk/gcc: ChangeLog dwarf2out.c ...
Author: dodji
Date: Thu Apr 1 18:54:30 2010
New Revision: 157928
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157928
Log:
Fix for PR debug/43325
gcc/ChangeLog:
PR debug/43325
* dwarf2out.c (gen_variable_die): Allow debug info for variable
re-declaration when it happens in a function.
gcc/testsuite/ChangeLog:
PR debug/43325
* c-c++-common/dwarf2/redeclaration-1.C: New test.
Added:
trunk/gcc/testsuite/c-c++-common/dwarf2/redeclaration-1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog