public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: preprocessor/5289: "cpp -traditional" inserts spurious line breaks
@ 2002-01-06 9:34 rodrigc
0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2002-01-06 9:34 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, schnetter
Synopsis: "cpp -traditional" inserts spurious line breaks
State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 6 09:34:29 2002
State-Changed-Why:
Fixed in gcc 3.1
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5289
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: preprocessor/5289: "cpp -traditional" inserts spurious line breaks
@ 2002-01-06 9:26 Erik Schnetter
0 siblings, 0 replies; 6+ messages in thread
From: Erik Schnetter @ 2002-01-06 9:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR preprocessor/5289; it has been noted by GNATS.
From: Erik Schnetter <schnetter@uni-tuebingen.de>
To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: preprocessor/5289: "cpp -traditional" inserts spurious line breaks
Date: Sun, 6 Jan 2002 18:16:49 +0100
On Sunday 06 January 2002 18:04, rodrigc@gcc.gnu.org wrote:
> I can reproduce your problem with gcc 3.0.3.
> I do not get the same thing with gcc 3.1.
[schnipp]
> Is this what you are looking for?
Yes, it is. Thank you.
-erik
--
Erik Schnetter <schnetter@uni-tuebingen.de>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: preprocessor/5289: "cpp -traditional" inserts spurious line breaks
@ 2002-01-06 9:04 rodrigc
0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2002-01-06 9:04 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, schnetter
Synopsis: "cpp -traditional" inserts spurious line breaks
State-Changed-From-To: feedback->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 6 09:04:20 2002
State-Changed-Why:
I can reproduce your problem with gcc 3.0.3.
I do not get the same thing with gcc 3.1.
With gcc 3.1 20020104 (experimental), I get:
# 1 "b.c"
(b)
Is this what you are looking for?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5289
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: preprocessor/5289: "cpp -traditional" inserts spurious line breaks
@ 2002-01-06 8:56 Erik Schnetter
0 siblings, 0 replies; 6+ messages in thread
From: Erik Schnetter @ 2002-01-06 8:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR preprocessor/5289; it has been noted by GNATS.
From: Erik Schnetter <schnetter@uni-tuebingen.de>
To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: preprocessor/5289: "cpp -traditional" inserts spurious line breaks
Date: Sun, 6 Jan 2002 17:53:22 +0100
On Sunday 06 January 2002 16:42, rodrigc@gcc.gnu.org wrote:
> Synopsis: "cpp -traditional" inserts spurious line breaks
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Sun Jan 6 07:42:39 2002
> State-Changed-Why:
> Can you submit an example, with a description?
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&
>pr=5289
What is wrong with my example and my description in the section
"How-To-Tepeat"? Both show up fine, at least in the gnatsweb interface on
"http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5289".
Or are you looking for attached files? The gccbug script didn't give me the
opportunity to attach files, although the web interface has such a section.
-erik
--
Erik Schnetter <schnetter@uni-tuebingen.de>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: preprocessor/5289: "cpp -traditional" inserts spurious line breaks
@ 2002-01-06 7:42 rodrigc
0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2002-01-06 7:42 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, schnetter
Synopsis: "cpp -traditional" inserts spurious line breaks
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 6 07:42:39 2002
State-Changed-Why:
Can you submit an example, with a description?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5289
^ permalink raw reply [flat|nested] 6+ messages in thread
* preprocessor/5289: "cpp -traditional" inserts spurious line breaks
@ 2002-01-06 5:16 schnetter
0 siblings, 0 replies; 6+ messages in thread
From: schnetter @ 2002-01-06 5:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 5289
>Category: preprocessor
>Synopsis: "cpp -traditional" inserts spurious line breaks
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Sun Jan 06 05:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Erik Schnetter
>Release: 3.0.3
>Organization:
Theoretische Astrophysik Tuebingen
>Environment:
System: Linux lilypond 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.0.3/configure --prefix=/home/eschnett/gcc
>Description:
I use cpp to preprocess Fortran 77 code. I call cpp as "cpp
-traditional", and I find that cpp inserts spurious line breaks under
certain circumstances. cpp from gcc 2.95.3 works fine under the same
circumstances.
>How-To-Repeat:
The following three lines of source code (the first line ends with the
backslash) (note the second, empty line)
#define a b\
(a)
get wrongly preprocessed into the three lines
(b
)
I think that the result should consist of two lines only, namely
(b)
without the line break before the closing paren.
The above constellation appears in automatically generated code.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-01-06 17:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-06 9:34 preprocessor/5289: "cpp -traditional" inserts spurious line breaks rodrigc
-- strict thread matches above, loose matches on Subject: below --
2002-01-06 9:26 Erik Schnetter
2002-01-06 9:04 rodrigc
2002-01-06 8:56 Erik Schnetter
2002-01-06 7:42 rodrigc
2002-01-06 5:16 schnetter
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).