https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105532
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 53820 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53820&action=edit Patch which is under test This is patch 1 of 2. The 2nd patch adds the assert to catch this earlier on.