re PR fortran/23661 ('print fmt' is unclassifiable statement in gfortran)
authorTobias Schlüter <tobi@gcc.gnu.org>
Sun, 4 Sep 2005 12:08:53 +0000 (14:08 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sun, 4 Sep 2005 12:08:53 +0000 (14:08 +0200)
commit08e1fe9e0fa2f57f7a783d5859581b2d28973683
treeeef1595ad0678fac27350ee479d689cdf5007036
parentb3e7378af3e92af6807e4d410a182ea7547dd1d5
re PR fortran/23661 ('print fmt' is unclassifiable statement in gfortran)

fortran/
PR fortran/23661
* io.c (match_io): Correctly backup if PRINT followed by
symbol which is not a namelist.  Force blank between PRINT
and namelist in free form.
testsuite/
PR fortran/23661
* gfortran.dg/print_fmt_1.f90, gfortran.dg/print_fmt_2.f90
gfortran.dg/print_fmt_3.f90: New test.

From-SVN: r103824
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/print_fmt_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/print_fmt_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/print_fmt_3.f [new file with mode: 0644]