public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Add dg-require-effective-target c99_runtime to gcc.dg/signbit-sa.c
@ 2015-03-08 22:49 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2015-03-08 22:49 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

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



[-- Attachment #2: signbit-sa.c.d.txt --]
[-- Type: text/plain, Size: 531 bytes --]

2015-03-08  John David Anglin  <danglin@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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-08 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-08 22:49 [committed] Add dg-require-effective-target c99_runtime to gcc.dg/signbit-sa.c John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).