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

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