aboutsummaryrefslogtreecommitdiff
path: root/gcc/fibonacci_heap.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-02-08 10:21:57 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-02-08 10:21:57 +0100
commit74a15d1424da560bb599fe781ccbef070372a477 (patch)
treeab1c196bea449e8d75b31dfc1fabc401ae65b2d2 /gcc/fibonacci_heap.c
parent01726bc97785f6e66d6d882bf2b81077391603c5 (diff)
downloadgcc-74a15d1424da560bb599fe781ccbef070372a477.zip
gcc-74a15d1424da560bb599fe781ccbef070372a477.tar.gz
gcc-74a15d1424da560bb599fe781ccbef070372a477.tar.bz2
re PR tree-optimization/79408 (Missed VRP optimization of integer modulo)
PR tree-optimization/79408 * tree-vrp.c (simplify_div_or_mod_using_ranges): If op1 is not constant, but SSA_NAME with a known integer range, use the minimum of that range instead of op1 to determine if modulo can be replaced with its first operand. * gcc.dg/tree-ssa/pr79408.c: New test. From-SVN: r245273
Diffstat (limited to 'gcc/fibonacci_heap.c')
0 files changed, 0 insertions, 0 deletions