diff options
| author | Richard Biener <rguenther@suse.de> | 2026-01-29 13:56:11 +0100 |
|---|---|---|
| committer | Richard Biener <rguenth@gcc.gnu.org> | 2026-01-29 15:17:06 +0100 |
| commit | 06320fa8b37593f00ebc13b37d6411eb29ff8a4c (patch) | |
| tree | af53a0b3d41f5b8113067f6b01e2ce043a592071 /libjava | |
| parent | 397b0827bcd40eb9b0c5c4bfae7a3dcb2030cef2 (diff) | |
| download | gcc-06320fa8b37593f00ebc13b37d6411eb29ff8a4c.zip gcc-06320fa8b37593f00ebc13b37d6411eb29ff8a4c.tar.gz gcc-06320fa8b37593f00ebc13b37d6411eb29ff8a4c.tar.bz2 | |
tree-optimization/122537 - do not elide maybe_zero condition for wrapping IV
The following removes the optimization eliding the maybe_zero condition
from number_of_iterations_lt_to_ne when the IV can overflow since the
IV delta input is not accurately reflecting this.
PR tree-optimization/122537
* tree-ssa-loop-niter.cc (number_of_iterations_lt_to_ne): Register
may_be_zero condition when the IV may overflow.
* gcc.dg/torture/pr122537.c: New testcase.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions
