aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/algorithm
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-02-20 12:58:50 +0100
committerRichard Biener <rguenther@suse.de>2023-02-21 14:02:58 +0100
commita7e706df2280de4a42f68b6c44401e4348d3593c (patch)
treee693cda033b51bd08424591afdde3fa0a296f2d5 /libphobos/src/std/algorithm
parente28c5b33b987374f753b32306b0d3ecf610b64f2 (diff)
downloadgcc-a7e706df2280de4a42f68b6c44401e4348d3593c.zip
gcc-a7e706df2280de4a42f68b6c44401e4348d3593c.tar.gz
gcc-a7e706df2280de4a42f68b6c44401e4348d3593c.tar.bz2
tree-optimization/108793 - niter compute type mismatch
When computing the number of iterations until wrap types are mixed up, eventually leading to checking ICEs with a pointer bitwise inversion. The following uses niter_type for the calculation. PR tree-optimization/108793 * tree-ssa-loop-niter.cc (number_of_iterations_until_wrap): Use convert operands to niter_type when computing num. * gcc.dg/torture/pr108793.c: New testcase.
Diffstat (limited to 'libphobos/src/std/algorithm')
0 files changed, 0 insertions, 0 deletions