This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55931] [C++11] Constexpr member function inside a static member is not working
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Jan 2013 13:22:13 +0000
- Subject: [Bug c++/55931] [C++11] Constexpr member function inside a static member is not working
- Auto-submitted: auto-generated
- References: <bug-55931-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55931
Daniel KrÃgler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler at
| |googlemail dot com
--- Comment #2 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2013-01-11 13:22:13 UTC ---
When using gcc 4.8.0 20130106 (experimental)
with flags
-Wall -std=c++11 -pedantic
I get an internal compiler error for the line:
static constexpr Test<int> x(42);
"12|internal compiler error: tree check: expected target_expr, have cast_expr
in check_initializer, at cp/decl.c:5699"
Should this be reported separately?