]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/20030807-6.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
10 if (distance
[i
][j
] < 0)
11 distance
[i
][0] = ((distance
[i
][j
]) < 0 ? -(distance
[i
][j
]) : (distance
[i
][j
]));
19 if (distance
[i
][j
] <= 0)
20 distance
[i
][0] = ((distance
[i
][j
]) < 0 ? -(distance
[i
][j
]) : (distance
[i
][j
]));
28 if (distance
[i
][j
] > 0)
29 distance
[i
][0] = ((distance
[i
][j
]) < 0 ? -(distance
[i
][j
]) : (distance
[i
][j
]));
34 double distance
[13][13];
37 if (distance
[i
][j
] >= 0)
38 distance
[i
][0] = ((distance
[i
][j
]) < 0 ? -(distance
[i
][j
]) : (distance
[i
][j
]));
41 /* There should be no ABS_EXPR. */
42 /* { dg-final { scan-tree-dump-times "ABS_EXPR " 0 "vrp1"} } */