https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91421
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-*, i?86-*-* --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- So UBSAN doesn't work for bitfield enums? Because the issue is certainly "latent" and I don't see how we can fix it. Which means -fstrict-enums would be broken as well. Note that function-code should likely be union { enum built_in_function code_normal; /* enum target_fn */ int code_target; /* no FE builins */ }; with it now being a full 32bit field using a union is now possible.