re PR fortran/35892 (gfortran lost memory blocks)
authorGeorge Helffrich <george@gcc.gnu.org>
Sat, 26 Apr 2008 09:46:01 +0000 (09:46 +0000)
committerGeorge Helffrich <george@gcc.gnu.org>
Sat, 26 Apr 2008 09:46:01 +0000 (09:46 +0000)
commitda69cc9160391a75d646caf33d0c6a4074277646
tree41a41127f1938338b6b87dd1bde0414e40bfc07f
parent49bce30a21d7cec8632fba32fd83abe7db1acad5
re PR fortran/35892 (gfortran lost memory blocks)

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.

From-SVN: r134696
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]