Trace formatting gets out of sync when range on edge is called with a constant.
* gimple-range.cc (gimple_ranger::range_on_edge): Call trailer when
a constant is encountered to terminate the trace.
bool res = true;
if (!gimple_range_ssa_p (name))
- return get_tree_range (r, name, NULL);
+ res = get_tree_range (r, name, NULL);
else
{
range_on_exit (r, e->src, name);
if (idx)
tracer.trailer (idx, "range_on_edge", res, name, r);
- return true;
+ return res;
}
// fold_range wrapper for range_of_stmt to use as an internal client.