[gnu.gcc.bug] cpp abort with 1.36.94+

wood@DG-RTP.DG.COM (Tom Wood) (02/09/90)

Please try the following input to gcc -traditional.  I get an abort from
cpp at line 1682 of rescan.c  The newline escape is "Newline \0":

(gdb) p *ibp
$1 = 0 '\000'
(gdb) list
1677              } else {
1678                /* If expanding a macro arg, keep the newline space.
1679                   If the arg gets stringified, newline space makes nothing.  */
1680                *obp++ = *ibp++;
1681              }
1682            } else abort ();        /* Newline followed by something random? */
1683            break;
1684          }
1685
1686          /* If there is a pending identifier, handle it and come back here.

Here's the input:

#define StuffWidgetKid(g, q, instigator, request, geo_type)         \
    if (q == instigator)        /* if he's requesting use */        \
        find_kid_size (q, &(g.box), geo_type);  /*preference */     \
                                                                    \

/*
 * assemble
 */

StuffWidgetKid (g[j], q, instigator, request, geo_type);
-- 
Tom Wood