https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103433
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This looks like undefined code so even gcc should not ICE, the code will never do the right thing for what you want to do.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 24 Jan 2022 18:21:24 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103433
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This looks like undefined code so even gcc should not ICE, the code will never do the right thing for what you want to do.