fold-const.c
532 KB
-
re PR middle-end/61158 (negative shift at fold-const.c:12095) · ceed6e67
PR tree-optimization/61158 * fold-const.c (fold_binary_loc): If X is zero-extended and shiftc >= prec, make sure zerobits is all ones instead of invoking undefined behavior. * gcc.dg/pr61158.c: New test. From-SVN: r210467
Jakub Jelinek committed