OSDN Git Service

Fix for PR debug/43325
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Apr 2010 18:54:30 +0000 (18:54 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:42:42 +0000 (09:42 +0900)
commitb45b78fb1d7c3dadf7e8bc5d3821ef4c2fedfef2
tree807d8105ca771d933964de8f1ff479f8ec69e32a
parent5872debc98dea0452cf4bc81da94055d296cc1a1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157928 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dwarf2/redeclaration-1.C [new file with mode: 0644]