https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111683
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57768|0 |1 is obsolete| | --- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 57769 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57769&action=edit gcc14-pr111683.patch Actually for bit-fields, TREE_TYPE on the ref is the underlying type, so either we'd need to somehow better try to understand the actual reference size in that case, or simply look throught the BIT_FIELD_REF COMPONENT_REFs.