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.
Jason