https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104227
Bug ID: 104227 Summary: [9/10/11/12 Regression] ICE virtual memory exhausted: Cannot allocate memory 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 r8, changed between 20190208 and 20190308 : (follow-up of pr101514) $ cat z1.f90 program p type t end type type(t) :: x(2) print *, transfer(1, x) end $ cat z2.f90 program p type t end type type(t) :: x(2) x = transfer(1, x) end $ gfortran-12-20220123 -c z1.f90 virtual memory exhausted: Cannot allocate memory $ gfortran-12-20220123 -c z2.f90 GNU MP: Cannot allocate memory (size=8) f951: internal compiler error: Aborted mmap: Cannot allocate memory $ gfortran-12-20220123-chk -c z1.f90 # ulimits set GNU MP: Cannot allocate memory (size=8) f951: out of memory allocating 139 bytes after a total of 1494507520 bytes