https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105689
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Keywords| |diagnostic Known to fail| |11.2.0, 12.1.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- It's likely triggered by us CSEing &me->sub.field1 and &me->sub but I don't know how that changes whether a diagnostic happens or not. Hmm, IIRC there's some magic going on at the frontend which attaches some further attributes which then _might_ get confused with such CSE. Martin, do you remember off-head how such CSE might impact the diagnostics?