https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126153

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Reduction abandoned. Failure to make progress with cvise.

OTOH, running the code under valgrind shows:

foundBugs $ ~/gcc/results/bin/gcc -w -O3  -ftrivial-auto-var-init=zero
bug1227.c 
foundBugs $ valgrind -q ./a.out 1
==2253653== Stack overflow in thread #1: can't grow stack to 0x1ffe801000
==2253653== 
==2253653== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==2253653==  Access not within mapped region at address 0x1FFE801FC8
==2253653== Stack overflow in thread #1: can't grow stack to 0x1ffe801000
==2253653==    at 0x48B760B: (below main) (libc_start_call_main.h:30)
==2253653==  If you believe this happened as a result of a stack
==2253653==  overflow in your program's main thread (unlikely but
==2253653==  possible), you can try to increase the size of the
==2253653==  main thread stack using the --main-stacksize= flag.
==2253653==  The main thread stack size used in this run was 8388608.
Segmentation fault         (core dumped) valgrind -q ./a.out 1
foundBugs $

Reply via email to