From: Rainer Orth Date: Mon, 11 Apr 2011 18:14:23 +0000 (+0000) Subject: pr47917.c: Define _ISO_C_SOURCE=19990L for alpha*-dec-osf5*. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fb3e11aa5b6c3096a8b3e7d098927b2875ca9b5;p=gcc.git pr47917.c: Define _ISO_C_SOURCE=19990L for alpha*-dec-osf5*. * gcc.dg/torture/pr47917.c: Define _ISO_C_SOURCE=19990L for alpha*-dec-osf5*. From-SVN: r172270 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cb7e7695f02..dee6793d931 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-04-11 Rainer Orth + + * gcc.dg/torture/pr47917.c: Define _ISO_C_SOURCE=19990L for + alpha*-dec-osf5*. + 2011-04-11 Martin Jambor PR tree-optimization/48195 diff --git a/gcc/testsuite/gcc.dg/torture/pr47917.c b/gcc/testsuite/gcc.dg/torture/pr47917.c index 4e8c8b755d8..831305d601a 100644 --- a/gcc/testsuite/gcc.dg/torture/pr47917.c +++ b/gcc/testsuite/gcc.dg/torture/pr47917.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-std=c99" } */ +/* { dg-options "-std=c99 -D_ISO_C_SOURCE=19990L" { target alpha*-dec-osf5* } } */ /* { 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* } } */