https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76490
Bug ID: 76490 Summary: when use -O2 -fcheck-founds compiler appears to hang and consumes all memory Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: urbanjost at comcast dot net Target Milestone: --- Routine that has compiled for years with gfortran 4.9.6 and older versions now hangs compiler when -O2 -fbound-checks is used. Running on Cygwin with 5.4.0 version. Reduced to simple test case. Might be duplicate of other reports of all memory being consumed but none seems to match exactly. Small test program wrapped in a bash(1) shell attached. ---------------------------