aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-26 17:23:35 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-26 17:23:35 -0800
commit6a3177b9fb7894cf88b34e5ec541aec70317f28c (patch)
treea1a4b6af58e80329ffe521e47618c91761377993 /gcc
parentb3689904c18e763ee43692fe89b995339b68187f (diff)
downloadgcc-6a3177b9fb7894cf88b34e5ec541aec70317f28c.zip
gcc-6a3177b9fb7894cf88b34e5ec541aec70317f28c.tar.gz
gcc-6a3177b9fb7894cf88b34e5ec541aec70317f28c.tar.bz2
20001101-1.c: Add -mcpu=ultrasparc.
* gcc.dg/20001101-1.c: Add -mcpu=ultrasparc. Only run on sparcv9 systems. * gcc.dg/20001102-1.c: Likewise. From-SVN: r51420
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/20001101-1.c6
-rw-r--r--gcc/testsuite/gcc.dg/20001102-1.c6
3 files changed, 14 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index af0d930..742f50e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-26 Richard Henderson <rth@redhat.com>
+
+ * gcc.dg/20001101-1.c: Add -mcpu=ultrasparc. Only run on
+ sparcv9 systems.
+ * gcc.dg/20001102-1.c: Likewise.
+
2002-03-26 Phil Edwards <pme@gcc.gnu.org>
* gcc.dg/cpp/endif-pedantic1.c,
diff --git a/gcc/testsuite/gcc.dg/20001101-1.c b/gcc/testsuite/gcc.dg/20001101-1.c
index b5231f2..6cafff0 100644
--- a/gcc/testsuite/gcc.dg/20001101-1.c
+++ b/gcc/testsuite/gcc.dg/20001101-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 foo(double a, int b, int c, double *d, int h)
{
diff --git a/gcc/testsuite/gcc.dg/20001102-1.c b/gcc/testsuite/gcc.dg/20001102-1.c
index 9d1ccb3..2d9e45b 100644
--- a/gcc/testsuite/gcc.dg/20001102-1.c
+++ b/gcc/testsuite/gcc.dg/20001102-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 foo(double a, int b, int c, double *d, int h)
{