[Bug debug/57519] DW_TAG_imported_declaration put in wrong class (base class instead of derived class)
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 2 22:11:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57519
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 2 22:10:57 2014
New Revision: 211151
URL: http://gcc.gnu.org/viewcvs?rev=211151&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:
trunk/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
More information about the Gcc-bugs
mailing list