diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2005-12-08 01:26:45 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-12-08 01:26:45 +0000 |
commit | 9fecf303322bb431d409b5836e8bfce88b19d6bb (patch) | |
tree | 928cbb4603af8bc564d76a5345b58985de313c15 | |
parent | d3ca869a0a10689a97973517ba349283a79ba99b (diff) | |
download | gcc-9fecf303322bb431d409b5836e8bfce88b19d6bb.zip gcc-9fecf303322bb431d409b5836e8bfce88b19d6bb.tar.gz gcc-9fecf303322bb431d409b5836e8bfce88b19d6bb.tar.bz2 |
i386-1.C, [...]: Also test on x86_64.
2005-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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.
* gcc.dg/pr18928-1.c: Test on all targets supporting pic.
From-SVN: r108209
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/other/i386-1.C | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/990413-2.x | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr18928-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr18582-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/attributes-error.c | 3 |
6 files changed, 16 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2ba95ed..8d9986e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2005-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * 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. + + * gcc.dg/pr18928-1.c: Test on all targets supporting pic. + 2005-12-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de> PR c++/19397 diff --git a/gcc/testsuite/g++.dg/other/i386-1.C b/gcc/testsuite/g++.dg/other/i386-1.C index 5dc781f..8f03a33 100644 --- a/gcc/testsuite/g++.dg/other/i386-1.C +++ b/gcc/testsuite/g++.dg/other/i386-1.C @@ -1,5 +1,6 @@ -/* { dg-do run { target i?86-*-* } } */ +/* { dg-do run { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-march=pentium4" } */ +/* { dg-require-effective-target ilp32 } */ #include <xmmintrin.h> #include <stdio.h> diff --git a/gcc/testsuite/gcc.c-torture/execute/990413-2.x b/gcc/testsuite/gcc.c-torture/execute/990413-2.x index 039cece..58be1c0 100644 --- a/gcc/testsuite/gcc.c-torture/execute/990413-2.x +++ b/gcc/testsuite/gcc.c-torture/execute/990413-2.x @@ -1,3 +1,3 @@ # This test is x86 specific. -if { ! [istarget "i?86-*-*"] } { return 1 } -return 0 +if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } { return 0 } +return 1 diff --git a/gcc/testsuite/gcc.dg/pr18928-1.c b/gcc/testsuite/gcc.dg/pr18928-1.c index 3a0107d..406b2fc 100644 --- a/gcc/testsuite/gcc.dg/pr18928-1.c +++ b/gcc/testsuite/gcc.dg/pr18928-1.c @@ -1,5 +1,5 @@ /* PR rtl-optimization/18928 */ -/* { dg-do compile { target i?86-*-linux* } } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fPIC" } */ const char *toHex( unsigned short u ) diff --git a/gcc/testsuite/gcc.dg/torture/pr18582-1.c b/gcc/testsuite/gcc.dg/torture/pr18582-1.c index d222dab..6195939 100644 --- a/gcc/testsuite/gcc.dg/torture/pr18582-1.c +++ b/gcc/testsuite/gcc.dg/torture/pr18582-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-msse3" } */ typedef char v16qi __attribute__((vector_size (16))); typedef float v4sf __attribute__((vector_size (16))); diff --git a/gcc/testsuite/gcc.target/i386/attributes-error.c b/gcc/testsuite/gcc.target/i386/attributes-error.c index 05c2129..7dc2d95 100644 --- a/gcc/testsuite/gcc.target/i386/attributes-error.c +++ b/gcc/testsuite/gcc.target/i386/attributes-error.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target ilp32 } */ void foo1(int i, int j) __attribute__((fastcall, cdecl)); /* { dg-error "not compatible" } */ void foo2(int i, int j) __attribute__((fastcall, stdcall)); /* { dg-error "not compatible" } */ |