Remove invalid assert in find_func_aliases_for_builtin_call

2015-12-10  Tom de Vries  <tom@codesourcery.com>

	* tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Remove
	invalid assert.

From-SVN: r231491
This commit is contained in:
Tom de Vries 2015-12-10 08:56:14 +00:00 committed by Tom de Vries
parent 99dcb4ea03
commit 08628df3c0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-12-10 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Remove
invalid assert.
2015-12-10 Martin Liska <mliska@suse.cz>
* tree-vect-data-refs.c: Free an overwritten dataref.

View File

@ -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);