https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92949
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Created attachment 47501 [details] > The current bit-field lowering patch I attached the current bit-field lowering patch so if someone wants to work on this, they can use that to test it out with it. NOTE on x86_64 and/or aarch64, you need to change SLOW_BYTE_ACCESS to be 1. The documentation and implementation for SLOW_BYTE_ACCESS only deals with bit-fields and actually makes worse code when defined to be 0 :). I think there is another thread about that already.