pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for Solaris 8 as well.

* gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for
	Solaris 8 as well.

From-SVN: r172007
This commit is contained in:
Eric Botcazou 2011-04-05 22:43:32 +00:00 committed by Eric Botcazou
parent fca96842b4
commit 3b8b39322f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-04-05 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for
Solaris 8 as well.
2011-04-05 Tom de Vries <tom@codesourcery.com>
PR target/43920

View file

@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-options "-std=c99" } */
/* { dg-options "-std=c99 -D_XOPEN_SOURCE=500" { target mips-sgi-irix6.5 } } */
/* { dg-options "-std=c99 -D_XOPEN_SOURCE=500" { target mips-sgi-irix6.5 *-*-solaris2.8 } } */
/* { dg-options "-std=gnu99" { target *-*-hpux* } } */
/* { dg-xfail-if "no C99 snprintf function" { *-*-hpux10* } } */
/* { dg-xfail-run-if "non-conforming C99 snprintf" { *-*-hpux11.[012]* } } */