https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128142

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
The easy way of fixing this instead of get_nonzero_bits to use ranger to make
sure the add does not overflow.

That is:
gimple_match_range_of_expr (vr0, @0)
gimple_match_range_of_expr (vr1, @1)
range_op_handler (PLUS_EXPR).overflow_free_p (vr0, vr1)

Reply via email to