PR tree-optimization/81184
* gcc.dg/pr21643.c: Adjust dg-final line for logical_op_short_circuit
targets.
* gcc.dg/tree-ssa/phi-opt-11.c: Likewise.
From-SVN: r256780
-2018-01-16 Eric Botcazou <ebotcazou@adacore.com>
+2018-01-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR tree-optimization/81184
+ * gcc.dg/pr21643.c: Adjust dg-final line for logical_op_short_circuit
+ targets.
+ * gcc.dg/tree-ssa/phi-opt-11.c: Likewise.
+
+2018-01-17 Eric Botcazou <ebotcazou@adacore.com>
* c-c++-common/Wrestrict.c (test_strcpy_range): Revert latest change.
return 1;
}
-/* { dg-final { scan-tree-dump-times "Optimizing range tests c_\[0-9\]*.D. -.0, 31. and -.32, 32.\[\n\r\]* into" 6 "reassoc1" } } */
+/* { dg-final { scan-tree-dump-times "Optimizing range tests c_\[0-9\]*.D. -.0, 31. and -.32, 32.\[\n\r\]* into" 6 "reassoc1" { target { ! logical_op_short_circuit } } } } */
+/* { dg-final { scan-tree-dump-times "Optimizing range tests c_\[0-9\]*.D. -.0, 31. and -.32, 32.\[\n\r\]* into" 5 "reassoc1" { target logical_op_short_circuit } } } */
return d;
return a;
}
-/* { dg-final { scan-tree-dump-times "if" 0 "optimized"} } */
+
+/* { dg-final { scan-tree-dump-times "if" 0 "optimized" { target { ! logical_op_short_circuit } } } } */
+/* { dg-final { scan-tree-dump-times "if" 2 "optimized" { target logical_op_short_circuit } } } */