https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104444
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Note we generally avoid "folding" undefined to anything specific, but what could trigger here is path isolation seeing if (n >= 0 && n < 32) ; else if (m >> n != 0) ... making the else path unreachable (or trap for the sake of QOI).