https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106684
Bug ID: 106684
Summary: inconsistent array initialization
Product: gcc
Version: 10.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106684
--- Comment #2 from Jorn Bruggeman ---
I interpret the quoted F2018, 7.5.10 as "the same rules should govern
initialization of components of derived types and initialization of stand-alone
variables". That was previously (in 10.3, 11.2, and othe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106684
--- Comment #5 from Jorn Bruggeman ---
Thanks; it does look like older gfortran versions (and ifort) are too forgiving
here, and that, given the F2018 definition of "conformable", the latest
gfortran releases are correct.
As for "stand-alone" v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106684
--- Comment #7 from Jorn Bruggeman ---
None from me; thanks for the explanation!