[Bug fortran/104048] ICE with recursively defined derived type

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 10:34:04 GMT 2022


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |pault at gcc dot gnu.org

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r7-4096-gbf9f15ee55f5b291, it was rejected before the revision
with:

Error: Derived type at (1) has not been previously defined and so cannot appear
in a derived type definition
pr104048.f90:10:17:

     res%left_view  = arg
                 1
Error: ‘left_view’ at (1) is not a member of the ‘tt’ structure


More information about the Gcc-bugs mailing list