[PATCH 6/7] Move PAT_VAR_LOCATION_STATUS to rtx header
Jeff Law
law@redhat.com
Mon May 12 16:01:00 GMT 2014
On 05/10/14 14:22, Richard Sandiford wrote:
> This is the other case (apart from INSN_UID) in which the field being
> moved is an "i". I kept the gen_rtx_VAR_LOCATION interface the same
> by writing it in C code. As with INSN_UID, removing an "i" is safe
> because genrecog and the equality routines don't care about VAR_LOCATIONs.
> (Equality would only being meaningful if we also checked the decl in the
> 't' field.)
>
> Tested on x86_64-linux-gnu. OK to install?
>
> Thanks,
> Richard
>
>
> gcc/
> * rtl.def (VAR_LOCATION): Remove "i" field.
> * rtl.h (rtx_def): Add u2.var_location_status.
> (PAT_VAR_LOCATION_STATUS): Use it.
> (gen_rtx_VAR_LOCATION): Declare.
> * gengenrtl.c (excluded_rtx): Add VAR_LOCATION.
> * emit-rtl.c (gen_rtx_VAR_LOCATION): New function.
> * var-tracking.c (emit_note_insn_var_location): Remove casts.
OK.
Jeff
More information about the Gcc-patches
mailing list