When running the 3.4 or mainline testsuite with -fpic or -fPIC on i686-pc-linux-
gnu I get an extra failure in:

FAIL: gcc.dg/sibcall-6.c execution test

The problem is that the sibcall in question isn't getting optimized.  I tried 
adding "static" to foo and bar in the testcase but that didn't help.

Is there a way to rewrite the test such that it passes with -fpic/-fPIC or 
should the test be bypassed?

-- 
           Summary: [3.4/4.0] failure in gcc.dg/sibcall-6.c with -fpic/-fPIC
                    on i686-pc-linux-gnu
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19278

Reply via email to