On Tue, Nov 1, 2016 at 9:56 AM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Mon, Oct 31, 2016 at 09:56:28AM -0400, Jason Merrill wrote:
>> >Or by changing get_qualified_die (in particular check_base_type) to use a
>> >langhook, we could at least for DW_AT_{reference,rvalue_reference} just use
>> >equate_type_number_to_die/lookup_type_die reliably (DW_AT_endianity issue
>> >remains).
>>
>> Yeah, I think that adding a langhook is the right way to go.  The generic
>> code clobbering C++ qualifiers is a frequent headache.
>
> I've tried to implement that, but am getting some TYPE_CANONICAL differences
> because of that, and am really lost what the problem is and how to fix it.
> Furthermore, I bet the exception specification also should be considered in
> that langhook.

Yes.  I'll take a look.

Jason

Reply via email to