* [patch, committed, testsuite] Add -std=c99 to gcc.dg/torture/pr41555.c
@ 2009-10-15 15:48 sje
0 siblings, 0 replies; only message in thread
From: sje @ 2009-10-15 15:48 UTC (permalink / raw)
To: gcc-patches
The test gcc.dg/torture/pr41555.c was failing on ia64-hp-hpux11.23 because
the *_MAX and *_MIN macros (like INT8_MAX) were not defined unless the
-std=c99 option was used. This patch adds that option. Approved by
Richard Guenther in the comments to PR41555.
I tested it on IA64 HP-UX and Linux and checked it in.
Steve Ellcey
sje@cup.hp.com
2009-10-15 Steve Ellcey <sje@cup.hp.com>
* gcc.dg/torture/pr41555.c: Add -std=c99 option.
Index: gcc.dg/torture/pr41555.c
===================================================================
--- gcc.dg/torture/pr41555.c (revision 152794)
+++ gcc.dg/torture/pr41555.c (working copy)
@@ -1,4 +1,5 @@
/* { dg-do run } */
+/* { dg-options "-std=c99" } */
#include <stdint.h>
#include <limits.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-15 15:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-15 15:48 [patch, committed, testsuite] Add -std=c99 to gcc.dg/torture/pr41555.c sje
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).