[Bug fortran/78848] [OOP] ICE on writing CLASS variable with non-typebound DTIO procedure

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 18 06:37:00 GMT 2016


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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
I think its invalid in that the type contains no object that could be written
or even allocated. Or at least the example makes no sense to me. Regardless it
ICEs so should it be an error, i dont know what it should say?

"Attempting to use an empty type" or "baseless type"

or if it is valid, it should compile nothing since there is nothing to print
with print *, z. What is it allocating? NIL?


More information about the Gcc-bugs mailing list