https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116306
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 58885 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58885&action=edit testcase Next time please attach the full testcase rather than the code snippet and link to godbolt.