From: Jason Merrill Date: Thu, 31 Mar 2011 22:03:50 +0000 (-0400) Subject: re PR c++/48277 (ICE for g++.dg/ext/altivec-cell-1.C on powerpc*-*-*) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c689d49e080c66730d243c1826860c164ef4dfd0;p=gcc.git re PR c++/48277 (ICE for g++.dg/ext/altivec-cell-1.C on powerpc*-*-*) PR c++/48277 * semantics.c (finish_call_expr): Remove assert. From-SVN: r171801 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dce49e948d4..387677e8e77 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,8 @@ 2011-03-31 Jason Merrill + PR c++/48277 + * semantics.c (finish_call_expr): Remove assert. + PR c++/48280 * method.c (defaultable_fn_check): Templates are not defaultable. diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index e444d91267f..a15740a81ee 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -2154,12 +2154,6 @@ finish_call_expr (tree fn, VEC(tree,gc) **args, bool disallow_virtual, { if (TREE_CODE (result) == INDIRECT_REF) result = TREE_OPERAND (result, 0); - gcc_assert (TREE_CODE (result) == CALL_EXPR - /* FIXME cp_build_function_call_vec should avoid argument - and return transformations like build_over_call does. */ - || TREE_CODE (result) == TARGET_EXPR - || TREE_CODE (fn) == PSEUDO_DTOR_EXPR - || errorcount); result = build_call_vec (TREE_TYPE (result), orig_fn, orig_args); KOENIG_LOOKUP_P (result) = koenig_p; release_tree_vector (orig_args);