aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2014-05-15 12:01:11 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2014-05-15 12:01:11 +0200
commitceed6e6732830adb0c0ba5b7eab21d22977a5abf (patch)
tree31b84afe27a71436ba3b93702a5cb9d603f125fc /libstdc++-v3
parenta2555c65a0f29b846038229b2f55adbb1c550ac3 (diff)
downloadgcc-ceed6e6732830adb0c0ba5b7eab21d22977a5abf.zip
gcc-ceed6e6732830adb0c0ba5b7eab21d22977a5abf.tar.gz
gcc-ceed6e6732830adb0c0ba5b7eab21d22977a5abf.tar.bz2
re PR middle-end/61158 (negative shift at fold-const.c:12095)
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
Diffstat (limited to 'libstdc++-v3')
0 files changed, 0 insertions, 0 deletions