This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trans-mem] PR46653: handle identical log entries in hash
On 11/29/2010 07:45 AM, Aldy Hernandez wrote:
>
>> Yes, but COMPONENT_REF<s, a> isn't shared so the pointer comparison
>> will fail.
>>
>
> Ah, I see. What do you suggest, special casing COMPONENT_REF as well?
I suggest that we get rid of the component refs etc. I.e. resolve the
reference to base + offset.
We may need to actually finish a merge with mainline for this, since we'd
like to be presented with Richi's MEM_REF_EXPRs more often than not. But
in the meantime your tm_log_entry could save the results of get_inner_reference.
r~