public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/12375] New: [3.3/3.4 regression] cpp inserting a spurious newline
@ 2003-09-23 12:59 debian-gcc at lists dot debian dot org
  2003-09-23 14:28 ` [Bug preprocessor/12375] " drow at mvista dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2003-09-23 12:59 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=12375

           Summary: [3.3/3.4 regression] cpp inserting a spurious newline
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org

[forwarded from http://bugs.debian.org/210482]

cpp is inserting a spurious newline after occurrance of
a macro with arguments withourt parentheses (which it is supposed to
leave alone):

falk@juist:/tmp% cat first.S
#define S(x) foobar
foo ! S
bar
falk@juist:/tmp% cpp-3.2 < first.S
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "<stdin>"

foo ! S
bar
falk@juist:/tmp% cpp-3.3 < first.S
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "<stdin>"

foo !
 S
# 3 "<stdin>"
bar

Bug still there in cpp 3.4 20030911.


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

* [Bug preprocessor/12375] [3.3/3.4 regression] cpp inserting a spurious newline
  2003-09-23 12:59 [Bug preprocessor/12375] New: [3.3/3.4 regression] cpp inserting a spurious newline debian-gcc at lists dot debian dot org
@ 2003-09-23 14:28 ` drow at mvista dot com
  2003-09-23 21:41 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: drow at mvista dot com @ 2003-09-23 14:28 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=12375



------- Additional Comments From drow at mvista dot com  2003-09-23 12:59 -------
Subject: Re:  New: [3.3/3.4 regression] cpp inserting a spurious newline

On Tue, Sep 23, 2003 at 08:56:29AM -0000, debian-gcc at lists dot debian dot org wrote:
> Bug still there in cpp 3.4 20030911.

Try a newer snapshot, Alexandre fixed this.


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

* [Bug preprocessor/12375] [3.3/3.4 regression] cpp inserting a spurious newline
  2003-09-23 12:59 [Bug preprocessor/12375] New: [3.3/3.4 regression] cpp inserting a spurious newline debian-gcc at lists dot debian dot org
  2003-09-23 14:28 ` [Bug preprocessor/12375] " drow at mvista dot com
@ 2003-09-23 21:41 ` pinskia at gcc dot gnu dot org
  2003-09-24  4:32 ` pinskia at gcc dot gnu dot org
  2003-12-09 18:30 ` dhazeghi at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-23 21:41 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=12375


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-23 21:25 -------
Already fixed in 3.3 branch and the mainline, try again.


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

* [Bug preprocessor/12375] [3.3/3.4 regression] cpp inserting a spurious newline
  2003-09-23 12:59 [Bug preprocessor/12375] New: [3.3/3.4 regression] cpp inserting a spurious newline debian-gcc at lists dot debian dot org
  2003-09-23 14:28 ` [Bug preprocessor/12375] " drow at mvista dot com
  2003-09-23 21:41 ` pinskia at gcc dot gnu dot org
@ 2003-09-24  4:32 ` pinskia at gcc dot gnu dot org
  2003-12-09 18:30 ` dhazeghi at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-24  4:32 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=12375


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-24 04:02 -------
Closing as fixed.


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

* [Bug preprocessor/12375] [3.3/3.4 regression] cpp inserting a spurious newline
  2003-09-23 12:59 [Bug preprocessor/12375] New: [3.3/3.4 regression] cpp inserting a spurious newline debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2003-09-24  4:32 ` pinskia at gcc dot gnu dot org
@ 2003-12-09 18:30 ` dhazeghi at yahoo dot com
  3 siblings, 0 replies; 5+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-09 18:30 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.3.2


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


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

end of thread, other threads:[~2003-12-09 18:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-23 12:59 [Bug preprocessor/12375] New: [3.3/3.4 regression] cpp inserting a spurious newline debian-gcc at lists dot debian dot org
2003-09-23 14:28 ` [Bug preprocessor/12375] " drow at mvista dot com
2003-09-23 21:41 ` pinskia at gcc dot gnu dot org
2003-09-24  4:32 ` pinskia at gcc dot gnu dot org
2003-12-09 18:30 ` dhazeghi at yahoo dot com

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