[Bug libfortran/69651] [6 Regession] Usage of unitialized pointer io/list_read.c
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 13 22:36:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69651
--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to kargl from comment #10)
> (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.
Yep, I found it too. Fixing it.
More information about the Gcc-bugs
mailing list