https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80960
Bug ID: 80960 Summary: [regression since 4.9.2] gfortran crashes when compiling f90 file with msg "Out of memory: Kill process 538 (f951)" Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: nick_kuz at deom dot chph.ras.ru Target Milestone: --- Created attachment 41459 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41459&action=edit f90 source code for reproducing bug When compiling large f90 (see attach), compiler crashes with following message: "Out of memory: Kill process 538 (f951) score 962 or sacrifice child" REGRESSION: Older gfortran 4.9 at Debian Jessie 8 compiles this file without problem. reproduce bug condition: use attached f90 file and run options: gfortran -g0 -O2 -fdefault-integer-8 -c 'fe_objective.f90' SYSTEM details: gfortran: gcc version 6.3.0 20170516 (Debian 6.3.0-18) Linux System: Debian Stretch 9, latest updates 2017-06-02 ======== uname -a: Linux deb9virt 4.9.0-3-amd64 #1 SMP Debian 4.9.25-1 (2017-05-02) x86_64 GNU/Linux HW: guest linux box in virtualbox 4.3 host system: intel i5-4xxx, debian 8 Jessie