re PR middle-end/23518 (some gcc optimizations do not take overflow into account with -fwrapv)
gcc/ PR tree-optimization/23518 * fold-const.c (make_range): Don't move a constant to the other side of the comparison if the type is signed and -fwrapv is given. gcc/testsuite/ PR tree-optimization/23518 * testsuite/gcc.dg/pr23518.c: New. From-SVN: r108940
Showing
gcc/testsuite/gcc.dg/pr23518.c
0 → 100644
Please
register
or
sign in
to comment