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 | |
| parent | 85611be1756cddf23eb0679d14b634b00c36c6f1 (diff) | |
| download | ppe42-gcc-48c64b0fc484df65e0cf9bee4c655bce7b9f0be7.tar.gz ppe42-gcc-48c64b0fc484df65e0cf9bee4c655bce7b9f0be7.zip | |
* 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
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/compat/compat-common.h | 4 |
2 files changed, 7 insertions, 2 deletions
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 <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 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>. */ |

