The signbit function was introduced in c99.

Tested on hppa2.0w-hp-hpux11.11.  Committed to trunk.

Dave
--
John David Anglin       dave.ang...@bell.net


2015-03-08  John David Anglin  <dang...@gcc.gnu.org>

        * gcc.dg/signbit-sa.c: Add dg-require-effective-target c99_runtime

Index: gcc.dg/signbit-sa.c
===================================================================
--- gcc.dg/signbit-sa.c (revision 221239)
+++ gcc.dg/signbit-sa.c (working copy)
@@ -1,5 +1,6 @@
 /* Some versions of Solaris <math.h> give strict-aliasing warnings for
    signbit.  */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-std=c99 -O2 -Wstrict-aliasing" } */
 
 #include <math.h>

Reply via email to