[Bug fortran/82086] namelist read with repeat count fails when item is member of array of structures
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Mon Jan 29 21:26:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82086
--- Comment #8 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to jsberg from comment #7)
> As to why I think this is a bug (and why I think Intel's compiler is doing
> the right thing), referencing the 2008 standard (N1830):
In the F2018 DIS (N2146) the corresponding section is 13.11. It appears
to have been heavily reorganized, but AFAICT from a first glance it is
quite similar.
E.g.
> 10.11.3.2, paragraph 2:
>
> When the designator in the input record represents an array variable or a
> variable of derived type, the effect is as if the variable represented were
> expanded into a sequence of scalar list items, in the same way that formatted
> input/output list items are expanded (9.6.3).
is now 13.11.3.2, paragraph 2.
> 10.11.3.3, paragraph 1:
>
> ... The r*c form is equivalent to r successive appearances of the constant c
There's some change in wording here in 13.11.3.3, paragraph 1, explaining
the r* form for multiple null values.
More information about the Gcc-bugs
mailing list