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: [RFA] PR debug/41736


On 10/17/2009 07:39 AM, Dodji Seketeli wrote:
And the problem is that we are not generating template parameters debug info
for non complete types.

I'm not sure that's a problem. If the type isn't complete, there can't be any code in the compilation unit where the names of the template parms are in scope, so even though we can emit them, I don't think we want to.


The test in gen_generic_params_dies seems redundant, though, so that can go away. The code in gen_struct_or_union_type_die ought to be moved inside the if (complete && !ns_decl) block, at which point that test becomes redundant as well.

Jason


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