https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101767
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[11/12 Regression] |[10/11/12 Regression] |Aggregate initialization |Aggregate initialization |fails for struct that has |fails for struct that has |both unnamed struct and |both unnamed struct and |union fields |union fields Target Milestone|11.3 |10.4 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=100489 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Known to work| |10.3.0 Last reconfirmed| |2021-08-03 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So this is most likely caused by the patch which fixes PR 100489 so this is a regression in 10.4.0 also.