public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
@ 2005-10-26  6:24 ` pinskia at gcc dot gnu dot org
  2005-10-26  6:27 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-26  6:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-10-26 06:24 -------
*** Bug 23779 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Christoph dot Spiel at
                   |                            |partner dot bmw dot de


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


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

* [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
  2005-10-26  6:24 ` [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments pinskia at gcc dot gnu dot org
@ 2005-10-26  6:27 ` pinskia at gcc dot gnu dot org
  2005-10-31  5:54 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-26  6:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-10-26 06:27 -------
GCC should produce:
/* Execute example with: gcc -E -P -C -x c dummy.txt
a b c
*/

As mentioned by comment #2.  
This is not related to at all the "backslash whitespace newline" thread or PR
8270.  Well PR 23779 is in a way.


-- 


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


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

* [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
  2005-10-26  6:24 ` [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments pinskia at gcc dot gnu dot org
  2005-10-26  6:27 ` pinskia at gcc dot gnu dot org
@ 2005-10-31  5:54 ` mmitchel at gcc dot gnu dot org
  2006-03-11  3:22 ` [Bug preprocessor/24024] [3.4/4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  5:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mmitchel at gcc dot gnu dot org  2005-10-31 05:54 -------
A bug in the -E -C output is never going to be release-critical. 


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P5


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


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

* [Bug preprocessor/24024] [3.4/4.0/4.1/4.2 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-31  5:54 ` mmitchel at gcc dot gnu dot org
@ 2006-03-11  3:22 ` mmitchel at gcc dot gnu dot org
  2007-02-03 15:45 ` [Bug preprocessor/24024] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11  3:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.0.4


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


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

* [Bug preprocessor/24024] [4.0/4.1/4.2/4.3 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-03-11  3:22 ` [Bug preprocessor/24024] [3.4/4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
@ 2007-02-03 15:45 ` gdr at gcc dot gnu dot org
  2007-02-03 17:26 ` jsm28 at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 15:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from gdr at gcc dot gnu dot org  2007-02-03 15:45 -------
Won't fix in GCC-4.0.4.  Adjusting milestone.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.4                       |---


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


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

* [Bug preprocessor/24024] [4.0/4.1/4.2/4.3 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2007-02-03 15:45 ` [Bug preprocessor/24024] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
@ 2007-02-03 17:26 ` jsm28 at gcc dot gnu dot org
  2007-02-14 10:04 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2007-02-03 17:26 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


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


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

* [Bug preprocessor/24024] [4.0/4.1/4.2/4.3 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2007-02-03 17:26 ` jsm28 at gcc dot gnu dot org
@ 2007-02-14 10:04 ` mmitchel at gcc dot gnu dot org
  2007-03-16 15:12 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 10:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug preprocessor/24024] [4.0/4.1/4.2/4.3 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2007-02-14 10:04 ` mmitchel at gcc dot gnu dot org
@ 2007-03-16 15:12 ` pinskia at gcc dot gnu dot org
  2008-07-04 20:05 ` [Bug preprocessor/24024] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-16 15:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-03-16 15:12 -------
*** Bug 31195 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matti dot sangi at nokia dot
                   |                            |com


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


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

* [Bug preprocessor/24024] [4.2/4.3/4.4 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2007-03-16 15:12 ` pinskia at gcc dot gnu dot org
@ 2008-07-04 20:05 ` jsm28 at gcc dot gnu dot org
  2009-03-31 18:58 ` [Bug preprocessor/24024] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 20:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jsm28 at gcc dot gnu dot org  2008-07-04 20:04 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression] gcc
                   |gcc -E -C processes "\"     |-E -C processes "\"
                   |incorrectly inside C        |incorrectly inside C
                   |comments                    |comments
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug preprocessor/24024] [4.3/4.4/4.5 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2008-07-04 20:05 ` [Bug preprocessor/24024] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 18:58 ` jsm28 at gcc dot gnu dot org
  2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
  2010-05-22 19:01 ` [Bug preprocessor/24024] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 18:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jsm28 at gcc dot gnu dot org  2009-03-31 18:57 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression] gcc
                   |gcc -E -C processes "\"     |-E -C processes "\"
                   |incorrectly inside C        |incorrectly inside C
                   |comments                    |comments
   Target Milestone|4.2.5                       |4.3.4


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


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

* [Bug preprocessor/24024] [4.3/4.4/4.5 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2009-03-31 18:58 ` [Bug preprocessor/24024] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
  2010-05-22 19:01 ` [Bug preprocessor/24024] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2009-08-04 12:27 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug preprocessor/24024] [4.3/4.4/4.5/4.6 Regression] gcc -E -C processes "\" incorrectly inside C comments
       [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 19:01 ` rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 19:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2010-05-22 18:10 -------
GCC 4.3.5 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.3.6


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


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

* [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments
  2005-09-22 21:33 [Bug preprocessor/24024] New: " stefan dot becker at nokia dot com
  2005-09-22 21:39 ` [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
  2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org
@ 2005-09-27 17:07 ` segher at kernel dot crashing dot org
  2 siblings, 0 replies; 15+ messages in thread
From: segher at kernel dot crashing dot org @ 2005-09-27 17:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From segher at kernel dot crashing dot org  2005-09-27 16:19 -------
Looks like the issue is that lex.c:save_comment() doesn't look at line_note's.
An analogous issue happens with trigraphs.

Btw, the C standard _does_ require escaped newlines and trigrpahs to be
processed in comments.


-- 


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


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

* [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments
  2005-09-22 21:33 [Bug preprocessor/24024] New: " stefan dot becker at nokia dot com
  2005-09-22 21:39 ` [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org
  2005-09-27 17:07 ` segher at kernel dot crashing dot org
  2 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments
  2005-09-22 21:33 [Bug preprocessor/24024] New: " stefan dot becker at nokia dot com
@ 2005-09-22 21:39 ` pinskia at gcc dot gnu dot org
  2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org
  2005-09-27 17:07 ` segher at kernel dot crashing dot org
  2 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-22 21:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-22 21:39 -------
(In reply to comment #0)
> I'm not so sure what the standard says about line continuation inside C comments
> but if the lines should be merged I would expect the following result:

The standard says nothing about C comments except that they are ignored.

Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   GCC host triplet|i386-redhat-linux           |
 GCC target triplet|i386-redhat-linux           |
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-22 21:39:50
               date|                            |
            Summary|gcc -E -C processes "\"     |[3.4/4.0/4.1 Regression] gcc
                   |incorrectly inside C        |-E -C processes "\"
                   |comments                    |incorrectly inside C
                   |                            |comments
   Target Milestone|---                         |4.0.2


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


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

end of thread, other threads:[~2010-05-22 18:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24024-4934@http.gcc.gnu.org/bugzilla/>
2005-10-26  6:24 ` [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] gcc -E -C processes "\" incorrectly inside C comments pinskia at gcc dot gnu dot org
2005-10-26  6:27 ` pinskia at gcc dot gnu dot org
2005-10-31  5:54 ` mmitchel at gcc dot gnu dot org
2006-03-11  3:22 ` [Bug preprocessor/24024] [3.4/4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2007-02-03 15:45 ` [Bug preprocessor/24024] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
2007-02-03 17:26 ` jsm28 at gcc dot gnu dot org
2007-02-14 10:04 ` mmitchel at gcc dot gnu dot org
2007-03-16 15:12 ` pinskia at gcc dot gnu dot org
2008-07-04 20:05 ` [Bug preprocessor/24024] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-31 18:58 ` [Bug preprocessor/24024] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
2010-05-22 19:01 ` [Bug preprocessor/24024] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
2005-09-22 21:33 [Bug preprocessor/24024] New: " stefan dot becker at nokia dot com
2005-09-22 21:39 ` [Bug preprocessor/24024] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-09-27 16:20 ` mmitchel at gcc dot gnu dot org
2005-09-27 17:07 ` segher at kernel dot crashing dot org

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