--- /dev/null
+/* { dg-do run } */
+/* { dg-options "-O2 -fgimple" } */
+
+__attribute__((noipa))
+void __GIMPLE (ssa,startwith("evrp"))
+foo (int x, int minus_1)
+{
+ int tem;
+ unsigned int _1;
+ unsigned int _2;
+
+ __BB(2):
+ tem_4 = minus_1_3(D);
+ tem_5 = tem_4 + 2;
+ _1 = (unsigned int) x_6(D);
+ _2 = _1 + 2147483647u;
+ if (_2 > 1u)
+ goto __BB3;
+ else
+ goto __BB6;
+
+ __BB(3):
+ if (x_6(D) <= tem_5)
+ goto __BB4;
+ else
+ goto __BB6;
+
+ __BB(4):
+ if (x_6(D) > 5)
+ goto __BB5;
+ else
+ goto __BB6;
+
+ __BB(5):
+ __builtin_exit (0);
+
+ __BB(6):
+ return;
+
+}
+
+int
+main()
+{
+ foo (10, 100);
+ __builtin_abort ();
+}
}
else if ((operand_less_p (vr1min, *vr0max) == 1
|| operand_equal_p (vr1min, *vr0max, 0))
- && operand_less_p (*vr0min, vr1min) == 1)
+ && operand_less_p (*vr0min, vr1min) == 1
+ && operand_less_p (*vr0max, vr1max) == 1)
{
/* [ ( ] ) or [ ]( ) */
if (*vr0type == VR_ANTI_RANGE
}
else if ((operand_less_p (*vr0min, vr1max) == 1
|| operand_equal_p (*vr0min, vr1max, 0))
- && operand_less_p (vr1min, *vr0min) == 1)
+ && operand_less_p (vr1min, *vr0min) == 1
+ && operand_less_p (vr1max, *vr0max) == 1)
{
/* ( [ ) ] or ( )[ ] */
if (*vr0type == VR_ANTI_RANGE