OSDN Git Service

* gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2011 22:52:46 +0000 (22:52 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2011 22:52:46 +0000 (22:52 +0000)
Solaris 9 as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172008 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e6d8ed3..47b393d 100644 (file)
@@ -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>
 
index ea770ee..4e8c8b7 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 *-*-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]* } } */