https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123358
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- This looks a front-end issue to me: it should not mark the CONST_DECLs (that are TYPE_VALUES of enumeration types) as addressable if they are not objects.
