diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-03-05 12:38:49 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-03-05 12:47:28 +0100 |
commit | 28354bc22bd66648891a875ee08ca2b27debf2a2 (patch) | |
tree | b43b40b41ae00495bb1794bfe9c8fed15c784c85 /gcc/ada/init.c | |
parent | 6ddedd3efa3fe482f76a4037521a06b3ac9f2a8b (diff) | |
download | gcc-28354bc22bd66648891a875ee08ca2b27debf2a2.zip gcc-28354bc22bd66648891a875ee08ca2b27debf2a2.tar.gz gcc-28354bc22bd66648891a875ee08ca2b27debf2a2.tar.bz2 |
Fix undefined behavior spotted by the sanitizer
gcc/
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.
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions