https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79681
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think the problem is that BIT_FIELD_REF acts similarly to MEM_REF, it can bypass several levels of nested handled components like ARRAY_REFs and COMPONENT_REFs. So most likely the second part of cxx_eval_bit_field_ref needs to be recursive and handle also array CONSTRUCTORs (update the start each time we recurse into yet another CONSTRUCTOR).