diff options
author | Jeff Law <law@redhat.com> | 2015-12-03 08:40:08 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-12-03 08:40:08 -0700 |
commit | 46bd784bfb29e94841b7d2702277d77445a7a47f (patch) | |
tree | 9f82d6adb1a1a1767cf5c5002c5f241448ca67b7 /gcc/passes.c | |
parent | a54a5997d9d4a981893984a6cc406f4865be7313 (diff) | |
download | gcc-46bd784bfb29e94841b7d2702277d77445a7a47f.zip gcc-46bd784bfb29e94841b7d2702277d77445a7a47f.tar.gz gcc-46bd784bfb29e94841b7d2702277d77445a7a47f.tar.bz2 |
[PR tree-optimization/68599] Avoid over-zealous optimization with -funsafe-loop-optimizations
PR tree-optimization/68599
* loop-init.c (rtl_loop_init): Set LOOPS_HAVE_RECORDED_EXITS
in call to loop_optimizer_init.
* loop-iv.c (get_simple_loop_desc): Only allow unsafe loop
optimization to drop the assumptions/infinite notations if
the loop has a single exit.
From-SVN: r231231
Diffstat (limited to 'gcc/passes.c')
0 files changed, 0 insertions, 0 deletions