aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRask Ingemann Lambertsen <rask@sygehus.dk>2007-07-16 21:57:22 +0200
committerRask Ingemann Lambertsen <rask@gcc.gnu.org>2007-07-16 19:57:22 +0000
commit19b493f7145a2e096936cd9e0a6d41beb1fc2924 (patch)
tree68f9078f63d6642f304e62161055ed80a2182cce
parent55637e51b5d81cd3ceb51ec5d236a745e41c7bbc (diff)
downloadgcc-19b493f7145a2e096936cd9e0a6d41beb1fc2924.zip
gcc-19b493f7145a2e096936cd9e0a6d41beb1fc2924.tar.gz
gcc-19b493f7145a2e096936cd9e0a6d41beb1fc2924.tar.bz2
ltrans-5.c: Only run test on targets which support large arrays.
2007-07-16 Rask Ingemann Lambertsen <rask@sygehus.dk> * gcc.dg/tree-ssa/ltrans-5.c: Only run test on targets which support large arrays. * gcc.dg/pr27959.c: Only run test if an int is at least 32 bits wide. * gcc.dg/20061109-1.c: Likewise. * gcc.c-torture/execute/20061101-1.x: Likewise. * gcc.c-torture/execute/pr29797-1.x: Likewise. * gcc.c-torture/execute/pr31448.x: Likewise. From-SVN: r126691
-rw-r--r--gcc/testsuite/ChangeLog10
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20061101-1.x7
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr29797-1.x7
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr31448.x7
-rw-r--r--gcc/testsuite/gcc.dg/20061109-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr27959.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ltrans-5.c2
7 files changed, 34 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c025a08..0399c6f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+2007-07-16 Rask Ingemann Lambertsen <rask@sygehus.dk>
+
+ * gcc.dg/tree-ssa/ltrans-5.c: Only run test on targets which
+ support large arrays.
+ * gcc.dg/pr27959.c: Only run test if an int is at least 32 bits wide.
+ * gcc.dg/20061109-1.c: Likewise.
+ * gcc.c-torture/execute/20061101-1.x: Likewise.
+ * gcc.c-torture/execute/pr29797-1.x: Likewise.
+ * gcc.c-torture/execute/pr31448.x: Likewise.
+
2007-07-16 Lee Millward <lee.millward@gmail.com>
* gfortran.dg/cmplx_intrinsic_1.f90: New test.
diff --git a/gcc/testsuite/gcc.c-torture/execute/20061101-1.x b/gcc/testsuite/gcc.c-torture/execute/20061101-1.x
new file mode 100644
index 0000000..4efed4c
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/20061101-1.x
@@ -0,0 +1,7 @@
+load_lib target-supports.exp
+
+if { [check_effective_target_int32plus] } {
+ return 0
+}
+
+return 1;
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr29797-1.x b/gcc/testsuite/gcc.c-torture/execute/pr29797-1.x
new file mode 100644
index 0000000..4efed4c
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/pr29797-1.x
@@ -0,0 +1,7 @@
+load_lib target-supports.exp
+
+if { [check_effective_target_int32plus] } {
+ return 0
+}
+
+return 1;
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr31448.x b/gcc/testsuite/gcc.c-torture/execute/pr31448.x
new file mode 100644
index 0000000..4efed4c
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/pr31448.x
@@ -0,0 +1,7 @@
+load_lib target-supports.exp
+
+if { [check_effective_target_int32plus] } {
+ return 0
+}
+
+return 1;
diff --git a/gcc/testsuite/gcc.dg/20061109-1.c b/gcc/testsuite/gcc.dg/20061109-1.c
index 70ee36d..2ba30bf 100644
--- a/gcc/testsuite/gcc.dg/20061109-1.c
+++ b/gcc/testsuite/gcc.dg/20061109-1.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target { int32plus } } } */
/* { dg-options "-O1" } */
/* This assignment might be implemented with a mem copy from the
diff --git a/gcc/testsuite/gcc.dg/pr27959.c b/gcc/testsuite/gcc.dg/pr27959.c
index 7118aec..f1fdda1 100644
--- a/gcc/testsuite/gcc.dg/pr27959.c
+++ b/gcc/testsuite/gcc.dg/pr27959.c
@@ -1,5 +1,5 @@
/* PR middle-end/27959 */
-/* { dg-do run } */
+/* { dg-do run { target { int32plus } } } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mtune=z990" { target s390*-*-* } } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ltrans-5.c b/gcc/testsuite/gcc.dg/tree-ssa/ltrans-5.c
index fae44d5..2f64925 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ltrans-5.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ltrans-5.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target { size32plus } } } */
/* { dg-options "-O2 -ftree-loop-linear -fdump-tree-ltrans-all" } */
int foo ()