This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Tree sharing issues...
On Wed, 2003-11-19 at 18:21, Richard Henderson wrote:
> On Thu, Nov 20, 2003 at 12:17:30AM +0100, Jan Hubicka wrote:
> > The array reference above is other stuff. If you think it makes
> > sense, I will add check for ARRAY_REF with all operands passing
> > is_gimple_min_invariant. DOes that sound plausible?
>
> Yes. Similar with INDIRECT_REF,
>
No. INDIRECT_REF nodes must not be shared, we rename the operand inside
INDIRECT_REFs.
> ADDR_EXPR,
> COMPONENT_REF,
>
Same problem. We also rewrite inside COMPONENT_REFs.
Diego.