https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107477
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Adding: if (s < 0) __builtin_unreachable(); "fixes" the warning.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 31 Oct 2022 11:28:04 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107477
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Adding: if (s < 0) __builtin_unreachable(); "fixes" the warning.