https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81161
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jeffrey A. Law from comment #7) > For targets without bitfield insertion capabilities, this likely must be > handled in gimple. I think richi and I both agree we should do some kind of lowering of bitfield accesses in the gimple. The patches I had for that were posted and richi reviewed them but I never got around to working on the review comments and then I switch over to a different job and have not looked into bitfields since. I also think it might be a good intern (or GSOC or first introduction) project to do the lowering. The other thing which should happen at the gimple level (but late) is forming of BIT_INSERT_EXPR and BIT_FIELD_REF for integers if the target has the insv/extv/extzv optabs.
