Message ID | yddinyslgr6.fsf@CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
# HG changeset patch # Parent 7654b342bb270f12f16abf76b78e235c2798832f Declare isnanf in gcc.dg/ipa/inline-8.c diff --git a/gcc/testsuite/gcc.dg/ipa/inline-8.c b/gcc/testsuite/gcc.dg/ipa/inline-8.c --- a/gcc/testsuite/gcc.dg/ipa/inline-8.c +++ b/gcc/testsuite/gcc.dg/ipa/inline-8.c @@ -5,6 +5,7 @@ /* { dg-options "-O2" } */ /* { dg-add-options c99_runtime } */ #include <math.h> +extern int isnanf (float); /* Can't be inlined because isnanf will be optimized out. */ int cmp (float a)