diff options
author | Jan Hubicka <jh@suse.cz> | 2023-08-14 17:55:33 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2023-08-14 17:55:33 +0200 |
commit | 882af290c137dfab5d99b88e6dbecc5e75d85a0b (patch) | |
tree | 72682d2b9f8422b9706deddfe0064e1db03f18ae /libstdc++-v3/include | |
parent | 7879f589af911ea6a910d08919014b0b2df1b4b1 (diff) | |
download | gcc-882af290c137dfab5d99b88e6dbecc5e75d85a0b.zip gcc-882af290c137dfab5d99b88e6dbecc5e75d85a0b.tar.gz gcc-882af290c137dfab5d99b88e6dbecc5e75d85a0b.tar.bz2 |
Avoid division by zero in fold_loop_internal_call
My patch to fix profile after folding internal call is missing check for the
case profile was already zero before if-conversion.
gcc/ChangeLog:
PR gcov-profile/110988
* tree-cfg.cc (fold_loop_internal_call): Avoid division by zero.
Diffstat (limited to 'libstdc++-v3/include')
0 files changed, 0 insertions, 0 deletions