[Bug fortran/68439] ICE in alloc_scalar_allocatable_for_subcomponent_assignment, at fortran/trans-expr.c:6711

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Thu Dec 8 17:50:00 GMT 2016


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

Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---

Should compile with no error, it's legal F2008 :
If an allocatable component has no corresponding component-data-source,
then that component has an allocation status of unallocated.

Because this ICE is gone and runtime behaviour is similar to that
described in pr68225, it can now be regarded as a subcase/duplicate.

*** This bug has been marked as a duplicate of bug 68225 ***


More information about the Gcc-bugs mailing list