From: Tom de Vries Date: Thu, 10 Dec 2015 08:56:14 +0000 (+0000) Subject: Remove invalid assert in find_func_aliases_for_builtin_call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08628df3c02212af402cb291175eea7381bfbe1b;p=gcc.git Remove invalid assert in find_func_aliases_for_builtin_call 2015-12-10 Tom de Vries * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Remove invalid assert. From-SVN: r231491 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e0c72edb875..bd22e82edd8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-12-10 Tom de Vries + + * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Remove + invalid assert. + 2015-12-10 Martin Liska * tree-vect-data-refs.c: Free an overwritten dataref. diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 15e351ebe59..c3508626c6f 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -4533,7 +4533,6 @@ find_func_aliases_for_builtin_call (struct function *fn, gcall *t) gcc_assert (TREE_CODE (fnarg) == ADDR_EXPR); tree fndecl = TREE_OPERAND (fnarg, 0); tree arg = gimple_call_arg (t, argpos); - gcc_assert (TREE_CODE (arg) == ADDR_EXPR); varinfo_t fi = get_vi_for_tree (fndecl); find_func_aliases_for_call_arg (fi, 0, arg);