public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
       [not found] <bug-11064-4@http.gcc.gnu.org/bugzilla/>
@ 2021-10-15 20:21 ` pinskia at gcc dot gnu.org
  2021-10-15 20:22 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-15 20:21 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kcc at mcst dot ru

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 11806 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
       [not found] <bug-11064-4@http.gcc.gnu.org/bugzilla/>
  2021-10-15 20:21 ` [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped pinskia at gcc dot gnu.org
@ 2021-10-15 20:22 ` pinskia at gcc dot gnu.org
  2021-10-15 20:23 ` pinskia at gcc dot gnu.org
  2021-10-15 20:23 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-15 20:22 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andi at lisas dot de

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 12075 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
       [not found] <bug-11064-4@http.gcc.gnu.org/bugzilla/>
  2021-10-15 20:21 ` [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped pinskia at gcc dot gnu.org
  2021-10-15 20:22 ` pinskia at gcc dot gnu.org
@ 2021-10-15 20:23 ` pinskia at gcc dot gnu.org
  2021-10-15 20:23 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-15 20:23 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dgun at umpire dot com

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 15688 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
       [not found] <bug-11064-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-10-15 20:23 ` pinskia at gcc dot gnu.org
@ 2021-10-15 20:23 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-15 20:23 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mykola.dolhyi at avid dot com

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 102790 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
  2003-06-02 13:16 [Bug preprocessor/11064] New: " rschiele@uni-mannheim.de
                   ` (2 preceding siblings ...)
  2003-06-02 19:51 ` jsm28@cam.ac.uk
@ 2003-06-02 20:03 ` rschiele@uni-mannheim.de
  3 siblings, 0 replies; 8+ messages in thread
From: rschiele@uni-mannheim.de @ 2003-06-02 20:03 UTC (permalink / raw)
  To: gcc-bugs

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 rschiele@uni-mannheim.de  2003-06-02 20:03 -------
Neil: I do not have a strong opinion about the issue. As the standard forces to have valid 
tokens there, it is ok for me. Just didn't know about this constraint before. 
 
Joseph: No, 3.4 does not warn, even not with -W -Wall -pedantic. 



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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
  2003-06-02 13:16 [Bug preprocessor/11064] New: " rschiele@uni-mannheim.de
  2003-06-02 14:04 ` [Bug preprocessor/11064] " pinskia@physics.uc.edu
  2003-06-02 19:44 ` neil@daikokuya.co.uk
@ 2003-06-02 19:51 ` jsm28@cam.ac.uk
  2003-06-02 20:03 ` rschiele@uni-mannheim.de
  3 siblings, 0 replies; 8+ messages in thread
From: jsm28@cam.ac.uk @ 2003-06-02 19:51 UTC (permalink / raw)
  To: gcc-bugs

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 jsm28@cam.ac.uk  2003-06-02 19:51 -------
Subject: Re:  Preprocessor tries to tokenize code
 that should be unconditionally skipped

On Mon, 2 Jun 2003, neil@daikokuya.co.uk wrote:

> 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.

Does 3.4 (a) properly warn for unportable code that has unterminated
quotes (in preprocessing tokens that are not converted to tokens) and (b)  
document these extensions (I didn't see any response to
<http://gcc.gnu.org/ml/gcc-patches/2003-04/msg01855.html>)?





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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
  2003-06-02 13:16 [Bug preprocessor/11064] New: " rschiele@uni-mannheim.de
  2003-06-02 14:04 ` [Bug preprocessor/11064] " pinskia@physics.uc.edu
@ 2003-06-02 19:44 ` neil@daikokuya.co.uk
  2003-06-02 19:51 ` jsm28@cam.ac.uk
  2003-06-02 20:03 ` rschiele@uni-mannheim.de
  3 siblings, 0 replies; 8+ messages in thread
From: neil@daikokuya.co.uk @ 2003-06-02 19:44 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped
  2003-06-02 13:16 [Bug preprocessor/11064] New: " rschiele@uni-mannheim.de
@ 2003-06-02 14:04 ` pinskia@physics.uc.edu
  2003-06-02 19:44 ` neil@daikokuya.co.uk
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-02 14:04 UTC (permalink / raw)
  To: gcc-bugs

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.



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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-15 20:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11064-4@http.gcc.gnu.org/bugzilla/>
2021-10-15 20:21 ` [Bug preprocessor/11064] Preprocessor tries to tokenize code that should be unconditionally skipped pinskia at gcc dot gnu.org
2021-10-15 20:22 ` pinskia at gcc dot gnu.org
2021-10-15 20:23 ` pinskia at gcc dot gnu.org
2021-10-15 20:23 ` pinskia at gcc dot gnu.org
2003-06-02 13:16 [Bug preprocessor/11064] New: " rschiele@uni-mannheim.de
2003-06-02 14:04 ` [Bug preprocessor/11064] " pinskia@physics.uc.edu
2003-06-02 19:44 ` neil@daikokuya.co.uk
2003-06-02 19:51 ` jsm28@cam.ac.uk
2003-06-02 20:03 ` rschiele@uni-mannheim.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).