diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-11-29 22:03:09 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-11-29 22:03:09 +0100 |
commit | c360c0fb8a1dd8ef61d986671d02071075d2c0b9 (patch) | |
tree | 5587e1b6f3b377f5fb72c7b42e04089e716e597a /contrib | |
parent | 781c528f2efe11dd9235d9ff71092fde9ad19c14 (diff) | |
download | gcc-c360c0fb8a1dd8ef61d986671d02071075d2c0b9.zip gcc-c360c0fb8a1dd8ef61d986671d02071075d2c0b9.tar.gz gcc-c360c0fb8a1dd8ef61d986671d02071075d2c0b9.tar.bz2 |
re PR tree-optimization/51247 (ICE in set_value_range, at tree-vrp.c:417)
PR tree-optimization/51247
* tree-vrp.c (extract_range_from_assert): For signed 1-bit precision
types instead of adding 1 subtract -1 and instead of subtracting 1
add -1 to avoid overflows.
* gcc.c-torture/compile/pr51247.c: New test.
From-SVN: r181818
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions