https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102228
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org Keywords| |compile-time-hog --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The only other caller of lookup_anon_field is cplus_expand_constant for the PTRMEM_CST case which looks like it wouldn't handle nested anon aggregates at all (maybe anon aggregates can only be at zero offset?). If it weren't for this use some brute-force refactoring should be possible without knowing as to what extent all the bells and whistles from build_class_member_access_expr are necessary for the anon aggregate COMPONENT_REFs.