https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110376
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Shaohua Li from comment #3) > You post a commit for fixing this bug. Does this mean this report is not a > DUP of 110228? The commit was just a testcase (more testcases the better really); there were 3 different issues causing PR 110228 really, 2 for phiopt, one for ifcombine. Anyways all 3 have been fixed on the trunk. one of those 3 fixed this issue and a testcase was added just to make sure it does not get exposed again.