re PR fortran/23151 (print (buf, format), expression should be invalid)
authorThomas Koenig <Thomas.Koenig@online.de>
Fri, 26 May 2006 19:53:18 +0000 (19:53 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 26 May 2006 19:53:18 +0000 (19:53 +0000)
commit4d08533cd442757fc3eb564bcd1d56a6420bbd76
treecce105d2a8a9efe92aedfc36f6243be9dd45f8f5
parentdd46a4ded128ec8c0cf02aa20d24ae2783e0c68e
re PR fortran/23151 (print (buf, format), expression should be invalid)

2006-05-26  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/23151
* io.c (match_io):  print (1,*) is an error.

2006-05-26  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/23151
* gfortran.dg/inquire_9.f90:  Fix illegal print syntax.
* gfortran.dg/print_parentheses_1.f:  New test.
* gfortran.dg/print_parentheses_2.f90:  New test.

From-SVN: r114138
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/inquire_9.f90
gcc/testsuite/gfortran.dg/print_parentheses_1.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/print_parentheses_2.f90 [new file with mode: 0644]