[Bug fortran/66709] ICE on formatted io with parameter array specifier fmt
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 25 11:56:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66709
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu.org
--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
From the F2009 standard:
If the format is a character array, it is treated as if all of the elements of
the array were specified in array element
order and were concatenated. However, if a format is a character array element,
the format specification shall be
entirely within that array element.
So, we need a concatenation of the array elements. Sounds entirely doable.
Jerry, if you want me to do it, just say so.
More information about the Gcc-bugs
mailing list