1 /* { dg-options "-O2 -fno-signed-zeros -fdump-tree-phiopt" } */
5 // A == 0? A : -A same as -A
12 // A != 0? A : -A same as A
18 // A >= 0? A : -A same as abs (A)
24 // A > 0? A : -A same as abs (A)
30 // A <= 0? A : -A same as -abs (A)
36 // A < 0? A : -A same as -abs (A)
41 /* f4 and f5 are not allowed to be optimized in early phi-opt. */
42 /* { dg-final { scan-tree-dump-times "if" 2 "phiopt1" } } */
43 /* { dg-final { scan-tree-dump-not "if" "phiopt2" } } */