From: Uros Bizjak Date: Fri, 6 Feb 2015 19:04:10 +0000 (+0100) Subject: pr64317.c: Compile for 32bit *-*-linux* targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=828be03ae9263c8ebb7f6478408091de4e8c4dd6;p=gcc.git pr64317.c: Compile for 32bit *-*-linux* targets. * gcc.target/i386/pr64317.c: Compile for 32bit *-*-linux* targets. (dg-options): Use -fpie instead of -fPIE -pie. From-SVN: r220484 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d17c6727d4f..36c49f7b392 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-02-06 Uros Bizjak + + * gcc.target/i386/pr64317.c: Compile for 32bit *-*-linux* targets. + (dg-options): Use -fpie instead of -fPIE -pie. + 2015-02-06 Jakub Jelinek PR middle-end/64937 diff --git a/gcc/testsuite/gcc.target/i386/pr64317.c b/gcc/testsuite/gcc.target/i386/pr64317.c index 46c3c6f6683..33f5b5d7002 100644 --- a/gcc/testsuite/gcc.target/i386/pr64317.c +++ b/gcc/testsuite/gcc.target/i386/pr64317.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { ia32 } } } */ -/* { dg-options "-O2 -fPIE -pie" } */ +/* { dg-do compile { target { *-*-linux* && ia32 } } } */ +/* { dg-options "-O2 -fpie" } */ /* { dg-final { scan-assembler "addl\[ \\t\]+\[$\]_GLOBAL_OFFSET_TABLE_, %ebx" } } */ /* { dg-final { scan-assembler "movl\[ \\t\]+c@GOT\[(\]%ebx\[)\]" } } */ /* { dg-final { scan-assembler-not "movl\[ \\t\]+\[0-9]+\[(\]%esp\[)\], %ebx" } } */