20020118-1.c: Declare abort.

2004-08-04  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/20020118-1.c: Declare abort.
        * gcc.dg/altivec_check.h: Likewise.
        * gcc.dg/iftrap-2.c: Likewise.
        * gcc.dg/pragma-darwin.c: Likewise.
        * gcc.dg/rs6000-ldouble-1.c: Declare abort and exit.

From-SVN: r85594
This commit is contained in:
Andrew Pinski 2004-08-05 06:06:49 +00:00 committed by Andrew Pinski
parent 0e6df31e19
commit fce731b52f
6 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2004-08-04 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/20020118-1.c: Declare abort.
* gcc.dg/altivec_check.h: Likewise.
* gcc.dg/iftrap-2.c: Likewise.
* gcc.dg/pragma-darwin.c: Likewise.
* gcc.dg/rs6000-ldouble-1.c: Declare abort and exit.
2004-08-04 Geoffrey Keating <geoffk@apple.com>
* g++.dg/ext/altivec_check.h: Declare exit as extern "C".

View File

@ -3,6 +3,8 @@
/* Test local alignment. Test new target macro STARTING_FRAME_PHASE. */
/* Origin: Aldy Hernandez <aldyh@redhat.com>. */
extern void abort(void);
int main ()
{
int darisa[4] __attribute__((aligned(16))) ;

View File

@ -3,6 +3,7 @@
#include <signal.h>
extern void exit (int);
extern void abort (void);
void
sig_ill_handler (int sig)

View File

@ -3,6 +3,8 @@
/* { dg-do compile { target rs6000-*-* powerpc-*-* sparc*-*-* ia64-*-* } } */
/* { dg-final { scan-assembler-not "^\t(trap|ta|break)\[ \t\]" } } */
extern void abort(void);
void f1(int p)
{
if (p)

View File

@ -5,6 +5,8 @@
/* The mark pragma is to help decorate IDEs. */
extern void abort(void);
#pragma mark hey hey ho
/* The options pragma used to do a lot, now it's only for emulating

View File

@ -4,6 +4,9 @@
/* Check that long double values are rounded correctly when being converted
to 32-bit integers. All these values are of the form +/- 2 +/- 2^-60. */
extern void abort(void);
extern void exit(int);
int main(void)
{
long double l1 = 1.9999999999999999991326382620115964527941L;