https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 51830 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51830&action=edit New simplier patch which does the right thing too