https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
--- Comment #12 from Jason Merrill jason at gcc dot gnu.org ---
(In reply to splinterofchaos from comment #11)
I still get an error with 4.9 when using one of the less reduced cases,
although not when using the test cases in that patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
splinterofchaos at gmail dot com changed:
What|Removed |Added
CC||splinterofchaos at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
--- Comment #9 from Jason Merrill jason at gcc dot gnu.org 2013-02-13
17:56:33 UTC ---
Author: jason
Date: Wed Feb 13 17:56:28 2013
New Revision: 196023
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196023
Log:
PR c++/55993
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Keywords|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
CC||jason at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
--- Comment #6 from Joshua Napoli jnapoli at alum dot mit.edu 2013-01-15
19:26:49 UTC ---
Awesome reduction of the bug!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
--- Comment #7 from Marc Glisse glisse at gcc dot gnu.org 2013-01-15 19:34:17
UTC ---
struct A {};
struct B:A {};
struct C:A {};
struct D:B,C {};
constexpr D d;
constexpr const C e=d; // OK
constexpr auto f=static_castconst C(d); //
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55993
--- Comment #8 from Marc Glisse glisse at gcc dot gnu.org 2013-01-15 19:38:46
UTC ---
(In reply to comment #7)
e.cc:9:41: error: the value of 'd' is not usable in a constant expression
constexpr auto g=static_castconst B(d); // FAIL