20001013-1.c: Add -mcpu=ultrasparc.

* gcc.dg/20001013-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.

From-SVN: r51347
This commit is contained in:
Richard Henderson 2002-03-25 14:33:43 -08:00 committed by Richard Henderson
parent f235639360
commit bbffa101d1
2 changed files with 7 additions and 2 deletions

View 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.

View 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;