* gcc.dg/cpp/cmdlne-dU-16.c: Specify -std=c89 on Solaris.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Sep 2008 08:52:53 +0000 (08:52 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Sep 2008 08:52:53 +0000 (08:52 +0000)
* gcc.dg/cpp/cmdlne-dU-17.c: Likewise.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/cmdlne-dU-16.c
gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c

index 4995cea..36a50ec 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-23  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.dg/cpp/cmdlne-dU-16.c: Specify -std=c89 on Solaris.
+       * gcc.dg/cpp/cmdlne-dU-17.c: Likewise.
+
 2008-09-23  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/37580
index 8e5078b..463c0b9 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do preprocess } */
 /* { dg-options "-P -dU" } */
+/* { dg-options "-P -dU -std=c89" { target *-*-solaris2.* } } */
 /* { dg-final { scan-file cmdlne-dU-16.i "^\n*#define __STDC__ 1\n*$" } } */
 #ifdef __STDC__
 #endif
index c543439..2ae9d27 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do preprocess } */
 /* { dg-options "-P -dU" } */
+/* { dg-options "-P -dU -std=c89" { target *-*-solaris2.* } } */
 /* { dg-final { scan-file cmdlne-dU-17.i "^\n*1\n+#define __STDC__ 1\n*$" } } */
 __STDC__