re PR fortran/33269 (Diagnose missing "(" in "PRINT ('a'),")
authorTobias Schlüter <tobi@gcc.gnu.org>
Mon, 24 Sep 2007 21:15:00 +0000 (23:15 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Mon, 24 Sep 2007 21:15:00 +0000 (23:15 +0200)
commit86e9d05f3541b1142799a2772dab463bc696221c
tree6fd80c148ea321cfd2bc3f25ffe2aa5985e2ff64
parentc028b28617a47266de561005bd3680ad03f9b6e9
re PR fortran/33269 (Diagnose missing "(" in  "PRINT ('a'),")

PR fortran/33269
fortran/
* io.c (check_format_string): Move NULL and constant checks into
this function.
(check_io_constraints): Call gfc_simplify_expr() before calling
check_format_string().  Remove NULL and constant checks.
testsuite/
* gfortran.dg/fmt_error_2.f90: New.

From-SVN: r128732
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/fmt_error_2.f90 [new file with mode: 0644]