https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95133
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:5024ea60b74ac61c00b2aee40878761f7cf58973 commit r9-8862-g5024ea60b74ac61c00b2aee40878761f7cf58973 Author: Richard Biener <rguent...@suse.de> Date: Fri May 15 09:38:54 2020 +0200 tree-optimization/95133 - avoid abnormal edges in path splitting When path splitting tries to detect a CFG diamond make sure it is composed of normal (non-EH, not abnormal) edges. Otherwise CFG manipulation later may fail. 2020-05-15 Richard Biener <rguent...@suse.de> PR tree-optimization/95133 * gimple-ssa-split-paths.c (find_block_to_duplicate_for_splitting_paths): Check for normal edges. * gcc.dg/pr95133.c: New testcase. (cherry picked from commit aaf1ee48316f9b414b11c17e298198925d816595)