From: Eric Botcazou Date: Tue, 5 Apr 2011 22:43:32 +0000 (+0000) Subject: pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for Solaris 8 as well. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b8b39322f50266b1ddda4d074c3c3ca1a1055ce;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f60beeafec7..e6d8ed33162 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-04-05 Eric Botcazou + + * gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for + Solaris 8 as well. + 2011-04-05 Tom de Vries PR target/43920 diff --git a/gcc/testsuite/gcc.dg/torture/pr47917.c b/gcc/testsuite/gcc.dg/torture/pr47917.c index 92bd7ab581c..ea770ee59a4 100644 --- a/gcc/testsuite/gcc.dg/torture/pr47917.c +++ b/gcc/testsuite/gcc.dg/torture/pr47917.c @@ -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]* } } */