https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113124
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2024-01-11 CC| |jason at gcc dot gnu.org --- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> --- Doing this for constant initializers for C compatibility makes sense to me. But it isn't just a matter of adjusting the diagnostic, we would also need to actually do the sorting to make the initialization work. Still probably not that much work, but not trivial.