pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for Solaris 8 as well.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 5 Apr 2011 22:43:32 +0000 (22:43 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 5 Apr 2011 22:43:32 +0000 (22:43 +0000)
* gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for
Solaris 8 as well.

From-SVN: r172007

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

index f60beeafec7dbec1e172493d0eec253cf294a08d..e6d8ed33162d553e7e5350c7bd306d191a675e74 100644 (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
index 92bd7ab581c60bc3e0942c26d8dd6f3db3ee4bd4..ea770ee59a4e87f9f342a5b97d78b6d201ecc373 100644 (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]* } } */