https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112659
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #8) > Thinking about this slightly more, we should be able to handle (which LLVM > does not currently handles): > ``` > int optb(int v, int b) { > // b = 8; > if (v != -b) > return v + b; > else > return 0; > } > ``` Oh that was recorded as PR 114204 .