aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/compat/compat-common.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 71547b7..4630b06 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-26 Richard Henderson <rth@redhat.com>
+
+ * gcc.dg/compat/compat-common.h (CINT, CDBL): Use multiplication
+ by 1i instead of token pasting.
+
2004-12-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR tree-optimization/17578
diff --git a/gcc/testsuite/gcc.dg/compat/compat-common.h b/gcc/testsuite/gcc.dg/compat/compat-common.h
index c2664ac..635e744 100644
--- a/gcc/testsuite/gcc.dg/compat/compat-common.h
+++ b/gcc/testsuite/gcc.dg/compat/compat-common.h
@@ -25,8 +25,8 @@
#endif
#ifdef __GNUC__
-#define CINT(x, y) (x + __extension__ y##i)
-#define CDBL(x, y) (x + __extension__ y##i)
+#define CINT(x, y) (x + y * __extension__ 1i)
+#define CDBL(x, y) (x + y * __extension__ 1i)
#else
#ifdef __SUNPRO_C
/* ??? Complex support without <complex.h>. */