This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Small cleanups to cse.c


> @@ -3715,9 +3710,11 @@ record_jump_equiv (rtx insn, int taken)
>    int reversed_nonequality = 0;
>    enum rtx_code code;
>
> +#ifdef ENABLE_CHECKING
>    /* Ensure this is the right kind of insn.  */
> -  if (! any_condjump_p (insn))
> -    return;
> +  gcc_assert (any_condjump_p (insn));
> +#endif

gcc_assert is generally not guarded like that.  Could you add a small comment?

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]