Invoke range_of_stmt on ssa_names with no context.
commit0ade358cd72ffa591dd2f1404765b379bbf709d4
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 13 Mar 2024 18:13:28 +0000 (13 14:13 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Tue, 30 Apr 2024 21:19:57 +0000 (30 17:19 -0400)
tree99af6e7dc12e97ba982807488b29ab58015bdf50
parente8ae56a7dc46e39a48017bb5159e4dc672ec7fad
Invoke range_of_stmt on ssa_names with no context.

Evalaute ssa-names when range_of_expr is called with no context statement
by calling range_of_stmt to get an initial value.

* gimple-range.cc (gimple_ranger::range_of_expr): Call range_of_stmt
when there is no context stmt.
gcc/gimple-range.cc