* compile/981001-4.c: Remove use of GCC extension that triggers a
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Oct 1998 09:34:15 +0000 (09:34 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Oct 1998 09:34:15 +0000 (09:34 +0000)
        compiler bug.

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

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

index 33e1c14..a3265ba 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 2ec5d8b..dd3df9c 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);