aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-03-05 12:38:49 +0100
committerEric Botcazou <ebotcazou@adacore.com>2021-03-05 12:47:28 +0100
commit28354bc22bd66648891a875ee08ca2b27debf2a2 (patch)
treeb43b40b41ae00495bb1794bfe9c8fed15c784c85 /gcc/ada/init.c
parent6ddedd3efa3fe482f76a4037521a06b3ac9f2a8b (diff)
downloadgcc-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