aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/gcc.dg/20001013-1.c6
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4814385..41d9f3e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2002-03-25 Richard Henderson <rth@redhat.com>
+ * gcc.dg/20001013-1.c: Add -mcpu=ultrasparc. Only run on
+ sparcv9 systems.
+
* gcc.c-torture/compile/20011119-1.c (xxx): New.
* gcc.c-torture/compile/20011119-2.c (xxx): New.
diff --git a/gcc/testsuite/gcc.dg/20001013-1.c b/gcc/testsuite/gcc.dg/20001013-1.c
index f154cfd..163a262 100644
--- a/gcc/testsuite/gcc.dg/20001013-1.c
+++ b/gcc/testsuite/gcc.dg/20001013-1.c
@@ -1,5 +1,7 @@
-/* { dg-do run { target sparc*-*-* } } */
-/* { dg-options "-O2 -mvis" } */
+/* ??? It'd be nice to run this for sparc32 as well, if we could know
+ for sure that we're on an ultrasparc, rather than an older cpu. */
+/* { dg-do run { target sparcv9-*-* sparc64-*-* } } */
+/* { dg-options "-O2 -m32 -mcpu=ultrasparc -mvis" } */
int l;