This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51612] [c++0x] [4.7 Regression] ICE with constexpr constructor and virtual base class
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 18 Dec 2011 22:27:30 +0000
- Subject: [Bug c++/51612] [c++0x] [4.7 Regression] ICE with constexpr constructor and virtual base class
- Auto-submitted: auto-generated
- References: <bug-51612-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51612
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-12-18
CC| |jason at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-18 22:27:30 UTC ---
This is not valid code; a class with virtual bases cannot have a constexpr
constructor.