This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33269] Diagnose missing "(" in "PRINT ('a'),"



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]