https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117426
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #6) > What is happening is sccp is rewriting some code to avoid undefined signed > integers but then that does not get optimized away in some cases. Note -fno-tree-scev-cprop avoids the bug too.