From 15e779e88cd933a59dd0d4a65840bde4fc1eaaed Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 2 Mar 1995 19:15:06 -0500 Subject: [PATCH] (rescan): Prevent accidental token-pasting to get !=, *=, /=, ==, or ^=. From-SVN: r9115 --- gcc/cccp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/cccp.c b/gcc/cccp.c index a97420b78c7..e14d6b5d6d8 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -3324,8 +3324,10 @@ startagain: before the macro call. */ if (!traditional && obp != op->buf) { switch (obp[-1]) { - case '%': case '&': case '+': case '-': - case ':': case '<': case '>': case '|': + case '!': case '%': case '&': case '*': + case '+': case '-': case '/': case ':': + case '<': case '=': case '>': case '^': + case '|': /* If we are expanding a macro arg, make a newline marker to separate the tokens. If we are making real output, a plain space will do. */