2012/11/25 Mikael Morin <mikael.mo...@sfr.fr>:
> Le 11/10/2012 23:49, Janus Weil a écrit :
>
>> Hi all,
>>
>> here is an OOP patch for the above PR, which has two disconnected parts:
>>
>> 1) It fixes a problem with ASSOCIATED, when it is fed a CLASS-valued
>> function as argument (i.e. the ICE in the bug title). This is the
>> trans-intrinsic part of the patch. Instead of adding the _data
>> component to the expr first and translating then, we now translate
>> first and then add the _data component.
>>
>> 2) It fixes an error with SELECT TYPE (which is a 4.8 regression), by
>> respecting the POINTER argument of the selector when building the
>> temporaries for the select type branches. This is the match.c part of
>> the patch, which looks much more complicated than it is, because I
>> merged two functions into one, which do essentially the same. I think
>> they were at some point split up by Paul, but I see no advantage this,
>> to be honest.
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>
>
> Looks good to me. Thanks, and sorry for the delay.

Thanks, Mikael. Committed as r193809.

Cheers,
Janus

Reply via email to