mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 07:00:29 +08:00
Add is_gimple_min_invariant dropped from previous patch.
gcc/ChangeLog: * vr-values.c (simplify_using_ranges::vrp_evaluate_conditional): Call is_gimple_min_invariant dropped from previous patch.
This commit is contained in:
parent
29e0ad452c
commit
d79d9445d6
@ -2495,7 +2495,9 @@ simplify_using_ranges::vrp_evaluate_conditional (tree_code code, tree op0,
|
||||
tree type = TREE_TYPE (op0);
|
||||
const value_range_equiv *vr0 = get_value_range (op0);
|
||||
|
||||
if (vr0->varying_p () && INTEGRAL_TYPE_P (type))
|
||||
if (vr0->varying_p ()
|
||||
&& INTEGRAL_TYPE_P (type)
|
||||
&& is_gimple_min_invariant (op1))
|
||||
{
|
||||
location_t location;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user