https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114108
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 57536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57536&action=edit Reduced testcase Just needs -O3 as mentioned.