This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/57519] DW_TAG_imported_declaration put in wrong class (base class instead of derived class)
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jun 2014 23:10:48 +0000
- Subject: [Bug debug/57519] DW_TAG_imported_declaration put in wrong class (base class instead of derived class)
- Auto-submitted: auto-generated
- References: <bug-57519-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57519
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 17 23:10:16 2014
New Revision: 211755
URL: https://gcc.gnu.org/viewcvs?rev=211755&root=gcc&view=rev
Log:
PR debug/57519
* class.c (handle_using_decl): Pass the correct scope to
cp_emit_debug_info_for_using.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/class.c