This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, committed, testsuite] Add -std=c99 to gcc.dg/torture/pr41555.c


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]