tree.c (nonnull_arg_p): Move from ...
authorRichard Biener <rguenther@suse.de>
Thu, 13 Aug 2015 12:34:36 +0000 (12:34 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 13 Aug 2015 12:34:36 +0000 (12:34 +0000)
commit34c896978b84baf64f51a11fe8382038e46c058d
treeba2d5537154426960e8f79c36818f51fb759affc
parent2ef38880ef5dda74565805fcfce75ed790825f92
tree.c (nonnull_arg_p): Move from ...

2015-08-13  Richard Biener  <rguenther@suse.de>

* tree.c (nonnull_arg_p): Move from ...
* tree-vrp.c (nonnull_arg_p): ... here.
* tree.h (nonnull_arg_p): Declare.
* tree-ssa-sccvn.c (init_scc_vn): Perform all lattice init
here, register ptr != 0 for nonnull_arg_p pointer arguments.
Properly initialize static chain and by-reference result pointer.
(run_scc_vn): Adjust.

From-SVN: r226861
gcc/ChangeLog
gcc/tree-ssa-sccvn.c
gcc/tree-vrp.c
gcc/tree.c
gcc/tree.h