http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48331
Summary: [4.7 Regression] gcc.c-torture/execute/built-in-setjmp.c FAILs with -O -fira-algorithm=priority -fPIC Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Created attachment 23797 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23797 reduced testcase Output: $ gcc -O -fira-algorithm=priority -fPIC testcase.c $ valgrind -q ./a.out ==1889== Use of uninitialised value of size 8 ==1889== at 0x400599: sub2 (testcase.c:6) ==1889== by 0x4E4EB6C: (below main) (in /lib64/libc-2.11.3.so) ==1889== ==1889== Jump to the invalid address stated on the next line ==1889== at 0x0: ??? ==1889== by 0x4E4EB6C: (below main) (in /lib64/libc-2.11.3.so) ==1889== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1889== ==1889== ==1889== Process terminating with default action of signal 11 (SIGSEGV) ==1889== Bad permissions for mapped region at address 0x0 ==1889== at 0x0: ??? ==1889== by 0x4E4EB6C: (below main) (in /lib64/libc-2.11.3.so) Segmentation fault Tested revisions: r171653 - fail r171626 - OK