https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78460
Bug ID: 78460 Summary: [7 Regression] [SH] OOM building glibc string tst-cmp.c Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org Target Milestone: --- Target: sh4-linux-gnu Created attachment 40105 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40105&action=edit preprocessed source GCC mainline built for sh4-linux-gnu runs out of memory building string/tst-cmp.c. The symptom observed is that cc1's memory usage goes up by a bit under 1GB a second until it's killed after exhausting memory and swap (on a system with 128GB of each). Compile with: sh4-glibc-linux-gnu-gcc -S tst-cmp.i -fno-isolate-erroneous-paths-dereference -fno-isolate-erroneous-paths-attribute -std=gnu11 -fgnu89-inline -O2 -fmerge-all-constants -g Preprocessed source attached.