From: Richard Henderson Date: Mon, 27 Dec 2004 04:27:09 +0000 (-0800) Subject: compat-common.h (CINT, CDBL): Use multiplication by 1i instead of token pasting. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82d3d6c89339f5efa99b3b76347e0bbdffc14be4;p=gcc.git compat-common.h (CINT, CDBL): Use multiplication by 1i instead of token pasting. * gcc.dg/compat/compat-common.h (CINT, CDBL): Use multiplication by 1i instead of token pasting. From-SVN: r92635 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 71547b78dab..4630b0626ea 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-12-26 Richard Henderson + + * gcc.dg/compat/compat-common.h (CINT, CDBL): Use multiplication + by 1i instead of token pasting. + 2004-12-26 John David Anglin 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 c2664acbd19..635e7446d76 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 . */