https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101514
Bug ID: 101514 Summary: ICE: out of memory allocating 18446744073709551600 bytes Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Affects versions down to at least r5 : $ cat z1.f90 program p type t integer :: a(..) end type type(t) :: x print *, transfer(1, x) end $ cat z2.f90 program p type t integer :: a(..) end type type(t) :: x b = transfer(1, x) end $ gfortran-12-20210718 -c z1.f90 z1.f90:3:22: 3 | integer :: a(..) | 1 Error: Array component of structure at (1) must have an explicit shape f951: out of memory allocating 18446744073709551600 bytes after a total of 618496 bytes