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
This commit is contained in:
Uros Bizjak 2007-04-03 19:17:35 +02:00 committed by Uros Bizjak
parent fdd84500ae
commit e1584860ef
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 } */