https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105235
--- Comment #8 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:31cccadcf2d3cc8acb7a5f36ed57ca847f7ea0ea commit r12-8107-g31cccadcf2d3cc8acb7a5f36ed57ca847f7ea0ea Author: Richard Biener <rguent...@suse.de> Date: Tue Apr 12 10:07:10 2022 +0200 tree-optimization/105235 - clean EH in execute_cse_conv_1 When a FP conversion is removed we have to eventually clean EH. 2022-04-12 Richard Biener <rguent...@suse.de> PR tree-optimization/105235 * tree-ssa-math-opts.cc (execute_cse_conv_1): Clean EH and return whether the CFG changed. (execute_cse_sincos_1): Adjust. * g++.dg/opt/pr105235-1.C: New testcase.