https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116454
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 58974 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58974&action=edit Patch which I am testing Simple tests on the testcase works and we get the correct behavior now.