https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70867
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.5 |7.4 Summary|[6 regression] access |[7/8/9 regression] access |discriminant in return |discriminant in return |aggregate wrongly detected |aggregate wrongly detected |as dangling |as dangling --- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Eric, is this fixed in 7.x or newer? Nope.