https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105235
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:28ef9276654856b53ba45f0082e6579c365e2962 commit r11-9814-g28ef9276654856b53ba45f0082e6579c365e2962 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.c (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. (cherry picked from commit 31cccadcf2d3cc8acb7a5f36ed57ca847f7ea0ea)