summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/991230-1.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-23 19:30:44 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-23 19:30:44 +0000
commitf7d54b2495ea7bf7d2a143b05cf878d0b0f0bf31 (patch)
treebcec6f041cb5086bd521d404abf56a4a2c717f0e /gcc/testsuite/gcc.dg/991230-1.c
parenta8fb076f23ea65fc2052611ea56fe40c52419ce4 (diff)
downloadgcc-f7d54b2495ea7bf7d2a143b05cf878d0b0f0bf31.tar.gz
gcc/testsuite:
* c-torture/execute/bcp-1.c: Replace abort in arg of __builtin_constant_p with a generic external function. * gcc.dg/20000108-1.c, gcc.dg/980211-1.c, gcc.dg/980414-1.c, gcc.dg/990119-1.c, gcc.dg/990409.c, gcc.dg/990424-1.c, gcc.dg/991230-1.c, gcc.dg/clobbers.c, gcc.dg/lineno.c, gcc.dg/noreturn-1.c, gcc.dg/trigraphs.c, gcc.dg/uninit-4.c: Prototype abort and/or exit. * gcc.dg/990407-1.c, gcc.dg/strpaste.c, gcc.dg/special/alias-1.c, gcc.dg/special/gcsec-1.c, gcc.dg/special/weak-1.c, gcc.dg/special/weak-2.c, gcc.dg/special/wkali-1.c, gcc.dg/special/wkali-2.c: Include stdlib.h. libio/tests: * tfformat.c: Include stdlib.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34110 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/991230-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/991230-1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/991230-1.c b/gcc/testsuite/gcc.dg/991230-1.c
index 42c6a8e6faa..39b259541de 100644
--- a/gcc/testsuite/gcc.dg/991230-1.c
+++ b/gcc/testsuite/gcc.dg/991230-1.c
@@ -3,6 +3,9 @@
/* Test that floating point greater-than tests are compiled correctly with
-ffast-math. */
+
+extern void abort (void);
+
static int gt (double a, double b)
{
if (a > b)