re PR fortran/63331 (Fortran -fcompare-debug issues)
authorJakub Jelinek <jakub@redhat.com>
Tue, 23 Sep 2014 15:25:55 +0000 (17:25 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 23 Sep 2014 15:25:55 +0000 (17:25 +0200)
commit54f9184b594d38d288471029277733a0c3374a65
tree1dadd41b6c39db25eeeb3b55913dcf79d26ad6f7
parentad01608e1402904d7b9041a985a05c4348d2085b
re PR fortran/63331 (Fortran -fcompare-debug issues)

PR fortran/63331
* trans-types.c (gfc_get_array_descr_info): Build DEBUG_EXPR_DECL
instead of VAR_DECL for base_decl.

* gfortran.dg/pr63331.f90: New test.

From-SVN: r215516
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr63331.f90 [new file with mode: 0644]