[Bug preprocessor/62086] A bug with option -fextended-identifiers

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 11 05:42:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62086

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to baoshan from comment #0)
> For this simple code, it would compile without -fextended-identifiers but
> fail with it:

I think this is correct behavior as the C standard requires the #if 0 code to
be tokenized still.  In the case without -fextended-identifiers:
/u00A8 are three different tokens, / u and 00A8 (all three different tokens).
With -fextended-identifiers \u00A8\u00AA\u00AD\u00AF\u00B2\u00B5 is considered
one token (an identifier) but the characters not valid for the identifier.



More information about the Gcc-bugs mailing list