[Bug c++/83921] [7/8 Regression] GCC rejects constexpr initialization of empty aggregate.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 18 08:10:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list