https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108253
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 54169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54169&action=edit Reduced testcase This is as reduced testcase as I can get it. I tried to get back from some non-undefined behavior too. Note I also tried to inline a few things manually but that causes the failure to go away too.