https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106909
--- Comment #6 from CVS 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:2c867232df70d3de304714906b4198ecb262eb32 commit r13-2640-g2c867232df70d3de304714906b4198ecb262eb32 Author: Richard Biener <rguent...@suse.de> Date: Tue Sep 13 08:59:41 2022 +0200 middle-end/106909 - CTRL altering flag after folding The following makes sure to clear the CTRL altering flag when folding emits a __builitin_unreachable in place of a virtual call which now might become a trap. PR middle-end/106909 * gimple-fold.cc (gimple_fold_call): Clear the ctrl-altering flag of a unreachable call.