Re: [PATCH 3/5] INSN_LOCATION takes an rtx_insn

2014-09-09 Thread Jeff Law
On 09/08/14 15:29, David Malcolm wrote: gcc/ * rtl.h (INSN_LOCATION): Strengthen param from const_rtx to const rtx_insn *, and from rtx to rtx_insn * for the other overloaded variant. (RTL_LOCATION): Add a checked cast to rtx_insn * when invoking INSN_LOCAT

[PATCH 3/5] INSN_LOCATION takes an rtx_insn

2014-09-08 Thread David Malcolm
gcc/ * rtl.h (INSN_LOCATION): Strengthen param from const_rtx to const rtx_insn *, and from rtx to rtx_insn * for the other overloaded variant. (RTL_LOCATION): Add a checked cast to rtx_insn * when invoking INSN_LOCATION, since we know INSN_P holds. (