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 05:16:12 +0000 (14:16 +0900)
commit2c66db6db9b1600a4aa64ae134cf10ee41082ca6
tree7ef3cb102d46b165e31a70ee1acfa1d6b3678d5b
parent3ab97505ae0ccdbf56f501da272327f768217aaf
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/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dwarf2/redeclaration-1.C [new file with mode: 0644]