Return undefined on edges which are not executed.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 28 Jul 2021 12:30:02 +0000 (08:30 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Wed, 28 Jul 2021 12:32:38 +0000 (08:32 -0400)
commit04600a47224b1ff85c6fb870218b51969cceff21
tree646473f2570d2573ee2f6572876e4d2b8bde1c8c
parent31534ac26e0ec1deeb648b2548dbbe17574ea78c
Return undefined on edges which are not executed.

When a branch has been folded, mark any range requests on the unexecutable edge as
UNDEFINED.

* gimple-range-gori.cc (gori_compute::outgoing_edge_range_p): Check for
cond_false and cond_true on branches.
gcc/gimple-range-gori.cc