Re: [PATCH 1/7] make LABEL_REF_LABEL a rtx_insn *

2016-10-18 Thread Bernd Schmidt
On 10/17/2016 09:46 PM, tbsaunde+...@tbsaunde.org wrote: +static inline void +set_label_ref_label (rtx ref, rtx_insn *label) +{ + XCEXP (ref, 0, LABEL_REF) = label; +} I guess I have to ask for a brief function comment for this. Otherwise OK. Bernd

[PATCH 1/7] make LABEL_REF_LABEL a rtx_insn *

2016-10-17 Thread tbsaunde+gcc
From: Trevor Saunders While chainging LABEL_REF_LABEL it might as well become an inline function, so that its clearer what types are involved. Unfortunately because it is still possible to use XEXP and related macros on a LABEL_REF rtx you can still set the field to be a non insn rtx. The other