On Mon, Jul 25, 2011 at 21:03, Dimitrios Apostolou <ji...@gmx.net> wrote:
>        * hard-reg-set.h (TEST_HARD_REG_BIT, SET_HARD_REG_BIT,
> CLEAR_HARD_REG_BIT): Added some assert checks for test, set and clear
> operations of HARD_REG_SETs, enabled when RTL checks are on. Runtime
> overhead was measured as negligible.

This should be

       * hard-reg-set.h (gcc_rtl_assert): New macro.
        (TEST_HARD_REG_BIT, SET_HARD_REG_BIT,
        CLEAR_HARD_REG_BIT): Define independent of HARD_REG_SET,
        forwarding to...
        (hard_reg_set_set_bit, hard_reg_set_clear_bit, hard_reg_set_bit_p):
        ... these new functions.  Add range assertions on bit argument.

I cannot approve the patch though.

Thanks,

Paolo

Reply via email to