]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
20020118-1.c: Declare abort.
authorAndrew Pinski <pinskia@physics.uc.edu>
Thu, 5 Aug 2004 06:06:49 +0000 (06:06 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 5 Aug 2004 06:06:49 +0000 (23:06 -0700)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020118-1.c
gcc/testsuite/gcc.dg/altivec_check.h
gcc/testsuite/gcc.dg/iftrap-2.c
gcc/testsuite/gcc.dg/pragma-darwin.c
gcc/testsuite/gcc.dg/rs6000-ldouble-1.c

index 82562f9edeb00663fc5e9526f5393b931cfc0e2d..94e6a7903f446728984f8ee7ce5baaa3622b4515 100644 (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".
index f00db689cc2f94d44e764da905ab658833a5b6c0..393f3c2aa5b5215b41a39581826716c1ec9653fd 100644 (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))) ;
index c64d918c9d5a5125a6441d8b38d362e7a3cc5afe..736054821f183213f54afa8e9f2ec5a9172a951d 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <signal.h>
 extern void exit (int);
+extern void abort (void);
 
 void 
 sig_ill_handler (int sig)
index 909a85fcef81b2005b189f993ccdbf5a35534c00..4aa8ee7d62c3b0bbc3ad9d5ac4d5494993e767d8 100644 (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)
index e3bcfb958a8063d11caebe83f0686748295a405c..da70c8918a0726ce6540fc3ffc3e2d767084b607 100644 (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
index 52d2da802aaeeaee880ca3010544a25e209e5c20..0c11a271a80a879011e9daa8a4c84a4e51129cb2 100644 (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;