Re: [patch] Fix PR rtl-optimization/99376

2021-03-05 Thread Richard Biener via Gcc-patches
On Thu, Mar 4, 2021 at 7:28 PM Eric Botcazou 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 > > PR rtl-optimization/99376 > *

[patch] Fix PR rtl-optimization/99376

2021-03-04 Thread Eric Botcazou
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? 2021-03-04 Eric Botcazou PR rtl-optimization/99376 * rtlanal.c (nonzero_bits1) : If the number of low-order zero bits