This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51312] [C++0x] Wrong interpretation of converted constant expressions (for enumerator initializers)
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 21:39:04 +0000
- Subject: [Bug c++/51312] [C++0x] Wrong interpretation of converted constant expressions (for enumerator initializers)
- Auto-submitted: auto-generated
- References: <bug-51312-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-30
Ever Confirmed|0 |1
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-30 21:39:04 UTC ---
Interesting because:
A<X{}>();
is accepted now on the trunk but:
enum : int { e = X{} };
is rejected.
Also
A<X()>();
is still rejected.
So confirmed.