On Thu, Mar 4, 2021 at 7:28 PM Eric Botcazou <botca...@adacore.com> wrote:
>
> Hi,
>
> this is an undefined behavior spotted by the sanitizer that has managed to go
> unnoticed until now.  Tested on x86-64/Linux, OK for the mainline?

OK.

>
> 2021-03-04  Eric Botcazou  <ebotca...@adacore.com>
>
>         PR rtl-optimization/99376
>         * rtlanal.c (nonzero_bits1) <arithmetic operators>: If the number
>         of low-order zero bits is too large, set the result to 0 directly.
>
> --
> Eric Botcazou

Reply via email to