diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2025-07-03 11:56:28 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@ucw.cz> | 2025-07-03 11:57:20 +0200 |
commit | a52484f1ac34dbb604dc862407d9abb32df444dd (patch) | |
tree | a35bd50ccdc7a7c2417fe9fec5064b49b71df35b /libcpp | |
parent | 15413e05eb9cde976b8890cd9b597d0a41a8eb27 (diff) | |
download | gcc-a52484f1ac34dbb604dc862407d9abb32df444dd.zip gcc-a52484f1ac34dbb604dc862407d9abb32df444dd.tar.gz gcc-a52484f1ac34dbb604dc862407d9abb32df444dd.tar.bz2 |
Fix division by zero in ipa-cp.cc:update_profiling_info
This ICE has triggered for me during autoprofiledbootstrap. The
code already takes into care possible range, so I think in this case
we can just push to one side of it.
Bootstrapped/regtesed x86_64-linux, OK?
gcc/ChangeLog:
* ipa-cp.cc (update_profiling_info): Watch for division by zero.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions