From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18096 invoked by alias); 6 Feb 2013 16:44:31 -0000 Received: (qmail 16330 invoked by uid 48); 6 Feb 2013 16:43:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/56228] New: [4.8 Regression] Indirect call fails to assemble Date: Wed, 06 Feb 2013 16:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2013-02/txt/msg00553.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56228 Bug #: 56228 Summary: [4.8 Regression] Indirect call fails to assemble Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: jakub@gcc.gnu.org ReportedBy: jakub@gcc.gnu.org Target: powerpc64-linux short a[14] = { 1, 2 }; short b[15] = { 3, 4 }; int foo () { void (*fna) (void) = (void (*) (void)) a; void (*fnb) (void) = (void (*) (void)) b; fna (); fnb (); return a[1] == b[1]; } fails on ppc64, because call_indirect_aix64bit pattern uses "m" constraint for 64-bit loads instead of "Y" constraint.