From: Uros Bizjak Date: Tue, 3 Apr 2007 17:17:35 +0000 (+0200) Subject: opt-3.c: Use -mregparm=3 only for ilp32 on x86_64 targets. X-Git-Tag: releases/gcc-4.3.0~5889 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1584860ef437d6ae77a1ff001f41763077dc934;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 74691d270a66..1f3c024cbb3d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-04-03 Uros Bizjak + + * gcc.dg/tls/opt-3.c: Use -mregparm=3 only for ilp32 on x86_64 targets. + 2007-04-03 Jakub Jelinek PR c++/30847 diff --git a/gcc/testsuite/gcc.dg/tls/opt-3.c b/gcc/testsuite/gcc.dg/tls/opt-3.c index 0bec5303c282..dd37dbc828a9 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 } */