20001013-1.c: Add -mcpu=ultrasparc.
authorRichard Henderson <rth@redhat.com>
Mon, 25 Mar 2002 22:33:43 +0000 (14:33 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 25 Mar 2002 22:33:43 +0000 (14:33 -0800)
        * gcc.dg/20001013-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.

From-SVN: r51347

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20001013-1.c

index 4814385..41d9f3e 100644 (file)
@@ -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.
 
index f154cfd..163a262 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 l;