This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
- From: "neil at daikokuya dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2003 19:44:24 -0000
- Subject: [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
- References: <20030602131615.11064.rschiele@uni-mannheim.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.