public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: preprocessor/5288: "cpp -traditional -dD" does not output preprocessing result
@ 2002-06-18 3:38 neil
0 siblings, 0 replies; 6+ messages in thread
From: neil @ 2002-06-18 3:38 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, neil, nobody, schnetter
Synopsis: "cpp -traditional -dD" does not output preprocessing result
Responsible-Changed-From-To: unassigned->neil
Responsible-Changed-By: neil
Responsible-Changed-When: Tue Jun 18 03:38:10 2002
Responsible-Changed-Why:
I'm working on integrating a traditional preprocessor, upon which this will be fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5288
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: preprocessor/5288: "cpp -traditional -dD" does not output preprocessing result
@ 2002-06-20 14:50 neil
0 siblings, 0 replies; 6+ messages in thread
From: neil @ 2002-06-20 14:50 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, neil, schnetter
Synopsis: "cpp -traditional -dD" does not output preprocessing result
State-Changed-From-To: analyzed->closed
State-Changed-By: neil
State-Changed-When: Thu Jun 20 14:46:21 2002
State-Changed-Why:
Fixed for 3.2.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5288
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: preprocessor/5288: "cpp -traditional -dD" does not output preprocessing result
@ 2002-01-06 9:39 rodrigc
0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2002-01-06 9:39 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, schnetter
Synopsis: "cpp -traditional -dD" does not output preprocessing result
State-Changed-From-To: feedback->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 6 09:39:52 2002
State-Changed-Why:
Problem reproduced in gcc 3.0.3 and gcc 3.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5288
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: preprocessor/5288: "cpp -traditional -dD" does not output preprocessing result
@ 2002-01-06 9:06 Erik Schnetter
0 siblings, 0 replies; 6+ messages in thread
From: Erik Schnetter @ 2002-01-06 9:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR preprocessor/5288; 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/5288: "cpp -traditional -dD" does not output preprocessing result
Date: Sun, 6 Jan 2002 17:57:24 +0100
On Sunday 06 January 2002 16:43, rodrigc@gcc.gnu.org wrote:
> Synopsis: "cpp -traditional -dD" does not output preprocessing result
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Sun Jan 6 07:43:21 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=5288
Sorry, I thought my description was clear. The example is really simple, so
I omitted it.
Try a source file that has a single line only, consiting of a single
character "a" only. According to the docs, the output should contain the
same line, in addition to several #define statements. But the output has
only #define statements.
-erik
--
Erik Schnetter <schnetter@uni-tuebingen.de>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: preprocessor/5288: "cpp -traditional -dD" does not output preprocessing result
@ 2002-01-06 7:43 rodrigc
0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2002-01-06 7:43 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, schnetter
Synopsis: "cpp -traditional -dD" does not output preprocessing result
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 6 07:43:21 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=5288
^ permalink raw reply [flat|nested] 6+ messages in thread
* preprocessor/5288: "cpp -traditional -dD" does not output preprocessing result
@ 2002-01-06 4:46 schnetter
0 siblings, 0 replies; 6+ messages in thread
From: schnetter @ 2002-01-06 4:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 5288
>Category: preprocessor
>Synopsis: "cpp -traditional -dD" does not output preprocessing result
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 06 04:46: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:
When calling cpp as "cpp -traditional -dD", it is supposed to output
both the #defines and the result of the precprocessing. However, with
these options cpp outputs only the #defines and does not output the
result of the preprocessing. (The option combination "cpp -dD"
(without the "-traditional") works fine.)
>How-To-Repeat:
>Fix:
A work around is to run cpp twice, once as "cpp -traditional -dD" to
get the #defines in effect, and once as "cpp -traditional" to get the
result of the preprocessing.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-06-20 21:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18 3:38 preprocessor/5288: "cpp -traditional -dD" does not output preprocessing result neil
-- strict thread matches above, loose matches on Subject: below --
2002-06-20 14:50 neil
2002-01-06 9:39 rodrigc
2002-01-06 9:06 Erik Schnetter
2002-01-06 7:43 rodrigc
2002-01-06 4:46 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).