https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111039
--- Comment #7 from GCC 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:bae5dcf29c6cb1f0da437858aa7214811ece53a5 commit r11-11528-gbae5dcf29c6cb1f0da437858aa7214811ece53a5 Author: Richard Biener <rguent...@suse.de> Date: Thu Aug 17 13:10:14 2023 +0200 tree-optimization/111039 - abnormals and bit test merging The following guards the bit test merging code in if-combine against the appearance of SSA names used in abnormal PHIs. PR tree-optimization/111039 * tree-ssa-ifcombine.c (ifcombine_ifandif): Check for SSA_NAME_OCCURS_IN_ABNORMAL_PHI. * gcc.dg/pr111039.c: New testcase.