[Bug fortran/80009] Printing/writing a structure with a real edit descriptor.
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 12 20:28:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80009
--- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Walt Brainerd from comment #1)
> Forgot to add:
>
> Pls see F08 std 9.6.3(7) 2nd bullet
I see:
BULLET: If a list item of derived type in a formatted input/output statement is
not processed by a defined input/output procedure, that list item is treated as
if all of the components of the list item were specified in the list in
component order; those components shall be accessible in the scoping unit
containing the
input/output statement and shall not be pointers or allocatable.
In your case you have provided a defined output procedure. So this is what it
is trying to do. see 'if' ... 'not processed by' above.
Do I have the right place in the standard you were looking at? Maybe we are not
interpreting that correctly?
More information about the Gcc-bugs
mailing list