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/33189] read(blah, fmt=*) is accepted, but read(blah, '*') not.



------- Comment #4 from toon at moene dot indiv dot nluug dot nl  2007-08-25 16:52 -------
Ah, but then the question becomes:

Why is this not valid ?

      CHARACTER*10 a
      a = '15'
      READ(a, '(*)') i
      PRINT*,i
      END

33189.f:3.72:

      READ(a, '(*)') i                                                  
                                                                       1
Error: Unexpected element in format string at (1)

Cheers,


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33189


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