(rescan): Prevent accidental token-pasting to get !=, *=, /=, ==, or ^=.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 3 Mar 1995 00:15:06 +0000 (19:15 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 3 Mar 1995 00:15:06 +0000 (19:15 -0500)
From-SVN: r9115

gcc/cccp.c

index a97420b..e14d6b5 100644 (file)
@@ -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.  */