From ea61eea7fe620c3d0f5fba0b225f0dd265c9d246 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Tue, 29 Mar 2011 20:41:13 +0000 Subject: [PATCH] pr47917.c: Use -std=gnu99 on HP-UX. 2011-03-29 Steve Ellcey * gcc.dg/torture/pr47917.c: Use -std=gnu99 on HP-UX. From-SVN: r171698 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/torture/pr47917.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0fabf96a456..48199a2fb7b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-03-29 Steve Ellcey + + * gcc.dg/torture/pr47917.c: Use -std=gnu99 on HP-UX. + 2011-03-29 Ian Lance Taylor * go.test/go-test.exp: Handle the test lines used in several new diff --git a/gcc/testsuite/gcc.dg/torture/pr47917.c b/gcc/testsuite/gcc.dg/torture/pr47917.c index 527cb37c8d9..92bd7ab581c 100644 --- a/gcc/testsuite/gcc.dg/torture/pr47917.c +++ b/gcc/testsuite/gcc.dg/torture/pr47917.c @@ -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]* } } */ -- 2.30.2