re PR fortran/37039 (Cray pointer with pointee DIMENSION statement after POINTER...
authorAsher Langton <langton2@llnl.gov>
Thu, 2 Jun 2011 21:36:02 +0000 (21:36 +0000)
committerAsher Langton <langton@gcc.gnu.org>
Thu, 2 Jun 2011 21:36:02 +0000 (21:36 +0000)
commit11126dc093925fdfebfb0d3f9eff60a75d5e5a23
tree108be54edb097760783968d1949c5b72848873eb
parent4e76acd2f045e5a196a0351b1b445ce7ce18f4ca
re PR fortran/37039 (Cray pointer with pointee DIMENSION statement after POINTER statement)

    * decl.c (variable_decl): Merge current_as before copying to cp_as.

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

From-SVN: r174582
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/PR37039.f90 [new file with mode: 0644]