This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]