pr47917.c: Use -std=gnu99 on HP-UX.

2011-03-29  Steve Ellcey  <sje@cup.hp.com>

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

From-SVN: r171698
This commit is contained in:
Steve Ellcey 2011-03-29 20:41:13 +00:00 committed by Steve Ellcey
parent e2eefb55b2
commit ea61eea7fe
2 changed files with 5 additions and 0 deletions

View 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

View 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]* } } */