https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 52159 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52159&action=edit reduced testcase as much as I could get it Just needs -O2. It is both a C or C++ testcase even. I can't reduce it any further really.