patch: CONST_VECTOR (was clear_storage)

Richard Henderson rth@redhat.com
Mon Feb 18 16:39:00 GMT 2002


On Tue, Feb 19, 2002 at 11:11:35AM +1100, Aldy Hernandez wrote:
> i guess what i don't understand is why rtx_equal_p returns 0
> for CONST_INT/DOUBLE presently.

Because we've already done

  if (x == y)
    return 1;

Since all values are unique, pointer equality is identical
to value equality.

> perhaps it is ok to leave things as is if i keep CONST_VECTORs
> unique in reg_mentioned_p as you suggested (?).

Yes.

> > Ok, this is just wrong.  Well, until vectors were invented it
> > was correct.  The unit size thing only applies to complex modes;
> > otherwise we should use the whole size.
> 
> i'll put this on my list to fix after this.  the patch is getting
> pretty hairy as is.

Ok.


r~



More information about the Gcc-patches mailing list