mips-args-[23].c: Declare abort() and exit().

* gcc.dg/mips-args-[23].c: Declare abort() and exit().
	* gcc.dg/torture/mips-hilo-[12].c: Likewise.

From-SVN: r85567
This commit is contained in:
Richard Sandiford 2004-08-04 19:12:58 +00:00 committed by Richard Sandiford
parent ff78c80b82
commit 54f2f9a648
5 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-08-03 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/mips-args-[23].c: Declare abort() and exit().
* gcc.dg/torture/mips-hilo-[12].c: Likewise.
2004-08-03 David Edelsohn <edelsohn@gnu.org>
* gcc.dg/compat/struct-layout-1.exp: Fix error message typo.

View File

@ -1,5 +1,8 @@
/* Check the _MIPSEB and _MIPSEL macros are accurate. */
/* { dg-do run { target mips*-*-* } } */
extern void abort (void);
extern void exit (int);
short foo = 1;
int main ()
{

View File

@ -1,6 +1,9 @@
/* __mips, and related defines, guarantee that certain assembly
instructions can be used. Check a few examples. */
/* { dg-do run { target mips*-*-* } } */
extern void abort (void);
extern void exit (int);
typedef int int32 __attribute__ ((mode (SI)));
typedef int int64 __attribute__ ((mode (DI)));
int foo (float inf, int64 in64, int32 in32)

View File

@ -3,6 +3,9 @@
/* { dg-do run { target mips*-*-* } } */
/* { dg-options "-mtune=rm7000" } */
extern void abort (void);
extern void exit (int);
#if !defined(__mips16)
#define DECLARE(TYPE) \

View File

@ -2,6 +2,9 @@
the low part of u.ll on little-endian 32-bit targets. */
/* { dg-do run { target mips*-*-* } } */
extern void abort (void);
extern void exit (int);
#if !defined(__mips16)
unsigned int g;