[Bug tree-optimization/110988] [14 regression] ICE when building 523.xalancbmk_r with pgo and lto
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 14 15:56:06 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110988
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubicka@gcc.gnu.org>:
https://gcc.gnu.org/g:882af290c137dfab5d99b88e6dbecc5e75d85a0b
commit r14-3201-g882af290c137dfab5d99b88e6dbecc5e75d85a0b
Author: Jan Hubicka <jh@suse.cz>
Date: Mon Aug 14 17:55:33 2023 +0200
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.
More information about the Gcc-bugs
mailing list