This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63415] [4.9/5 Regression] internal compiler error: unexpected expression âstatic_cast<int>(std::is_same<T, A1>{})â of kind static_cast_expr
- 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: Fri, 10 Oct 2014 20:35:58 +0000
- Subject: [Bug c++/63415] [4.9/5 Regression] internal compiler error: unexpected expression âstatic_cast<int>(std::is_same<T, A1>{})â of kind static_cast_expr
- Auto-submitted: auto-generated
- References: <bug-63415-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63415
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Oct 10 20:35:26 2014
New Revision: 216107
URL: https://gcc.gnu.org/viewcvs?rev=216107&root=gcc&view=rev
Log:
PR c++/63415
* pt.c (value_dependent_expression_p) [CONSTRUCTOR]: Check the type.
(iterative_hash_template_arg): Likewise.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-initlist8.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/pt.c