public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/39387] New: [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions
@ 2009-03-05 21:22 jakub at gcc dot gnu dot org
2009-03-05 21:25 ` [Bug debug/39387] " jakub at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-03-05 21:22 UTC (permalink / raw)
To: gcc-bugs
For
namespace A
{
int i;
}
void
f ()
{
using namespace A;
i++;
}
with -g -dA g++ 4.3 used correct
.byte 0x9 # DW_AT_decl_line
for DW_TAG_imported*, but 4.4 uses
.byte 0xb # DW_AT_decl_line
(which is the end of the function, not the location of the using namespace
directive).
--
Summary: [4.4 Regression] Wrong DW_AT_decl_line on
DW_TAG_imported* for using directives in C+ functions
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: jakub at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39387
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debug/39387] [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions
2009-03-05 21:22 [Bug debug/39387] New: [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions jakub at gcc dot gnu dot org
@ 2009-03-05 21:25 ` jakub at gcc dot gnu dot org
2009-03-05 21:26 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-03-05 21:25 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-03-05 21:25:12
date| |
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39387
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debug/39387] [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions
2009-03-05 21:22 [Bug debug/39387] New: [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions jakub at gcc dot gnu dot org
2009-03-05 21:25 ` [Bug debug/39387] " jakub at gcc dot gnu dot org
@ 2009-03-05 21:26 ` jakub at gcc dot gnu dot org
2009-03-06 9:48 ` jakub at gcc dot gnu dot org
2009-03-06 10:31 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-03-05 21:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jakub at gcc dot gnu dot org 2009-03-05 21:25 -------
Created an attachment (id=17401)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17401&action=view)
gcc44-pr39387.patch
Patch I'm going to bootstrap/regtest.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39387
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debug/39387] [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions
2009-03-05 21:22 [Bug debug/39387] New: [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions jakub at gcc dot gnu dot org
2009-03-05 21:25 ` [Bug debug/39387] " jakub at gcc dot gnu dot org
2009-03-05 21:26 ` jakub at gcc dot gnu dot org
@ 2009-03-06 9:48 ` jakub at gcc dot gnu dot org
2009-03-06 10:31 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-03-06 9:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2009-03-06 09:48 -------
Subject: Bug 39387
Author: jakub
Date: Fri Mar 6 09:48:25 2009
New Revision: 144666
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144666
Log:
PR debug/39387
* dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
take locus from its DECL_SOURCE_LOCATION instead of input_location.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39387
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debug/39387] [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions
2009-03-05 21:22 [Bug debug/39387] New: [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-03-06 9:48 ` jakub at gcc dot gnu dot org
@ 2009-03-06 10:31 ` jakub at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-03-06 10:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2009-03-06 10:31 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39387
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-03-06 10:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 21:22 [Bug debug/39387] New: [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions jakub at gcc dot gnu dot org
2009-03-05 21:25 ` [Bug debug/39387] " jakub at gcc dot gnu dot org
2009-03-05 21:26 ` jakub at gcc dot gnu dot org
2009-03-06 9:48 ` jakub at gcc dot gnu dot org
2009-03-06 10:31 ` jakub 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).