This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33269] Diagnose missing "(" in "PRINT ('a'),"
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2007 19:47:21 -0000
- Subject: [Bug fortran/33269] Diagnose missing "(" in "PRINT ('a'),"
- References: <bug-33269-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-08-31 19:47 -------
gfortran does catch these at run time.
Also, the last case, read ('f3.3'), a, does give a legitimate error:
read ('f3.3'), a
1
Error: UNIT specification at (1) must be an INTEGER expression or a CHARACTER
variable.
See PR28397. I think this is a near duplicate.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33269