https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114730
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So it turns out before GCC 9, using enum vectors would ICE (PR 87286). It was asked then if we should reject them but there was no answer to question that but rather just fixing the ICE alone.