981001-4.c: Remove use of GCC extension that triggers a compiler bug.
authorAndreas Schwab <schwab@issan.cs.uni-dortmund.de>
Wed, 14 Oct 1998 09:34:15 +0000 (09:34 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 14 Oct 1998 09:34:15 +0000 (03:34 -0600)
        * compile/981001-4.c: Remove use of GCC extension that triggers a
        compiler bug.

From-SVN: r23081

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/981001-4.c

index 33e1c14628d2d74b38db1f490595a1040fa52239..a3265ba90c470da318ab9d687ad4c8ee45571069 100644 (file)
@@ -1,3 +1,8 @@
+1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * compile/981001-4.c: Remove use of GCC extension that triggers a
+       compiler bug.
+
 1998-10-13  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * lib/old-dejagnu.exp (old-dejagnu): support `Additional sources:'
index 2ec5d8b2605e9491a872c4d62c7e069e44081054..dd3df9cce4b5150b827463b05f3e546142ac4a23 100644 (file)
@@ -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);