From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1831 invoked by alias); 21 Oct 2012 05:25:26 -0000 Received: (qmail 1512 invoked by uid 48); 21 Oct 2012 05:25:03 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/55005] New: [4.8 Regression] gcc.c-torture/execute/loop-3.c FAILs with -fPIC Date: Sun, 21 Oct 2012 05:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-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 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: 2012-10/txt/msg01855.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55005 Bug #: 55005 Summary: [4.8 Regression] gcc.c-torture/execute/loop-3.c FAILs with -fPIC Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: zsojka@seznam.cz Created attachment 28498 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28498 reduced testcase There are various compiler flags that cause the FAIL. Output: $ gcc -O3 -fPIC testcase.c && ./a.out Aborted $ gcc -O2 -funroll-loops -fPIC testcase.c && ./a.out Aborted $ gcc -O2 -fpeel-loops -fPIC testcase.c && ./a.out Aborted $ gcc -O2 -flto -fPIC testcase.c && ./a.out Aborted Tested revisions: r192641 - fail r191586 - OK 4.7 r191640 - OK