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: ja...@gcc.gnu.org

        ReportedBy: ja...@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.

Reply via email to