public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/4608: --save-temps breaks location information in dwarf1 output
@ 2001-11-04 22:41 neil
0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2001-11-04 22:41 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c/4608; it has been noted by GNATS.
From: neil@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
ms@siroyan.com, nobody@gcc.gnu.org
Cc:
Subject: Re: c/4608: --save-temps breaks location information in dwarf1 output
Date: 15 Nov 2001 21:52:30 -0000
Synopsis: --save-temps breaks location information in dwarf1 output
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Thu Nov 15 13:52:30 2001
State-Changed-Why:
Fixed in 3.1 branch.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4608&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c/4608: --save-temps breaks location information in dwarf1 output
@ 2001-11-04 15:37 neil
0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2001-11-04 15:37 UTC (permalink / raw)
To: gcc-bugs, gcc-gnats, gcc-prs, ms, nobody
Synopsis: --save-temps breaks location information in dwarf1 output
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Thu Nov 15 13:52:30 2001
State-Changed-Why:
Fixed in 3.1 branch.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4608&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* c/4608: --save-temps breaks location information in dwarf1 output
@ 2001-10-18 9:16 ms
0 siblings, 0 replies; 3+ messages in thread
From: ms @ 2001-10-18 9:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 4608
>Category: c
>Synopsis: --save-temps breaks location information in dwarf1 output
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 18 09:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.0.1
>Organization:
>Environment:
System: SunOS stl01 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4
host: sparc-sun-solaris2.7
build: sparc-sun-solaris2.7
target: sparc-sun-solaris2.7
configured with: ../gcc/configure --prefix=/home/ms/native : (reconfigured) ../gcc/configure --prefix=/home/ms/native
>Description:
--save-temps causes the .c file to be processed by an external cpp and the
resulting .i file to be passed into cc1. There are a number of comments in toplevel.c
and elsewhere which indicate that the correct orignal filename id (.c) should be
extracted from the initial #line directive and placed into "main_filename". This variable
is passed into the dwarf emitter in order to emit the name of the original file.
In practice "main_filename" remains set at the default .i filename causeing the dwarf
emitter to emit the .i name instead of the .c.
>How-To-Repeat:
Compile any source .c with the options:
gcc --save-temps -gdwarf -g1 t.c
Inspecting the dwarf in the resulting t.s file will indicate the .i source instead
of the .c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-11-15 21:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-04 22:41 c/4608: --save-temps breaks location information in dwarf1 output neil
-- strict thread matches above, loose matches on Subject: below --
2001-11-04 15:37 neil
2001-10-18 9:16 ms
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).