Hello! 2015-02-06 Uros Bizjak <ubiz...@gmail.com>
* gcc.target/i386/pr64317.c: Compile for 32bit *-*-linux* targets. (dg-options): Use -fpie instead of -fPIE -pie. Tested on x86_64-linux-gnu {,m32}, committed to mainline SVN. Uros.
Index: gcc.target/i386/pr64317.c =================================================================== --- gcc.target/i386/pr64317.c (revision 220481) +++ gcc.target/i386/pr64317.c (working copy) @@ -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" } } */