From ef796bef889d8a1590430a9da06c40ec4977d79e Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 13 Feb 2015 17:07:30 -0500 Subject: re PR c++/65054 (internal compiler error: in maybe_constant_value, at cp/constexpr.c:3646) PR c++/65054 * pt.c (template_args_equal): Look through conversions here. * tree.c (cp_tree_equal): Not here. From-SVN: r220697 --- gcc/cp/constexpr.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/cp/constexpr.c') diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c index 2b56cb2..d415dd4 100644 --- a/gcc/cp/constexpr.c +++ b/gcc/cp/constexpr.c @@ -3638,7 +3638,6 @@ maybe_constant_value (tree t, tree decl) r = cxx_eval_outermost_constant_expr (t, true, true, decl); #ifdef ENABLE_CHECKING - /* cp_tree_equal looks through NOPs, so allow them. */ gcc_assert (r == t || CONVERT_EXPR_P (t) || TREE_CODE (t) == VIEW_CONVERT_EXPR -- cgit v1.1