https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103537
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can you try add -fsanitize=undefined and seeing if there is any undefined behavior there? What about -fsanitize=address?
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 03 Dec 2021 01:16:13 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103537
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can you try add -fsanitize=undefined and seeing if there is any undefined behavior there? What about -fsanitize=address?