https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93573
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #6) > Fixed the error-recovery bug on the trunk, but the ice on the #c4 testcase > is still there (and the question is if it is valid or not). If it is valid, > probably the FE or gimplifier needs to turn that cast to VLA union into > creation of a VLA temporary and assigning the cast operand into the right > field of it. Hmm, is the testcase in comment #4 a regression though? It ICEs even in the same way in GCC 4.1.2 all the way to the trunk including GCC 7.3.0.