From 5dc081978cc463c5d00166ba84e19ddc387c698e Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 5 May 2016 14:29:47 +0000 Subject: [PATCH] Declare isnanf in gcc.dg/ipa/inline-8.c * gcc.dg/ipa/inline-8.c (isnanf): Declare. From-SVN: r235925 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/ipa/inline-8.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9800885e581..79488a217a6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-05-05 Rainer Orth + + * gcc.dg/ipa/inline-8.c (isnanf): Declare. + 2016-05-05 Jakub Jelinek * gcc.target/i386/avx512f-vfmadd-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/ipa/inline-8.c b/gcc/testsuite/gcc.dg/ipa/inline-8.c index 962906443c9..df4a64deff9 100644 --- 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 +extern int isnanf (float); /* Can't be inlined because isnanf will be optimized out. */ int cmp (float a) -- 2.30.2