From: Kaveh R. Ghazi Date: Sat, 10 Dec 2005 13:23:19 +0000 (+0000) Subject: re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64) X-Git-Tag: releases/gcc-4.2.0~5438 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bca15bc3c8e027593c999f97e8e57ee69468596;p=thirdparty%2Fgcc.git re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64) PR testsuite/20772 * g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C, g++.dg/ext/vector2.C, g++.dg/opt/longbranch2.C, g++.dg/opt/mmx1.C, g++.dg/opt/reg-stack4.C, gcc.dg/20020108-1.c, gcc.dg/20020122-2.c, gcc.dg/20020122-3.c, gcc.dg/20020206-1.c, gcc.dg/20020310-1.c, gcc.dg/20020411-1.c, gcc.dg/20020418-2.c, gcc.dg/20020426-2.c, gcc.dg/20020517-1.c, gcc.dg/20030204-1.c, gcc.dg/20030826-2.c, gcc.dg/20031202-1.c, gcc.dg/format/unnamed-1.c, gcc.dg/setjmp-2.c, gcc.dg/short-compare-1.c, gcc.dg/short-compare-2.c, gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c, gcc.dg/torture/fp-int-convert-float128-timode.c, gcc.dg/torture/fp-int-convert-float128.c, gcc.dg/torture/fp-int-convert-float80-timode.c, gcc.dg/torture/fp-int-convert-float80.c, gcc.dg/unroll-1.c, gcc.target/i386/20030926-1.c: Merge i?86 and x86_64 cases. * gcc.dg/tls/opt-1.c: Require effective target fpic. From-SVN: r108348 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2310b1552900..88cbc84e7545 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,23 @@ +2005-12-10 Kaveh R. Ghazi + + PR testsuite/20772 + * g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C, + g++.dg/ext/vector2.C, g++.dg/opt/longbranch2.C, g++.dg/opt/mmx1.C, + g++.dg/opt/reg-stack4.C, gcc.dg/20020108-1.c, gcc.dg/20020122-2.c, + gcc.dg/20020122-3.c, gcc.dg/20020206-1.c, gcc.dg/20020310-1.c, + gcc.dg/20020411-1.c, gcc.dg/20020418-2.c, gcc.dg/20020426-2.c, + gcc.dg/20020517-1.c, gcc.dg/20030204-1.c, gcc.dg/20030826-2.c, + gcc.dg/20031202-1.c, gcc.dg/format/unnamed-1.c, gcc.dg/setjmp-2.c, + gcc.dg/short-compare-1.c, gcc.dg/short-compare-2.c, + gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c, + gcc.dg/torture/fp-int-convert-float128-timode.c, + gcc.dg/torture/fp-int-convert-float128.c, + gcc.dg/torture/fp-int-convert-float80-timode.c, + gcc.dg/torture/fp-int-convert-float80.c, gcc.dg/unroll-1.c, + gcc.target/i386/20030926-1.c: Merge i?86 and x86_64 cases. + + * gcc.dg/tls/opt-1.c: Require effective target fpic. + 2005-12-10 Hans-Peter Nilsson * g++.old-deja/g++.other/comdat5.C: Gate on target fpic. @@ -85,6 +105,7 @@ 2005-12-07 Kaveh R. Ghazi + PR testsuite/20772 * g++.dg/other/i386-1.C, gcc.c-torture/execute/990413-2.x, gcc.dg/torture/pr18582-1.c, gcc.target/i386/attributes-error.c: Also test on x86_64. diff --git a/gcc/testsuite/g++.dg/abi/mangle24.C b/gcc/testsuite/g++.dg/abi/mangle24.C index b7c777bff528..16aa2ea8e592 100644 --- a/gcc/testsuite/g++.dg/abi/mangle24.C +++ b/gcc/testsuite/g++.dg/abi/mangle24.C @@ -5,8 +5,7 @@ // Origin: Joseph Myers // { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */ // { dg-options "" } */ -// { dg-options "-mmmx" { target { i?86-*-* && ilp32 } } } */ -// { dg-options "-mmmx" { target { x86_64-*-* && ilp32 } } } */ +// { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ // { dg-final { scan-assembler "_Z1fe" { target i?86-*-* x86_64-*-* } } } */ // { dg-final { scan-assembler "_Z1fe" { target { ia64-*-* && { ! "ia64-*-hpux*" } } } } } */ // { dg-final { scan-assembler "_Z1fu9__float80" { target ia64-*-hpux* } } } */ diff --git a/gcc/testsuite/g++.dg/abi/mangle25.C b/gcc/testsuite/g++.dg/abi/mangle25.C index d469f41c6b5d..b57b7dac83af 100644 --- a/gcc/testsuite/g++.dg/abi/mangle25.C +++ b/gcc/testsuite/g++.dg/abi/mangle25.C @@ -6,8 +6,7 @@ // Origin: Joseph Myers // { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */ // { dg-options "" } */ -// { dg-options "-mmmx" { target { i?86-*-* && ilp32 } } } */ -// { dg-options "-mmmx" { target { x86_64-*-* && ilp32 } } } */ +// { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ // { dg-final { scan-assembler "_Z1fg" { target i?86-*-* x86_64-*-* } } } */ // { dg-final { scan-assembler "_Z1fg" { target { ia64-*-* && { ! "ia64-*-hpux*" } } } } } */ // { dg-final { scan-assembler "_Z1fe" { target ia64-*-hpux* } } } */ diff --git a/gcc/testsuite/g++.dg/ext/vector2.C b/gcc/testsuite/g++.dg/ext/vector2.C index d93257b19699..27dabbd16ed3 100644 --- a/gcc/testsuite/g++.dg/ext/vector2.C +++ b/gcc/testsuite/g++.dg/ext/vector2.C @@ -1,7 +1,6 @@ // PR c++/23337; caused an ICE in component_ref_field_offset // { dg-options "" } -// { dg-options "-mmmx" { target { i?86-*-* && ilp32 } } } */ -// { dg-options "-mmmx" { target { x86_64-*-* && ilp32 } } } */ +// { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ typedef int vec __attribute__ ((vector_size (8))); extern int bar (vec); int diff --git a/gcc/testsuite/g++.dg/opt/longbranch2.C b/gcc/testsuite/g++.dg/opt/longbranch2.C index dbc8a1d94d23..f2a3a781788e 100644 --- a/gcc/testsuite/g++.dg/opt/longbranch2.C +++ b/gcc/testsuite/g++.dg/opt/longbranch2.C @@ -2,8 +2,7 @@ // Originator: thor@math.tu-berlin.de // { dg-do compile } -// { dg-options "-O3 -funroll-loops -mtune=k6 -fomit-frame-pointer" { target { i?86-*-* && ilp32 } } } -// { dg-options "-O3 -funroll-loops -mtune=k6 -fomit-frame-pointer" { target { x86_64-*-* && ilp32 } } } +// { dg-options "-O3 -funroll-loops -mtune=k6 -fomit-frame-pointer" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } // This used to fail to assemble because of an out-of-range 'loop' instructions. diff --git a/gcc/testsuite/g++.dg/opt/mmx1.C b/gcc/testsuite/g++.dg/opt/mmx1.C index f13b2f844af6..93e3fe7f8145 100644 --- a/gcc/testsuite/g++.dg/opt/mmx1.C +++ b/gcc/testsuite/g++.dg/opt/mmx1.C @@ -3,8 +3,7 @@ // mmx -> mmx register moves. // { dg-do compile } // { dg-options "-O2" } -// { dg-options "-fno-exceptions -O2 -mmmx -fPIC" { target { i?86-*-* && ilp32 } } } -// { dg-options "-fno-exceptions -O2 -mmmx -fPIC" { target { x86_64-*-* && ilp32 } } } +// { dg-options "-fno-exceptions -O2 -mmmx -fPIC" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } struct A { unsigned a0; diff --git a/gcc/testsuite/g++.dg/opt/reg-stack4.C b/gcc/testsuite/g++.dg/opt/reg-stack4.C index 9d52845db646..b1b7434163a8 100644 --- a/gcc/testsuite/g++.dg/opt/reg-stack4.C +++ b/gcc/testsuite/g++.dg/opt/reg-stack4.C @@ -5,8 +5,7 @@ // deleted a valid edge. // { dg-do compile } -// { dg-options "-mtune=i586 -O2" { target { i?86-*-* && ilp32 } } } -// { dg-options "-mtune=i586 -O2" { target { x86_64-*-* && ilp32 } } } +// { dg-options "-mtune=i586 -O2" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } struct array { double data; diff --git a/gcc/testsuite/gcc.dg/20020108-1.c b/gcc/testsuite/gcc.dg/20020108-1.c index 32d24fdca3e4..d61944c590ee 100644 --- a/gcc/testsuite/gcc.dg/20020108-1.c +++ b/gcc/testsuite/gcc.dg/20020108-1.c @@ -5,8 +5,7 @@ is not valid general_operand in HImode. */ /* { dg-do compile } */ /* { dg-options "-O2" } */ -/* { dg-options "-O2 -mtune=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -mtune=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ void diff --git a/gcc/testsuite/gcc.dg/20020122-2.c b/gcc/testsuite/gcc.dg/20020122-2.c index 5dca0dba4c46..275dceed7245 100644 --- a/gcc/testsuite/gcc.dg/20020122-2.c +++ b/gcc/testsuite/gcc.dg/20020122-2.c @@ -3,8 +3,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fprefetch-loop-arrays -w" } */ -/* { dg-options "-O2 -fprefetch-loop-arrays -march=athlon" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -fprefetch-loop-arrays -march=athlon" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -fprefetch-loop-arrays -march=athlon" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern int access( char* ); extern int a(); diff --git a/gcc/testsuite/gcc.dg/20020122-3.c b/gcc/testsuite/gcc.dg/20020122-3.c index bcf257527c08..28f68719ed19 100644 --- a/gcc/testsuite/gcc.dg/20020122-3.c +++ b/gcc/testsuite/gcc.dg/20020122-3.c @@ -4,8 +4,7 @@ /* { dg-do compile } */ /* { dg-options "-Os -fprefetch-loop-arrays -w" } */ -/* { dg-options "-Os -fprefetch-loop-arrays -mtune=pentium3 -w" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-Os -fprefetch-loop-arrays -mtune=pentium3 -w" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-Os -fprefetch-loop-arrays -mtune=pentium3 -w" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ int foo (int *p, int n) { diff --git a/gcc/testsuite/gcc.dg/20020206-1.c b/gcc/testsuite/gcc.dg/20020206-1.c index 26c36c43b8e2..837718b6c4c7 100644 --- a/gcc/testsuite/gcc.dg/20020206-1.c +++ b/gcc/testsuite/gcc.dg/20020206-1.c @@ -4,8 +4,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -fprefetch-loop-arrays -w" } */ -/* { dg-options "-O2 -fprefetch-loop-arrays -mtune=pentium3 -w" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -fprefetch-loop-arrays -mtune=pentium3 -w" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -fprefetch-loop-arrays -mtune=pentium3 -w" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ struct reload diff --git a/gcc/testsuite/gcc.dg/20020310-1.c b/gcc/testsuite/gcc.dg/20020310-1.c index 345199dcd726..bdd29672bd81 100644 --- a/gcc/testsuite/gcc.dg/20020310-1.c +++ b/gcc/testsuite/gcc.dg/20020310-1.c @@ -2,8 +2,7 @@ This testcase was miscompiled because of an rtx sharing bug. */ /* { dg-do run } */ /* { dg-options "-O2" } */ -/* { dg-options "-O2 -mtune=i586" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -mtune=i586" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -mtune=i586" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ struct A { diff --git a/gcc/testsuite/gcc.dg/20020411-1.c b/gcc/testsuite/gcc.dg/20020411-1.c index 8908c32afaf5..47a8fed50952 100644 --- a/gcc/testsuite/gcc.dg/20020411-1.c +++ b/gcc/testsuite/gcc.dg/20020411-1.c @@ -3,8 +3,7 @@ for its mode. */ /* { dg-do compile } */ /* { dg-options "-O2" } */ -/* { dg-options "-O2 -march=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -march=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -march=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ #if __INT_MAX__ > 32767 diff --git a/gcc/testsuite/gcc.dg/20020418-2.c b/gcc/testsuite/gcc.dg/20020418-2.c index 07722ce758f3..93688d270309 100644 --- a/gcc/testsuite/gcc.dg/20020418-2.c +++ b/gcc/testsuite/gcc.dg/20020418-2.c @@ -1,8 +1,7 @@ /* PR optimization/6010 */ /* { dg-do compile } */ /* { dg-options "-O2 -funroll-all-loops" } */ -/* { dg-options "-O2 -funroll-all-loops -march=pentium3" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -funroll-all-loops -march=pentium3" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -funroll-all-loops -march=pentium3" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ void bar (float); diff --git a/gcc/testsuite/gcc.dg/20020426-2.c b/gcc/testsuite/gcc.dg/20020426-2.c index 6bb53cf598cf..095cf51790d7 100644 --- a/gcc/testsuite/gcc.dg/20020426-2.c +++ b/gcc/testsuite/gcc.dg/20020426-2.c @@ -2,8 +2,7 @@ Distilled from zlib sources. */ /* { dg-do run } */ /* { dg-options "-O2" } */ -/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */ extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/20020517-1.c b/gcc/testsuite/gcc.dg/20020517-1.c index bde20095594b..032ccd23b512 100644 --- a/gcc/testsuite/gcc.dg/20020517-1.c +++ b/gcc/testsuite/gcc.dg/20020517-1.c @@ -2,8 +2,7 @@ was not sign-extended for QImode. */ /* { dg-do run } */ /* { dg-options "-O2" } */ -/* { dg-options "-O2 -mtune=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -mtune=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ #include diff --git a/gcc/testsuite/gcc.dg/20030204-1.c b/gcc/testsuite/gcc.dg/20030204-1.c index 0d4286c08cf7..701ded28cb7f 100644 --- a/gcc/testsuite/gcc.dg/20030204-1.c +++ b/gcc/testsuite/gcc.dg/20030204-1.c @@ -1,8 +1,7 @@ /* PR optimization/8555 */ /* { dg-do compile } */ /* { dg-options "-O -ffast-math -funroll-loops" } */ -/* { dg-options "-march=pentium3 -O -ffast-math -funroll-loops" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-march=pentium3 -O -ffast-math -funroll-loops" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-march=pentium3 -O -ffast-math -funroll-loops" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ float foo (float *a, int i) diff --git a/gcc/testsuite/gcc.dg/20030826-2.c b/gcc/testsuite/gcc.dg/20030826-2.c index 6ad7e9a12926..32db09195273 100644 --- a/gcc/testsuite/gcc.dg/20030826-2.c +++ b/gcc/testsuite/gcc.dg/20030826-2.c @@ -1,7 +1,6 @@ /* { dg-do run } */ /* { dg-options "-O2 -fomit-frame-pointer" } */ -/* { dg-options "-O2 -fomit-frame-pointer -march=i386" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -fomit-frame-pointer -march=i386" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -fomit-frame-pointer -march=i386" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern void abort (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/20031202-1.c b/gcc/testsuite/gcc.dg/20031202-1.c index 4290f86889b5..c7fbfe52404d 100644 --- a/gcc/testsuite/gcc.dg/20031202-1.c +++ b/gcc/testsuite/gcc.dg/20031202-1.c @@ -1,7 +1,6 @@ /* { dg-do run } */ /* { dg-options "-O2" } */ -/* { dg-options "-O2 -mtune=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -mtune=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern void abort (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/format/unnamed-1.c b/gcc/testsuite/gcc.dg/format/unnamed-1.c index 11a7de0050f3..2d4f77cc3152 100644 --- a/gcc/testsuite/gcc.dg/format/unnamed-1.c +++ b/gcc/testsuite/gcc.dg/format/unnamed-1.c @@ -2,8 +2,8 @@ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-options "-Wformat" } */ -/* { dg-options "-Wformat -msse" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-Wformat -msse" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-Wformat -msse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ + #include "format.h" diff --git a/gcc/testsuite/gcc.dg/setjmp-2.c b/gcc/testsuite/gcc.dg/setjmp-2.c index b44ac666145f..8ad874d522cc 100644 --- a/gcc/testsuite/gcc.dg/setjmp-2.c +++ b/gcc/testsuite/gcc.dg/setjmp-2.c @@ -1,9 +1,8 @@ /* PR middle-end/17813 */ /* Origin: Tom Hughes */ /* { dg-do run { target i?86-*-linux* x86_64-*-linux* } } */ -/* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O -fomit-frame-pointer -march=i386" { target { i?86-*-linux* && ilp32 } } } */ -/* { dg-options "-O -fomit-frame-pointer -march=i386" { target { x86_64-*-linux* && ilp32 } } } */ +/* { dg-options "-O -fomit-frame-pointer" } */ +/* { dg-options "-O -fomit-frame-pointer -march=i386" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ #include #include diff --git a/gcc/testsuite/gcc.dg/short-compare-1.c b/gcc/testsuite/gcc.dg/short-compare-1.c index 8c02a893347b..4c470529bc70 100644 --- a/gcc/testsuite/gcc.dg/short-compare-1.c +++ b/gcc/testsuite/gcc.dg/short-compare-1.c @@ -3,8 +3,7 @@ /* { dg-do run } */ /* { dg-options "-O" } */ -/* { dg-options "-O -mtune=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O -mtune=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern void abort(void); diff --git a/gcc/testsuite/gcc.dg/short-compare-2.c b/gcc/testsuite/gcc.dg/short-compare-2.c index 1c2192e821a8..0026a88c1ff7 100644 --- a/gcc/testsuite/gcc.dg/short-compare-2.c +++ b/gcc/testsuite/gcc.dg/short-compare-2.c @@ -4,8 +4,7 @@ /* { dg-do run } */ /* { dg-options "-O" } */ -/* { dg-options "-O -mtune=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O -mtune=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern void abort(); diff --git a/gcc/testsuite/gcc.dg/tls/opt-1.c b/gcc/testsuite/gcc.dg/tls/opt-1.c index 5bada6e09299..f9399e04a88e 100644 --- a/gcc/testsuite/gcc.dg/tls/opt-1.c +++ b/gcc/testsuite/gcc.dg/tls/opt-1.c @@ -1,8 +1,8 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fPIC" } */ -/* { dg-options "-O2 -fPIC -mtune=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -fPIC -mtune=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -fPIC -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-require-effective-target tls } */ +/* { dg-require-effective-target fpic } */ extern __thread int thr; diff --git a/gcc/testsuite/gcc.dg/tls/opt-2.c b/gcc/testsuite/gcc.dg/tls/opt-2.c index fd781ebabd14..b4cabd483478 100644 --- a/gcc/testsuite/gcc.dg/tls/opt-2.c +++ b/gcc/testsuite/gcc.dg/tls/opt-2.c @@ -4,8 +4,7 @@ on IA-32. */ /* { dg-do link } */ /* { dg-options "-O2 -ftls-model=initial-exec" } */ -/* { dg-options "-O2 -ftls-model=initial-exec -march=i686" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -ftls-model=initial-exec -march=i686" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -ftls-model=initial-exec -march=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ /* { dg-require-effective-target tls } */ __thread int thr; diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128-timode.c b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128-timode.c index e9538318f69d..11fa200781f6 100644 --- a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128-timode.c +++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128-timode.c @@ -4,8 +4,7 @@ /* { dg-xfail-if "" { i?86-*-* x86_64-*-* } { "*" } { "" } } */ /* { dg-xfail-if "" { ia64-*-* && lp64 } { "*" } { "" } } */ /* { dg-options "" } */ -/* { dg-options "-mmmx" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-mmmx" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ #include "fp-int-convert.h" diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c index a78f6862e695..9d610c1cb2b9 100644 --- a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c +++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c @@ -3,8 +3,7 @@ /* { dg-do run { target i?86-*-* x86_64-*-* ia64-*-* } } */ /* { dg-xfail-if "" { i?86-*-* x86_64-*-* } { "*" } { "" } } */ /* { dg-options "" } */ -/* { dg-options "-mmmx" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-mmmx" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ #include "fp-int-convert.h" diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float80-timode.c b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float80-timode.c index e9436ba5ed47..5b9bb706c0a9 100644 --- a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float80-timode.c +++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float80-timode.c @@ -2,8 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do run { target i?86-*-* x86_64-*-* ia64-*-* } } */ /* { dg-options "" } */ -/* { dg-options "-mmmx" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-mmmx" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ #include "fp-int-convert.h" diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float80.c b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float80.c index 13a924332634..e2b587c0cbaf 100644 --- a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float80.c +++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float80.c @@ -2,8 +2,7 @@ /* Origin: Joseph Myers */ /* { dg-do run { target i?86-*-* x86_64-*-* ia64-*-* } } */ /* { dg-options "" } */ -/* { dg-options "-mmmx" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-mmmx" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ #include "fp-int-convert.h" diff --git a/gcc/testsuite/gcc.dg/unroll-1.c b/gcc/testsuite/gcc.dg/unroll-1.c index 7b09cd1d209b..5ff07e21e81c 100644 --- a/gcc/testsuite/gcc.dg/unroll-1.c +++ b/gcc/testsuite/gcc.dg/unroll-1.c @@ -1,8 +1,7 @@ /* PR optimization/8599 */ /* { dg-do run } */ /* { dg-options "-O2 -funroll-loops" } */ -/* { dg-options "-mtune=k6 -O2 -funroll-loops" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-mtune=k6 -O2 -funroll-loops" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-mtune=k6 -O2 -funroll-loops" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.target/i386/20030926-1.c b/gcc/testsuite/gcc.target/i386/20030926-1.c index 866ebb808d54..8f81f31361cc 100644 --- a/gcc/testsuite/gcc.target/i386/20030926-1.c +++ b/gcc/testsuite/gcc.target/i386/20030926-1.c @@ -1,8 +1,7 @@ /* PR optimization/11741 */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -minline-all-stringops" } */ -/* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target { i?86-*-* && ilp32 } } } */ -/* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target { x86_64-*-* && ilp32 } } } */ +/* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern void *memcpy (void *, const void *, __SIZE_TYPE__); extern __SIZE_TYPE__ strlen (const char *);