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

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 17 03:15:00 GMT 2018


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

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Looking at our -fdump-tree-original, since the derived type contains nothing we
are not building any call to output anything.

>From a practical point of view its a nonsensical case and one could argue to
not bother with this one.

>From a pedantic point of view (or perhaps academic) maybe we should create an
empty call so the user defined procedure gets called.  Very interesting and a
frontend related question.


More information about the Gcc-bugs mailing list