mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 17:40:48 +08:00
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:
parent
0e6df31e19
commit
fce731b52f
@ -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".
|
||||
|
@ -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))) ;
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#include <signal.h>
|
||||
extern void exit (int);
|
||||
extern void abort (void);
|
||||
|
||||
void
|
||||
sig_ill_handler (int sig)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user