gimple-fold.c (get_range_strlen_tree): Factored out of get_range_strlen.
authorMartin Sebor <msebor@redhat.com>
Mon, 24 Dec 2018 15:32:11 +0000 (15:32 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 24 Dec 2018 15:32:11 +0000 (08:32 -0700)
commitfb471a130598f7a992667f8305a1600cf344c93f
tree6a622f17cec6c39a7542d303c1f2a539cdbbb50e
parentc1dd347cbd7c1ac87b750a9100dfbde2f2190c63
gimple-fold.c (get_range_strlen_tree): Factored out of get_range_strlen.

* gimple-fold.c (get_range_strlen_tree): Factored out of
get_range_strlen.  Minor comment updates/additions.  Assert
argument is not a simple SSA_NAME.
(get_range_strlen): Call get_range_strlen_tree as appropriate.
Minor comment updates/additions.

From-SVN: r267412
gcc/ChangeLog
gcc/gimple-fold.c