value_ranges.
From-SVN: r273377
+2019-07-11 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-vrp.c (intersect_ranges): If we know the intersection is
+ empty, there is no need to conservatively add anything else to
+ the set.
+
2019-07-11 Richard Biener <rguenther@suse.de>
PR middle-end/91131
gcc_unreachable ();
}
+ /* If we know the intersection is empty, there's no need to
+ conservatively add anything else to the set. */
+ if (*vr0type == VR_UNDEFINED)
+ return;
+
/* As a fallback simply use { *VRTYPE, *VR0MIN, *VR0MAX } as
result for the intersection. That's always a conservative
correct estimate unless VR1 is a constant singleton range