[Bug fortran/33269] Diagnose missing "(" in "PRINT ('a'),"
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 24 21:15:00 GMT 2007
------- Comment #8 from tobi at gcc dot gnu dot org 2007-09-24 21:15 -------
Subject: Bug 33269
Author: tobi
Date: Mon Sep 24 21:15:00 2007
New Revision: 128732
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128732
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/fmt_error_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/io.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33269
More information about the Gcc-bugs
mailing list