* gcc.dg/20001101-1.c: Add -mcpu=ultrasparc. Only run on
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Mar 2002 01:23:35 +0000 (01:23 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Mar 2002 01:23:35 +0000 (01:23 +0000)
        sparcv9 systems.
        * gcc.dg/20001102-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51420 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20001101-1.c
gcc/testsuite/gcc.dg/20001102-1.c

index af0d930..742f50e 100644 (file)
@@ -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,
index b5231f2..6cafff0 100644 (file)
@@ -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)
 {
index 9d1ccb3..2d9e45b 100644 (file)
@@ -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)
 {