This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR c++/30195


On 11/11/2011 04:42 AM, Dodji Seketeli wrote:
Fabien ChÃne<fabien.chene@gmail.com> a Ãcrit:

Are the other debugging backends not interested at all in USING_DECLs ?

The way debug info is generated for USING_DECLs is that handle_using_decl (via cp_emit_debug_info_for_using) asks the backend to generate debug info for the DECLs the USING_DECL resolves to, basically. AIUI, the backend is not supposed to handle the USING_DECL himself.

That seems to be only used for namespace- or function-scope using-declarations; we don't do anything for class-scope using-declarations currently. DWARF2 is interested in them, but that seems like a separate chunk of work, so for now let's just set DECL_IGNORED_P like Dodji suggested.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]