diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-06-04 09:37:56 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-06-04 09:37:56 +0200 |
commit | 261ef15d46a4220c0b7453ac55265c61cda171b1 (patch) | |
tree | 32e5e1d6f447d3cd145d1d5bc36670f50dbfcc38 /gcc/tree-cfgcleanup.c | |
parent | 20b11fd41a51d669eec3601571e21e0081f5c5e0 (diff) | |
download | gcc-261ef15d46a4220c0b7453ac55265c61cda171b1.zip gcc-261ef15d46a4220c0b7453ac55265c61cda171b1.tar.gz gcc-261ef15d46a4220c0b7453ac55265c61cda171b1.tar.bz2 |
re PR tree-optimization/69615 (0 to limit signed range checks don't always use unsigned compare)
PR tree-optimization/69615
* fold-const.c (merge_ranges): If range1 is - [x, x] and x is the
maximum or minimum of the type, try to merge it also as if
range1 is + [-, x - 1] or + [x + 1, -].
* gcc.dg/pr69615.c: New test.
From-SVN: r261139
Diffstat (limited to 'gcc/tree-cfgcleanup.c')
0 files changed, 0 insertions, 0 deletions