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

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).