gimple-ssa-evrp-analyze.c (evrp_range_analyzer::try_find_new_range): Use new method...
authorJeff Law <law@redhat.com>
Thu, 23 Nov 2017 00:04:07 +0000 (17:04 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 23 Nov 2017 00:04:07 +0000 (17:04 -0700)
commit3e406d3330ca865244cd867572cdd02627a8757a
tree3dda1b044f1ae730bf711bfbf9af55eafb61a65f
parentd057fdc8e968b701df4e50be2a823f3f9a54e60e
gimple-ssa-evrp-analyze.c (evrp_range_analyzer::try_find_new_range): Use new method allocate_value_range rather than accessing the...

* gimple-ssa-evrp-analyze.c (evrp_range_analyzer::try_find_new_range):
Use new method allocate_value_range rather than accessing the
vrp_value_range_pool data member directly.
* tree-vrp.c (simplify_stmt_for_jump_threading): Tweak slightly
to use extract_range_from_stmt method to avoid need for
extract_range_from_assignment method.
(vrp_prop::vrp_finalize): Use set_lattice_propagation_complete
method rather than setting values_propgated data member directly.
* vr-values.h (class vr_values): Privatize vrp_value_range_pool,
and values propagated data members and extract_range_from_assignment
method.  Reorder private data members to conform to standards.
Add new methods set_lattice_propagation_complete and
allocate_value_range.

From-SVN: r255086
gcc/ChangeLog
gcc/gimple-ssa-evrp-analyze.c
gcc/tree-vrp.c
gcc/vr-values.h