https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113796
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:8636c538b68068cd2a4115fece531dc3e3e3a84a commit r14-8869-g8636c538b68068cd2a4115fece531dc3e3e3a84a Author: Richard Biener <rguent...@suse.de> Date: Wed Feb 7 13:08:43 2024 +0100 tree-optimization/113796 - if-conversion and ranges The following makes sure to wipe range info before folding the COND_EXPRs we insert as part of replacing PHI nodes when combining blocks in the if-conversion pass. PR tree-optimization/113796 * tree-if-conv.cc (combine_blocks): Wipe range-info before replacing PHIs and inserting predicates. * gcc.dg/torture/pr113796.c: New testcase.