This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR debug/57519 - Emit DW_TAG_imported_declaration under the right class for 'using' statements in a class
- From: Cary Coutant <ccoutant at google dot com>
- To: Siva Chandra <sivachandra at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 3 Apr 2014 16:34:07 -0700
- Subject: Re: [PATCH] PR debug/57519 - Emit DW_TAG_imported_declaration under the right class for 'using' statements in a class
- Authentication-results: sourceware.org; auth=none
- References: <CAGyQ6gw=23sinUtDsQh5JyJn+fJD5H4iD3EfsF27rFhmtABFgw at mail dot gmail dot com>
> ChangeLog:
> 2014-03-25 Siva Chandra Reddy <sivachandra@google.com>
>
> Fix PR debug/57519
>
> /cp
>
> PR debug/57519
> * class.c (handle_using_decl): Pass the correct scope to
> cp_emit_debug_info_for_using.
>
> testsuite/
>
> PR debug/57519
> * g++.dg/debug/dwarf2/imported-decl-2.C: New testcase.
This looks right to me, but you'll need approval from a C++ front end
maintainer.
Thanks!
-cary