https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71613
--- Comment #5 from Alexander Cherepanov <ch3root at openwall dot com> --- This bug also affects -pedantic-errors, i.e. it's not merely a cosmetic bug but also a conformance issue. I don't know how -std=c11 can ignore constraint violations but -pedantic-errors is supposed to fix it. BTW gcc extension "non-int enum constants" is not documented?