https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98477
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 58022 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58022&action=edit Patch which I tested I still need to add the testcases and finish up the commit message and changelogs. I will do that tomorrow. Posting this here tonight so I don't lose the patch.