Remove invalid assert in find_func_aliases_for_builtin_call
authorTom de Vries <tom@codesourcery.com>
Thu, 10 Dec 2015 08:56:14 +0000 (08:56 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 10 Dec 2015 08:56:14 +0000 (08:56 +0000)
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

gcc/ChangeLog
gcc/tree-ssa-structalias.c

index e0c72edb875e8d3596f782b5b1049a3b3b94b53c..bd22e82edd8d06ec0bc92fac1f80a258920dfd62 100644 (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.
index 15e351ebe592b8ab85c0d7dce360a5f9dfe2a64c..c3508626c6f901e6e4dd91722facfe3d24fcac46 100644 (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);