pr64317.c: Compile for 32bit *-*-linux* targets.
authorUros Bizjak <ubizjak@gmail.com>
Fri, 6 Feb 2015 19:04:10 +0000 (20:04 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 6 Feb 2015 19:04:10 +0000 (20:04 +0100)
* gcc.target/i386/pr64317.c: Compile for 32bit *-*-linux* targets.
(dg-options): Use -fpie instead of -fPIE -pie.

From-SVN: r220484

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr64317.c

index d17c6727d4fc2d67fa6718df92334b30cac37341..36c49f7b3922c10e7d86c924ac370fc8348385ae 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/i386/pr64317.c: Compile for 32bit *-*-linux* targets.
+       (dg-options): Use -fpie instead of -fPIE -pie.
+
 2015-02-06  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/64937
index 46c3c6f6683cb6339691013e24f5c62df32298b4..33f5b5d7002daf6f0f1855f83ab9ecd0f549a707 100644 (file)
@@ -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" } } */