2 /* { dg-options "-O1 -fno-tree-vrp -fwrapv" } */
4 /* PR tree-optimization/22236
6 Avoid conversion of (signed char) {(uchar)1, +, (uchar)1}_x when
7 it is not possible to prove that the scev does not wrap.
9 In this PR, a sequence 1, 2, ..., 255 has to be converted to
10 signed char, but this would wrap: 1, 2, ..., 127, -128, ... The
11 result should not be a linear scev {(schar)1, +, (schar)1}_x.
12 The conversion should be kept: (schar) {(uchar)1, +, (uchar)1}_x.
28 for(b
= 0; b
< 0xFF; b
++)