aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2004-05-05 07:41:24 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2004-05-05 07:41:24 +0000
commitce7f07bdc1822254a518dd6ec63cdb4c30ab8bb6 (patch)
treecaa27b7ceffd39187e54ad8a950433921d635300
parente8430418260a84bb8bb38047807c3ea21def1f63 (diff)
downloadgcc-ce7f07bdc1822254a518dd6ec63cdb4c30ab8bb6.zip
gcc-ce7f07bdc1822254a518dd6ec63cdb4c30ab8bb6.tar.gz
gcc-ce7f07bdc1822254a518dd6ec63cdb4c30ab8bb6.tar.bz2
* gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version.
From-SVN: r81508
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/torture/mips-hilo-2.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1cf06c4..aeff648 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-05 Richard Sandiford <rsandifo@redhat.com>
+
+ * gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version.
+
2004-05-04 Paolo Bonzini <bonzini@gnu.org>
* g++.dg/ext/spe1.C: New testcase.
diff --git a/gcc/testsuite/gcc.dg/torture/mips-hilo-2.c b/gcc/testsuite/gcc.dg/torture/mips-hilo-2.c
index a8db617..0bdff6c 100644
--- a/gcc/testsuite/gcc.dg/torture/mips-hilo-2.c
+++ b/gcc/testsuite/gcc.dg/torture/mips-hilo-2.c
@@ -2,6 +2,7 @@
the low part of u.ll on little-endian 32-bit targets. */
/* { dg-do run { target mips*-*-* } } */
+#if !defined(__mips16)
unsigned int g;
unsigned long long f (unsigned int x)
@@ -22,3 +23,6 @@ int main ()
abort ();
exit (0);
}
+#else
+int main () { exit (0); }
+#endif