Re: [PATCH] Introduce LABEL_REF_LABEL

2014-09-11 Thread Richard Biener
On Thu, Sep 11, 2014 at 2:37 AM, David Malcolm wrote: > The following patch adds a macro: > > /* Get the label that a LABEL_REF references. */ > #define LABEL_REF_LABEL(LABREF) XCEXP (LABREF, 0, LABEL_REF) > > and uses it in place of XEXP (foo, 0) for "foo" known to be a > LABEL_REF, througho

[PATCH] Introduce LABEL_REF_LABEL

2014-09-10 Thread David Malcolm
The following patch adds a macro: /* Get the label that a LABEL_REF references. */ #define LABEL_REF_LABEL(LABREF) XCEXP (LABREF, 0, LABEL_REF) and uses it in place of XEXP (foo, 0) for "foo" known to be a LABEL_REF, throughout the "gcc" directory, in the hope of (A) improving the clarity of