diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-27 04:27:09 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-27 04:27:09 +0000 |
commit | 48c64b0fc484df65e0cf9bee4c655bce7b9f0be7 (patch) | |
tree | c58fd5ff9f3e5baf3d548a46d1a39cc44e71c507 /gcc/testsuite/gcc.dg/compat | |
parent | 85611be1756cddf23eb0679d14b634b00c36c6f1 (diff) | |
download | gcc-48c64b0fc484df65e0cf9bee4c655bce7b9f0be7.tar.gz |
* gcc.dg/compat/compat-common.h (CINT, CDBL): Use multiplication
by 1i instead of token pasting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92635 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/compat-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <complex.h>. */ |