From: Andreas Schwab Date: Wed, 14 Oct 1998 09:34:15 +0000 (+0000) Subject: 981001-4.c: Remove use of GCC extension that triggers a compiler bug. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5789e7cbb6046a56fb9ed944b83c031a6e661c50;p=gcc.git 981001-4.c: Remove use of GCC extension that triggers a compiler bug. * compile/981001-4.c: Remove use of GCC extension that triggers a compiler bug. From-SVN: r23081 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 33e1c14628d..a3265ba90c4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +1998-10-14 Andreas Schwab + + * compile/981001-4.c: Remove use of GCC extension that triggers a + compiler bug. + 1998-10-13 Alexandre Oliva * lib/old-dejagnu.exp (old-dejagnu): support `Additional sources:' diff --git a/gcc/testsuite/gcc.c-torture/compile/981001-4.c b/gcc/testsuite/gcc.c-torture/compile/981001-4.c index 2ec5d8b2605..dd3df9cce4b 100644 --- a/gcc/testsuite/gcc.c-torture/compile/981001-4.c +++ b/gcc/testsuite/gcc.c-torture/compile/981001-4.c @@ -1,7 +1,7 @@ #define P(a,b) P1(a,b) #define P1(a,b) a##b -#define ONCE(x, y) (x ?: x = y()) +#define ONCE(x, y) (x ?: (x = y())) #define PREFIX extern int P(PREFIX, init) (void);