1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-phiopt1 -fdump-tree-optimized" } */
3 /* PR tree-optimization/19832 */
5 int f_plus(int a
, int b
)
7 if (a
!= b
) return a
+ b
;
11 int g_plus(int a
, int b
)
13 if (b
!= a
) return a
+ b
;
17 /* All of the above function's if should have been optimized away even in phiopt1. */
18 /* { dg-final { scan-tree-dump-not "if " "phiopt1" } } */
19 /* { dg-final { scan-tree-dump-not "if " "optimized" } } */