[Bug tree-optimization/66364] poor optimization of packed structs containing bitfields
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 26 02:19:59 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66364
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The reason why the patch for PR 55658 didn't have any effect here is because by
the time get_best_mode is called, bitregion_start and bitregion_end are set to
0 because they don't get passed down.
So if we do lowering of the bitfield early on, then we should be able to get
the correct behavior ...
Double checking that.
More information about the Gcc-bugs
mailing list