[Bug fortran/84387] Defined output does not work for a derived type that has no components

damian at sourceryinstitute dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 18 02:54:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #6 from Damian Rouson <damian at sourceryinstitute dot org> ---
I don't see anything in the standard related to the existence or non-existence
of components in derived-type output.  In case it helps, the NAG and Intel
compilers both print "Hello world!" with the submitted code, but the Cray
compiler prints nothing, which matches gfortran's behavior.  I'll contact Cray
technical support to see if they agree it's a bug.

--- Comment #7 from Damian Rouson <damian at sourceryinstitute dot org> ---
I don't see anything in the standard related to the existence or non-existence
of components in derived-type output.  In case it helps, the NAG and Intel
compilers both print "Hello world!" with the submitted code, but the Cray
compiler prints nothing, which matches gfortran's behavior.  I'll contact Cray
technical support to see if they agree it's a bug.


More information about the Gcc-bugs mailing list