[Bug fortran/118750] [14/15 Regression] ICE on associate with elemental function with polymorphic array dummy argument

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 6 15:14:41 GMT 2025


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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60396|0                           |1
        is obsolete|                            |

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 60397
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60397&action=edit
Regression free patch

The previous version caused a number of regressions. This simpler version does
not. For some reason, setting sym->attr.dimension caused: Error: Component to
the right of a part reference with nonzero rank must not have the ALLOCATABLE
attribute at (1) in associate_64.f90 for example.

I will be submitting to the list shortly.

Paul


More information about the Gcc-bugs mailing list