https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87770
--- Comment #5 from Konrad Dabrowski <konraddabrowski at yahoo dot co.uk> --- (In reply to Alexandre Oliva from comment #4) > Created attachment 45448 [details] > Candidate patch I don't know enough about gcc to assess whether this is the "correct" solution, but I can confirm that this patch prevents the ICE both in trunk and in the gcc-8 branch. (It also fixes the ICE in the duplicate bug #87714.)