tree-vrp.c (vrp_visit_assignment_or_call): Changed to Return VR.
authorKugan Vivekanandarajah <kuganv@linaro.org>
Sat, 20 Aug 2016 12:12:06 +0000 (12:12 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Sat, 20 Aug 2016 12:12:06 +0000 (12:12 +0000)
commitbb9d2f4d7615473e5f8f3849fc2e5c034b31623a
tree742fb51214fbcc2b4279524064ed38f840b6431a
parentf90aa46c0f97bb69a4d6004f74f6fbcb7818431d
tree-vrp.c (vrp_visit_assignment_or_call): Changed to Return VR.

gcc/ChangeLog:

2016-08-20  Kugan Vivekanandarajah  <kuganv@linaro.org>

* tree-vrp.c (vrp_visit_assignment_or_call): Changed to Return VR.
(vrp_visit_cond_stmt): Just sets TAKEN_EDGE_P.
(vrp_visit_switch_stmt): Likewise.
(extract_range_from_stmt): Factored out from vrp_visit_stmt.
(extract_range_from_phi_node): Factored out from vrp_visit_phi_stmt.
(vrp_visit_stmt): Use extract_range_from_stmt.
(vrp_visit_phi_node): Use extract_range_from_phi_node.

From-SVN: r239639
gcc/ChangeLog
gcc/tree-vrp.c