Declare isnanf in gcc.dg/ipa/inline-8.c
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 5 May 2016 14:29:47 +0000 (14:29 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 5 May 2016 14:29:47 +0000 (14:29 +0000)
* gcc.dg/ipa/inline-8.c (isnanf): Declare.

From-SVN: r235925

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/inline-8.c

index 9800885e581e7ba2e09446e4adf941b226a923ea..79488a217a6fa07441e75c5873c3f62eb36491da 100644 (file)
@@ -1,3 +1,7 @@
+2016-05-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * gcc.dg/ipa/inline-8.c (isnanf): Declare.
+
 2016-05-05  Jakub Jelinek  <jakub@redhat.com>
 
        * gcc.target/i386/avx512f-vfmadd-1.c: New test.
index 962906443c98cd731d77386002afbfea08e06b0b..df4a64deff9cece4589efd48c968bd29289d29b8 100644 (file)
@@ -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)