aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-04-05 22:52:46 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-04-05 22:52:46 +0000
commit466acc9ef6e1ac8ab2a861f2e8b23013a1c42b28 (patch)
tree77bfd5cfe7b7bd1c6d9db6240101c3c259fd8418 /gcc
parent3b8b39322f50266b1ddda4d074c3c3ca1a1055ce (diff)
downloadgcc-466acc9ef6e1ac8ab2a861f2e8b23013a1c42b28.zip
gcc-466acc9ef6e1ac8ab2a861f2e8b23013a1c42b28.tar.gz
gcc-466acc9ef6e1ac8ab2a861f2e8b23013a1c42b28.tar.bz2
pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for Solaris 9 as well.
* gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for Solaris 9 as well. From-SVN: r172008
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr47917.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e6d8ed3..47b393d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,7 +1,7 @@
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.
+ Solaris 8 and 9 as well.
2011-04-05 Tom de Vries <tom@codesourcery.com>
diff --git a/gcc/testsuite/gcc.dg/torture/pr47917.c b/gcc/testsuite/gcc.dg/torture/pr47917.c
index ea770ee..4e8c8b7 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 *-*-solaris2.8 } } */
+/* { dg-options "-std=c99 -D_XOPEN_SOURCE=500" { target mips-sgi-irix6.5 *-*-solaris2.[89] } } */
/* { dg-options "-std=gnu99" { target *-*-hpux* } } */
/* { dg-xfail-if "no C99 snprintf function" { *-*-hpux10* } } */
/* { dg-xfail-run-if "non-conforming C99 snprintf" { *-*-hpux11.[012]* } } */