https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69651

--- Comment #10 from kargl at gcc dot gnu.org ---
(In reply to Jerry DeLisle from comment #9)
> ****EOF****
> 
> What should the result be with non-namelist read?
> 

See 10.9 in F2003.

A value separator is

  (1) A comma optionally preceded by one or more contiguous blanks
      and optionally followed by one or more contiguous blanks,
      unless the decimal edit mode is COMMA, in which case a
      semicolon is used in place of the comma,

  (2) A slash optionally preceded by one or more contiguous blanks
      and optionally followed by one or more contiguous blanks, or

  (3) One or more contiguous blanks between two nonblank values
      or following the last nonblank value, where a nonblank value
      is a constant, an r *c form, or an r * form.

A '!' is not a valid separator for list-directed IO.

See 9.10.1 in F2003.

If an error condition occurs during execution of an input/output
statement that contains neither an ERR= nor IOSTAT= specifier,
execution of the program is terminated.

Reply via email to