https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83921
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-18 CC| |jakub at gcc dot gnu.org, | |nathan at gcc dot gnu.org Target Milestone|--- |7.3 Summary|GCC rejects constexpr |[7/8 Regression] GCC |initialization of empty |rejects constexpr |aggregate. |initialization of empty | |aggregate. Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started to be rejected with r239268. If it is a bug, it is therefore a regression. clang++ doesn't seem to reject it, and even before the above revisions we'd reject vars without initializers in constexpr functions if they weren't empty.