Commit 54f2f9a6 by Richard Sandiford Committed by Richard Sandiford

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
parent ff78c80b
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.
......
/* 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 ()
{
......
/* __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)
......
......@@ -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) \
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment