From: Richard Sandiford Date: Wed, 5 May 2004 07:41:24 +0000 (+0000) Subject: * gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce7f07bdc1822254a518dd6ec63cdb4c30ab8bb6;p=gcc.git * gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version. From-SVN: r81508 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1cf06c4cb95..aeff648ee30 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-05-05 Richard Sandiford + + * gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version. + 2004-05-04 Paolo Bonzini * 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 a8db6176682..0bdff6cd32c 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