diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2004-08-04 19:12:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-08-04 19:12:58 +0000 |
commit | 54f2f9a648affb8af04adc48146dda68cb0de7a6 (patch) | |
tree | 96358bda8ce21f2c8c127eef41047ad74e111302 | |
parent | ff78c80b8281aa2878793a7bd994418f98849e16 (diff) | |
download | gcc-54f2f9a648affb8af04adc48146dda68cb0de7a6.zip gcc-54f2f9a648affb8af04adc48146dda68cb0de7a6.tar.gz gcc-54f2f9a648affb8af04adc48146dda68cb0de7a6.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/mips-args-2.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/mips-args-3.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/mips-hilo-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/mips-hilo-2.c | 3 |
5 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2edfebb..54484ff 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.dg/mips-args-2.c b/gcc/testsuite/gcc.dg/mips-args-2.c index f53bfb2..c34751c 100644 --- a/gcc/testsuite/gcc.dg/mips-args-2.c +++ b/gcc/testsuite/gcc.dg/mips-args-2.c @@ -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 () { diff --git a/gcc/testsuite/gcc.dg/mips-args-3.c b/gcc/testsuite/gcc.dg/mips-args-3.c index 9ce3553..e1fde86 100644 --- a/gcc/testsuite/gcc.dg/mips-args-3.c +++ b/gcc/testsuite/gcc.dg/mips-args-3.c @@ -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) diff --git a/gcc/testsuite/gcc.dg/torture/mips-hilo-1.c b/gcc/testsuite/gcc.dg/torture/mips-hilo-1.c index 2b0d668..8f88051 100644 --- a/gcc/testsuite/gcc.dg/torture/mips-hilo-1.c +++ b/gcc/testsuite/gcc.dg/torture/mips-hilo-1.c @@ -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) \ diff --git a/gcc/testsuite/gcc.dg/torture/mips-hilo-2.c b/gcc/testsuite/gcc.dg/torture/mips-hilo-2.c index 0bdff6c..3d23a8d 100644 --- a/gcc/testsuite/gcc.dg/torture/mips-hilo-2.c +++ b/gcc/testsuite/gcc.dg/torture/mips-hilo-2.c @@ -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; |