]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/primary.cc
re PR fortran/32760 (Error defining subroutine named PRINT)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 3 Feb 2008 11:29:27 +0000 (11:29 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 3 Feb 2008 11:29:27 +0000 (11:29 +0000)
commitb9332b094d2b506da84d847b0e3a9cfc528dd25b
tree730852770e905aafbbe0906c5de87169a2ad6c36
parentce3605e2bbe385f8d07e045a614e470eaaaa0838
re PR fortran/32760 (Error defining subroutine named PRINT)

2008-02-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32760
* resolve.c (resolve_allocate_deallocate): New function.
(resolve_code): Call it for allocate and deallocate.
* match.c (gfc_match_allocate, gfc_match_deallocate) : Remove
the checking of the STAT tag and put in above new function.
* primary,c (match_variable): Do not fix flavor of host
associated symbols yet if the type is not known.

2008-02-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32760
* gfortran.dg/host_assoc_variable_1.f90: New test.
* gfortran.dg/allocate_stat.f90: Change last three error messages.

From-SVN: r132078
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/primary.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_stat.f90
gcc/testsuite/gfortran.dg/host_assoc_variable_1.f90 [new file with mode: 0644]