https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101934
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 51384 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51384&action=edit Patch which fixes the problem Still need to add a testcase though.