From: Eric Botcazou Date: Tue, 23 Sep 2008 08:52:53 +0000 (+0000) Subject: cmdlne-dU-16.c: Specify -std=c89 on Solaris. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47854fae8e239df95cf1bce15c3505077bf92bb9;p=platform%2Fupstream%2Fgcc.git cmdlne-dU-16.c: Specify -std=c89 on Solaris. * gcc.dg/cpp/cmdlne-dU-16.c: Specify -std=c89 on Solaris. * gcc.dg/cpp/cmdlne-dU-17.c: Likewise. From-SVN: r140581 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4995cea..36a50ec 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-09-23 Eric Botcazou + + * 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 PR fortran/37580 diff --git a/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-16.c b/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-16.c index 8e5078b..463c0b9 100644 --- a/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-16.c +++ b/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-16.c @@ -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 diff --git a/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c b/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c index c543439..2ae9d27 100644 --- a/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c +++ b/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-17.c @@ -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__