diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-03 17:17:35 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-03 17:17:35 +0000 |
commit | f513cec0a4bd08180c33a95b6d4c13ae3108c7be (patch) | |
tree | 3a8ba1fdaa482a0e8e8563b3fb232fb4e115da24 | |
parent | a4521f7eeff392adcac2bcb42c6131cf39e02705 (diff) | |
download | gcc-f513cec0a4bd08180c33a95b6d4c13ae3108c7be.tar.gz |
* gcc.dg/tls/opt-3.c: Use -mregparm=3 only for ilp32 on x86_64 targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123479 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tls/opt-3.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 74691d270a6..1f3c024cbb3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-04-03 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/tls/opt-3.c: Use -mregparm=3 only for ilp32 on x86_64 targets. + 2007-04-03 Jakub Jelinek <jakub@redhat.com> PR c++/30847 diff --git a/gcc/testsuite/gcc.dg/tls/opt-3.c b/gcc/testsuite/gcc.dg/tls/opt-3.c index 0bec5303c28..dd37dbc828a 100644 --- a/gcc/testsuite/gcc.dg/tls/opt-3.c +++ b/gcc/testsuite/gcc.dg/tls/opt-3.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fpic" } */ -/* { dg-options "-O2 -fpic -mregparm=3" { target i?86-*-* x86_64-*-* } } */ +/* { dg-options "-O2 -fpic -mregparm=3" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-require-effective-target tls } */ /* { dg-require-effective-target fpic } */ |