http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55005



--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2012-10-21 12:14:59 
UTC ---

This isn't the only testcase that started failing recently.



One interesting flag combination:

$ gcc -O2 -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce testcase.c && ./a.out

Segmentation fault



In this case, the body of main() isn't generated at all, so the code runs away

immediatelly after jumping to main().



main:

.LFB2:

    .cfi_startproc

    .cfi_endproc

.LFE2:

    .size    main, .-main

Reply via email to