https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110500
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 55436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55436&action=edit Patch which should fix this This patch will fix this (and other) ICEs. There might be more further below but I didn't check. Someone can take this patch and finish it up.