https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116456
Bug ID: 116456 Summary: initialization of auto / __auto_type variable at file scope with compound literal with const Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: muecker at gwdg dot de Target Milestone: --- Weirdly, we reject the last two definition at file scope. This started with 11 for __auto_type. int a = (int){ 0 }; int b = (const int){ 0 }; auto e = (int){ 0 }; auto f = (const int){ 0 }; __auto_type g = (const int){ 0 };