[C++ Patch / RFC] PR 38174

Paolo Carlini paolo.carlini@oracle.com
Fri Oct 14 15:05:00 GMT 2011


Hi,
> On 10/13/2011 10:37 PM, Paolo Carlini wrote:
>> +      if ((TYPE_PTR_P (type1) && TYPE_PTR_P (type2))
>> +      || (TYPE_PTRMEM_P (type1) && TYPE_PTRMEM_P (type2))
>> +      || TYPE_PTRMEMFUNC_P (type1))
>
> You don't need to check TYPE_PTR_P or TYPE_PTRMEM_P for type2 here (or 
> in the condition above) because we already established that type1 and 
> type2 have the same TREE_CODE.  OK with that change.
Thanks. I'm finishing regtesting again the below variant and mean to 
commit it if everything goes well.

Paolo.

//////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_38174
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111014/c3b399f0/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_38174
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111014/c3b399f0/attachment-0001.ksh>


More information about the Gcc-patches mailing list