diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2015-02-06 20:04:10 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2015-02-06 20:04:10 +0100 |
commit | 828be03ae9263c8ebb7f6478408091de4e8c4dd6 (patch) | |
tree | 6b31951201db033c99d9eb12bd67373b358bfc6e | |
parent | 62276744cea11dfed2d327eab10006d46b2f0f84 (diff) | |
download | gcc-828be03ae9263c8ebb7f6478408091de4e8c4dd6.zip gcc-828be03ae9263c8ebb7f6478408091de4e8c4dd6.tar.gz gcc-828be03ae9263c8ebb7f6478408091de4e8c4dd6.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr64317.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d17c672..36c49f7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.target/i386/pr64317.c b/gcc/testsuite/gcc.target/i386/pr64317.c index 46c3c6f..33f5b5d 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" } } */ |