https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113124
--- Comment #7 from Alexey Dobriyan ---
> fancy C++ extension
It is not fancy.
C99 initialisers is the only feature where Modern C beats Modern C++.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113124
--- Comment #5 from Alexey Dobriyan ---
My standardspeak is very bad.
I think std::is_trivial_v types should have relaxed initialisation ordering,
because all C structs and unions are std::is_trivial_v.
If I understand this stuff correctly, or
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113124
--- Comment #2 from Alexey Dobriyan ---
this is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99081
but I don't care about the warning, only about error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113124
--- Comment #1 from Alexey Dobriyan ---
This is getting lengthy:
Please allow C99 semantics for "simple enough" stuff (read: C structs):
* allow reordering
* allow duplicating (possibly with warning),
* allow holes in the middle of arrays (1-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113124
Bug ID: 113124
Summary: g++ should relax designated initialiser rules for
trivial classes (read: C structures) and C arrays.
Product: gcc
Version: 13.2.1
Status: UNCONFI