public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/18760] New: gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line
@ 2004-12-01 17:29 dpatel at apple dot com
2004-12-01 18:40 ` [Bug target/18760] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dpatel at apple dot com @ 2004-12-01 17:29 UTC (permalink / raw)
To: gcc-bugs
Following command line does not generate debug info for bar.c
gcc -gfull -O0 foo.c bar.c -o foobar
-gfull is a Darwin specific compiler option.
--
Summary: gcc 4.0 doesn't emit debug info for one of the files if
two files are given on the same compile line
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dpatel at apple dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-darwin
GCC host triplet: powerpc-darwin
GCC target triplet: powerpc-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18760
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/18760] gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line
2004-12-01 17:29 [Bug driver/18760] New: gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line dpatel at apple dot com
@ 2004-12-01 18:40 ` pinskia at gcc dot gnu dot org
2004-12-01 18:43 ` dpatel at apple dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-01 18:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-01 18:40 -------
Hmm, the problem is related to the specs says to delete gfull.
%{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }
but since we look the specs once per file, we remove the option for the first one but we don't have it for
the second one.
Maybe there is a better way of doing this.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|driver |target
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-01 18:40:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18760
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/18760] gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line
2004-12-01 17:29 [Bug driver/18760] New: gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line dpatel at apple dot com
2004-12-01 18:40 ` [Bug target/18760] " pinskia at gcc dot gnu dot org
@ 2004-12-01 18:43 ` dpatel at apple dot com
2004-12-02 1:47 ` pinskia at gcc dot gnu dot org
2004-12-02 23:33 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: dpatel at apple dot com @ 2004-12-01 18:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dpatel at apple dot com 2004-12-01 18:43 -------
Subject: Re: gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line
Yes :). I have the patch to fix it. Once bootstrap and make check
finishes, I will post it for review/approval.
-
Devang
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18760
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/18760] gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line
2004-12-01 17:29 [Bug driver/18760] New: gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line dpatel at apple dot com
2004-12-01 18:40 ` [Bug target/18760] " pinskia at gcc dot gnu dot org
2004-12-01 18:43 ` dpatel at apple dot com
@ 2004-12-02 1:47 ` pinskia at gcc dot gnu dot org
2004-12-02 23:33 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 1:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 01:46 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00114.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18760
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/18760] gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line
2004-12-01 17:29 [Bug driver/18760] New: gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line dpatel at apple dot com
` (2 preceding siblings ...)
2004-12-02 1:47 ` pinskia at gcc dot gnu dot org
@ 2004-12-02 23:33 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 23:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 23:33 -------
Fixed by:
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.
* config/rs6000/darwin.h (CC1_SPEC): Do not handle -gfull and -gused.
* config/i386/darwin.h (CC1_SPEC): Same.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18760
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-12-02 23:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-01 17:29 [Bug driver/18760] New: gcc 4.0 doesn't emit debug info for one of the files if two files are given on the same compile line dpatel at apple dot com
2004-12-01 18:40 ` [Bug target/18760] " pinskia at gcc dot gnu dot org
2004-12-01 18:43 ` dpatel at apple dot com
2004-12-02 1:47 ` pinskia at gcc dot gnu dot org
2004-12-02 23:33 ` pinskia at gcc dot gnu dot org
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).