On Sat, Nov 15, 2014 at 11:46 AM, FX <fxcoud...@gmail.com> wrote:
> Don’t run gcc.target/i386/sibcall-1.c on PIC targets.
>
>
> 2014-11-15  Francois-Xavier Coudert  <fxcoud...@gcc.gnu.org>
>
>         PR target/60104
>         * gcc.target/i386/sibcall-1.c: Don't run on pic targets.
>
>
> Index: gcc.target/i386/sibcall-1.c
> ===================================================================
> --- gcc.target/i386/sibcall-1.c (revision 217599)
> +++ gcc.target/i386/sibcall-1.c (working copy)
> @@ -1,4 +1,4 @@
> -/* { dg-do compile { target ia32 } } */
> +/* { dg-do compile { target { ia32 && nonpic } } } */
>  /* { dg-options "-O2" } */
>
>  extern int (*foo)(int);
>

This looks wrong.  This test should pass for 64-bit or ia32 && nonpic.

-- 
H.J.

Reply via email to