20001101-1.c: Add -mcpu=ultrasparc.
authorRichard Henderson <rth@redhat.com>
Wed, 27 Mar 2002 01:23:35 +0000 (17:23 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 27 Mar 2002 01:23:35 +0000 (17:23 -0800)
        * gcc.dg/20001101-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.
        * gcc.dg/20001102-1.c: Likewise.

From-SVN: r51420

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)
 {