aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/981001-4.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 33e1c14..a3265ba 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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:'
diff --git a/gcc/testsuite/gcc.c-torture/compile/981001-4.c b/gcc/testsuite/gcc.c-torture/compile/981001-4.c
index 2ec5d8b..dd3df9c 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);