pr47917.c: Use -std=gnu99 on HP-UX.
authorSteve Ellcey <sje@cup.hp.com>
Tue, 29 Mar 2011 20:41:13 +0000 (20:41 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Tue, 29 Mar 2011 20:41:13 +0000 (20:41 +0000)
2011-03-29  Steve Ellcey  <sje@cup.hp.com>

* gcc.dg/torture/pr47917.c: Use -std=gnu99 on HP-UX.

From-SVN: r171698

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr47917.c

index 0fabf96a456ca64b9701d15cb0f4e18512405aa7..48199a2fb7bdd817954639ed954c7a8cebab1ab7 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-29  Steve Ellcey  <sje@cup.hp.com>
+
+       * gcc.dg/torture/pr47917.c: Use -std=gnu99 on HP-UX.
+
 2011-03-29  Ian Lance Taylor  <iant@google.com>
 
        * go.test/go-test.exp: Handle the test lines used in several new
index 527cb37c8d91c39b2cf6e20ea0ee065ed2ec32bc..92bd7ab581c60bc3e0942c26d8dd6f3db3ee4bd4 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do run } */
 /* { dg-options "-std=c99" } */
 /* { dg-options "-std=c99 -D_XOPEN_SOURCE=500" { target mips-sgi-irix6.5 } } */
+/* { dg-options "-std=gnu99" { target *-*-hpux* } } */
 /* { dg-xfail-if "no C99 snprintf function" { *-*-hpux10* } } */
 /* { dg-xfail-run-if "non-conforming C99 snprintf" { *-*-hpux11.[012]* } } */