aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fastmath-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/fastmath-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/fastmath-1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/fastmath-1.c b/gcc/testsuite/gcc.dg/fastmath-1.c
index 1194a6f7d42..4efe4300467 100644
--- a/gcc/testsuite/gcc.dg/fastmath-1.c
+++ b/gcc/testsuite/gcc.dg/fastmath-1.c
@@ -1,6 +1,8 @@
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math" } */
+extern void abort (void);
+
int foo ( float* dists, int k)
{
if ( ( dists [ 0 ] > 0 ) == ( dists [ 1 ] > 0 ) )