https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72851
Bug ID: 72851 Summary: [6/7 Regression] memory hog with -O3 on s390x-linux-gnu Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- Created attachment 39087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39087&action=edit preprocessed source seen with the gcc-6-branch and trunk 20160804 gcc -g -O3 -std=c99 -fPIC -pthread -c des.i allocates all available memory, and then is killed. Workaround is to build with -O2.