public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/17538] New: Filename and IMA
@ 2004-09-17 18:28 dpatel at apple dot com
2004-09-17 18:32 ` [Bug c/17538] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: dpatel at apple dot com @ 2004-09-17 18:28 UTC (permalink / raw)
To: gcc-bugs
The debug info believes everything is in the first file.
aaa.c:
main() { print(); }
bbb.c:
print() { printf("hello world\n"); }
gcc -g aa.c bb.c -combine -S
This produces a single output file, aa.s, containing both functions.
However it has only one filename stab,
.stabs "aaa.c",100,0,0,0
so everything appears to be in that file.
--
Summary: Filename and IMA
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dpatel at apple dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: powerpc-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17538
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/17538] [4.0 Regression] Filename and IMA
2004-09-17 18:28 [Bug other/17538] New: Filename and IMA dpatel at apple dot com
@ 2004-09-17 18:32 ` pinskia at gcc dot gnu dot org
2004-09-25 17:17 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-17 18:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-17 18:32 -------
This is a 4.0.0 regression.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|other |c
Ever Confirmed| |1
GCC host triplet|powerpc-darwin |
Keywords| |diagnostic, wrong-debug
Last reconfirmed|0000-00-00 00:00:00 |2004-09-17 18:32:05
date| |
Summary|Filename and IMA |[4.0 Regression] Filename
| |and IMA
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17538
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/17538] [4.0 Regression] Filename and IMA
2004-09-17 18:28 [Bug other/17538] New: Filename and IMA dpatel at apple dot com
2004-09-17 18:32 ` [Bug c/17538] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-25 17:17 ` pinskia at gcc dot gnu dot org
2004-10-10 4:39 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-25 17:17 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Last reconfirmed|2004-09-17 18:32:05 |2004-09-25 17:17:33
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17538
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/17538] [4.0 Regression] Filename and IMA
2004-09-17 18:28 [Bug other/17538] New: Filename and IMA dpatel at apple dot com
2004-09-17 18:32 ` [Bug c/17538] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-25 17:17 ` pinskia at gcc dot gnu dot org
@ 2004-10-10 4:39 ` pinskia at gcc dot gnu dot org
2004-10-10 4:43 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-10 4:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-10 04:39 -------
I have a fix, it is a simple one liner, I will post it soon to gcc-patches@:
Index: c-opts.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/c-opts.c,v
retrieving revision 1.128
diff -u -p -r1.128 c-opts.c
--- c-opts.c 3 Oct 2004 20:53:04 -0000 1.128
+++ c-opts.c 10 Oct 2004 04:39:07 -0000
@@ -1355,7 +1355,7 @@ push_command_line_include (void)
cpp_opts->warn_unused_macros = warn_unused_macros;
/* Restore the line map from <command line>. */
if (!cpp_opts->preprocessed)
- cpp_change_file (parse_in, LC_RENAME, main_input_filename);
+ cpp_change_file (parse_in, LC_RENAME, this_input_filename);
/* Set this here so the client can change the option if it wishes,
and after stacking the main file so we don't trace the main file. */
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17538
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/17538] [4.0 Regression] Filename and IMA
2004-09-17 18:28 [Bug other/17538] New: Filename and IMA dpatel at apple dot com
` (2 preceding siblings ...)
2004-10-10 4:39 ` pinskia at gcc dot gnu dot org
@ 2004-10-10 4:43 ` pinskia at gcc dot gnu dot org
2004-10-21 16:31 ` pinskia at gcc dot gnu dot org
2004-10-21 16:32 ` cvs-commit at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-10 4:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-10 04:43 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00843.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17538
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/17538] [4.0 Regression] Filename and IMA
2004-09-17 18:28 [Bug other/17538] New: Filename and IMA dpatel at apple dot com
` (3 preceding siblings ...)
2004-10-10 4:43 ` pinskia at gcc dot gnu dot org
@ 2004-10-21 16:31 ` pinskia at gcc dot gnu dot org
2004-10-21 16:32 ` cvs-commit at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-21 16:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-21 16:31 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17538
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/17538] [4.0 Regression] Filename and IMA
2004-09-17 18:28 [Bug other/17538] New: Filename and IMA dpatel at apple dot com
` (4 preceding siblings ...)
2004-10-21 16:31 ` pinskia at gcc dot gnu dot org
@ 2004-10-21 16:32 ` cvs-commit at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-21 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-21 16:32 -------
Subject: Bug 17538
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-10-21 16:31:59
Modified files:
gcc : ChangeLog c-opts.c
Log message:
2004-10-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17538
* c-opts.c (push_command_line_include): Use the current file
name instead of the main one.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5975&r2=2.5976
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&r1=1.129&r2=1.130
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17538
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-10-21 16:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-17 18:28 [Bug other/17538] New: Filename and IMA dpatel at apple dot com
2004-09-17 18:32 ` [Bug c/17538] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-25 17:17 ` pinskia at gcc dot gnu dot org
2004-10-10 4:39 ` pinskia at gcc dot gnu dot org
2004-10-10 4:43 ` pinskia at gcc dot gnu dot org
2004-10-21 16:31 ` pinskia at gcc dot gnu dot org
2004-10-21 16:32 ` cvs-commit 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).