https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65515
Bug ID: 65515 Summary: [5 Regression] FAIL: gcc.c-torture/compile/limits-fndefn.c -O2 -flto -flto-partition=none (ICE) -- SIGSEGV for stack growth failure Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ -fno-diagnostics -show-caret -fdiagnostics-color=never -O2 -flto -flto-partition=none -w -c -o li mits-fndefn.o /test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/limits-fndef n.c ^MPid 26539 received a SIGSEGV for stack growth failure.^MPossible causes: insufficient memory or swap space,^Mor stack size exceeded maxssiz. ^M xgcc: internal compiler error: Segmentation fault (program cc1)Please submit a full bug report,with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: ^M Pid 26539 received a SIGSEGV for stack growth failure.^M Possible causes: insufficient memory or swap space,^M or stack size exceeded maxssiz. ^M xgcc: internal compiler error: Segmentation fault (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: gcc.c-torture/compile/limits-fndefn.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.c-torture/compile/limits-fndefn.c -O2 -flto -flto-partition=none (test for excess errors) Excess errors: Pid 26539 received a SIGSEGV for stack growth failure. Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz. xgcc: internal compiler error: Segmentation fault (program cc1) Similar fails: FAIL: gcc.c-torture/compile/limits-fndefn.c -O2 -flto (internal compiler error) FAIL: gcc.c-torture/compile/limits-fndefn.c -O2 -flto (test for excess errors) This is with 16 MB stack: # ulimit -s 16384 On hppa-linux, I've had to use a 32 MB stack to keep some tests from failing. I marked this as a regression since r221487 and before didn't fail.