re PR fortran/44556 (incorrect error: Stat-variable at (1) shall not be DEALLOCATEd...
authorTobias Burnus <burnus@net-b.de>
Fri, 18 Jun 2010 22:23:40 +0000 (00:23 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 18 Jun 2010 22:23:40 +0000 (00:23 +0200)
commitddf58e42fe46db1cf05f21f61fc05f2d2107d5d5
tree21ccfc87d5e4e9a78917b144a93462408315e5f8
parentca0cb93e349680470ab76b29525e63f6f8dd3ba5
re PR fortran/44556 (incorrect error:  Stat-variable at (1) shall not be DEALLOCATEd within the same DEALLOCATE statement)

2010-06-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/44556
        * resolve.c (resolve_allocate_deallocate): Properly check
        part-refs in stat=/errmsg= for invalid use.

2010-06-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/44556
        * gfortran.dg/allocate_alloc_opt_11.f90: New.

From-SVN: r161011
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_alloc_opt_11.f90 [new file with mode: 0644]