[Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped

neil@daikokuya.co.uk gcc-bugzilla@gcc.gnu.org
Mon Jun 2 19:44:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11064



------- Additional Comments From neil@daikokuya.co.uk  2003-06-02 19:44 -------
Subject: Re:  Preprocessor tries to tokenize code that should be unconditionally skipped

pinskia@physics.uc.edu wrote:-

> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11064
> 
> 
> pinskia@physics.uc.edu changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
> 
> 
> ------- Additional Comments From pinskia@physics.uc.edu  2003-06-02 14:04 -------
> This is not a bug, the ISO/ANSI C says they have be tokens inside the #if ... #endif blocks, 
> even if it is #if 0 ... #endif.

Yes, but it leaves tokenization in the case of unterminated quotes to
the implementation, so we can do either.  As the reporter ovserved, 3.4
accepts the code.  3.3 won't change.

Neil.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list