[Bug fortran/69395] ICE on declaring array with more than 7 dimensions+codimensions

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 14 22:04:00 GMT 2018


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

kargl at gcc dot gnu.org changed:

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

--- Comment #4 from kargl at gcc dot gnu.org ---
The problem is in decl.c (merge_array_spec).  There is
no check for rank+corank >= 15.  So, gfortran tries merging
2 array specs that exceed the static memory.


More information about the Gcc-bugs mailing list