https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82192
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Does -fsantize=undefined show anything? I am suspecting you have undefined behavior with respect to the shift.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82192
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Does -fsantize=undefined show anything? I am suspecting you have undefined behavior with respect to the shift.