This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/12375] New: [3.3/3.4 regression] cpp inserting a spurious newline
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2003 08:56:29 -0000
- Subject: [Bug preprocessor/12375] New: [3.3/3.4 regression] cpp inserting a spurious newline
- 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=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.