summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-10 08:56:14 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-10 08:56:14 +0000
commit8a33e8156696626f8c15d04f74607bed959a2d83 (patch)
tree3fd976cda9c90596fe79d037319b2ece877821c2 /gcc/tree-ssa-structalias.c
parentef6d05550492a35a0059ce8c2088936530ad1be2 (diff)
downloadgcc-8a33e8156696626f8c15d04f74607bed959a2d83.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231491 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c1
1 files changed, 0 insertions, 1 deletions
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);