From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18635 invoked by alias); 29 Mar 2011 11:45:19 -0000 Received: (qmail 18606 invoked by uid 22791); 29 Mar 2011 11:45:18 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Mar 2011 11:45:11 +0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/48331] New: [4.7 Regression] gcc.c-torture/execute/built-in-setjmp.c FAILs with -O -fira-algorithm=priority -fPIC X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 29 Mar 2011 12:10:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg02982.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: zsojka@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