https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108380
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- N.B. GCC 9 is no longer maintained or supported. Not a bug. In C++14 the order is unspecified, so GCC can choose the order. For C++17 the order is specified by the standard, so GCC follows the standard. Clang happens to choose a different order for C++14, but that's fine. Either order is allowed for C++14.