OSDN Git Service

2008-04-26 George Helffrich <george@gcc.gnu.org>
authorgeorge <george@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Apr 2008 09:46:01 +0000 (09:46 +0000)
committergeorge <george@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Apr 2008 09:46:01 +0000 (09:46 +0000)
commit2f1b79be769a7657417ac888381a2eaba23a52d7
tree41a41127f1938338b6b87dd1bde0414e40bfc07f
parent346c9aafb198d89fc3480cb4e9b9003443697ceb
2008-04-26  George Helffrich <george@gcc.gnu.org>

PR fortran/35892
PR fortran/35154
* fortran/trans-common.c (create_common):  Add decl to function
chain (if inside one) to preserve identifier scope in debug output.

        * testsuite/gfortran.dg/debug/pr35154-stabs.f:  New test case for
        .stabs functionality.
        * testsuite/gfortran.dg/debug/pr35154-dwarf2.f:  New test case for
        DWARF functionality.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134696 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/debug/pr35154-dwarf2.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f [new file with mode: 0644]