diff mbox

[committed] Add dg-require-effective-target c99_runtime to gcc.dg/signbit-sa.c

Message ID BLU436-SMTP6063574E07327F25ADFEC6971A0@phx.gbl
State New
Headers show

Commit Message

John David Anglin March 8, 2015, 10:49 p.m. UTC
The signbit function was introduced in c99.

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

Dave
--
John David Anglin	dave.anglin@bell.net
2015-03-08  John David Anglin  <danglin@gcc.gnu.org>

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

Patch

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>