]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/32936 (ALLOCATE: "STAT expression ... must be a variable" - but it...
authorTobias Burnus <burnus@net-b.de>
Wed, 1 Aug 2007 17:55:24 +0000 (19:55 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 1 Aug 2007 17:55:24 +0000 (19:55 +0200)
commitb8a0d3cfd704fe84371ea9cb149ff58496383fc9
tree160db656889ff31c1d6edfee7050056b9d5b9251
parent8fe428c67045321f9f66b7051f60f549323b2694
re PR fortran/32936 (ALLOCATE: "STAT expression ... must be a variable" - but it is one)

2007-08-01  Tobias Burnus  <burnus@net-b.de>

       PR fortran/32936
       * match.c (gfc_match_allocate): Better check that STAT is
       a variable.

       * check.c (gfc_check_allocated): Reorder checks to improve
       error message.

2007-08-01  Tobias Burnus  <burnus@net-b.de>

       PR fortran/32936
       * gfortran.dg/allocate_stat.f90: New.

From-SVN: r127135
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_stat.f90 [new file with mode: 0644]