[patch, committed, testsuite] Add -std=c99 to gcc.dg/torture/pr41555.c
sje@cup.hp.com
sje@cup.hp.com
Thu Oct 15 15:48:00 GMT 2009
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>
More information about the Gcc-patches
mailing list