summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-08 01:26:45 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-08 01:26:45 +0000
commit3df3a202d7e51a69f285879579ee4bfa859c26c6 (patch)
tree928cbb4603af8bc564d76a5345b58985de313c15
parent99c6ce2ca4755a24fcd9a047c27aab308b7f3467 (diff)
downloadppe42-gcc-3df3a202d7e51a69f285879579ee4bfa859c26c6.tar.gz
ppe42-gcc-3df3a202d7e51a69f285879579ee4bfa859c26c6.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108209 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/g++.dg/other/i386-1.C3
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/990413-2.x4
-rw-r--r--gcc/testsuite/gcc.dg/pr18928-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr18582-1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/attributes-error.c3
6 files changed, 16 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2ba95edd529..8d9986ec6e7 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 5dc781fbe3e..8f03a33f208 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 039cecea4aa..58be1c0e097 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 3a0107deefa..406b2fcabbd 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 d222dabd415..6195939053e 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 05c21299ac5..7dc2d95f108 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" } */
OpenPOWER on IntegriCloud