reload cse may delete loads it shouldn't

Richard Henderson rth@redhat.com
Thu Apr 17 00:18:00 GMT 2003


On Wed, Apr 16, 2003 at 08:01:04PM -0300, Alexandre Oliva wrote:
> 	* reload1.c (reload_cse_noop_set_p): Return false if mode of
> 	SET_DEST is not the same as that returned by...
> 	* cselib.h (cselib_reg_set_mode): ... new function.
> 	* cselib.c (cselib_reg_set_mode): Define it.
> 	(REG_VALUES): Document semantics of first element as set mode.
> 	(cselib_subst_to_values): Skip first element if ELT is NULL.
> 	(cselib_lookup): Likewise.  Insert past the first element.
> 	(cselib_invalidate_regno): NULLify first element.
> 	(cselib_record_set): Set first element.

Ok.


r~



More information about the Gcc-patches mailing list