Adjust overflow for invariants in bounds_of_var_in_loop.
authorAldy Hernandez <aldyh@redhat.com>
Wed, 21 Oct 2020 07:33:06 +0000 (09:33 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Wed, 21 Oct 2020 08:44:10 +0000 (10:44 +0200)
commit878315ae489ebf92e97470d7019da91f1c57436d
tree2609df0f07f28aa2ed18cfac9f7a6a048c6e33bb
parent121a8812c45b3155ccbd268b000ad00a778e81e8
Adjust overflow for invariants in bounds_of_var_in_loop.

Invariants returned from SCEV can have TREE_OVERFLOW set.  Clear the
overflow as we do with the rest of the values returned from this
function.

gcc/ChangeLog:

* gimple-range.cc (gimple_ranger::range_of_ssa_name_with_loop_info):
Remove TREE_OVERFLOW special case.
* vr-values.c (bounds_of_var_in_loop): Adjust overflow for
invariants.
gcc/gimple-range.cc
gcc/vr-values.c