https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104376
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 56117 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56117&action=edit Patch which I am testing to fix the second issue