diff options
author | Bin Cheng <bin.cheng@linux.alibaba.com> | 2018-11-15 03:44:49 +0000 |
---|---|---|
committer | Bin Cheng <amker@gcc.gnu.org> | 2018-11-15 03:44:49 +0000 |
commit | a81e2c6240655f60a49c16e0d8bbfd2ba40bba51 (patch) | |
tree | e7cce19325fbea4e794b3677a829d5c0e940b7f2 /gcc/tree-data-ref.c | |
parent | d8fdf280ab8e6f12746f23717cc0cf92871561d1 (diff) | |
download | gcc-a81e2c6240655f60a49c16e0d8bbfd2ba40bba51.zip gcc-a81e2c6240655f60a49c16e0d8bbfd2ba40bba51.tar.gz gcc-a81e2c6240655f60a49c16e0d8bbfd2ba40bba51.tar.bz2 |
re PR tree-optimization/84648 (Missed optimization : loop not removed.)
PR tree-optimization/84648
* tree-ssa-loop-niter.c (adjust_cond_for_loop_until_wrap): New.
(number_of_iterations_cond): Adjust exit cond for loop-until-wrap case
by calling adjust_cond_for_loop_until_wrap.
gcc/testsuite
* gcc.dg/tree-ssa/pr84648.c: New test.
* gcc.dg/pr68317.c: Add warning check on overflow.
From-SVN: r266171
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions