diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2007-04-03 19:17:35 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2007-04-03 19:17:35 +0200 |
commit | e1584860ef437d6ae77a1ff001f41763077dc934 (patch) | |
tree | 3a8ba1fdaa482a0e8e8563b3fb232fb4e115da24 | |
parent | fdd84500aecd4edcab10770d77f28c602b618359 (diff) | |
download | gcc-e1584860ef437d6ae77a1ff001f41763077dc934.zip gcc-e1584860ef437d6ae77a1ff001f41763077dc934.tar.gz gcc-e1584860ef437d6ae77a1ff001f41763077dc934.tar.bz2 |
opt-3.c: Use -mregparm=3 only for ilp32 on x86_64 targets.
* gcc.dg/tls/opt-3.c: Use -mregparm=3 only for ilp32 on x86_64 targets.
From-SVN: r123479
-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 74691d2..1f3c024 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 0bec530..dd37dbc 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 } */ |