re PR rtl-optimization/71634 (Invalid write with in mark_loops_for_removal (ira-build...
authorMartin Liska <mliska@suse.cz>
Tue, 12 Jul 2016 14:54:52 +0000 (16:54 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 12 Jul 2016 14:54:52 +0000 (14:54 +0000)
commit5548d9cd190fae2112e410b8ff91b09ec03f19e9
tree7000c87fdc09a7464877f850d109d13ff2511dc6
parent7cbadfdced9aa8208b4450538402f5f2206b8423
re PR rtl-optimization/71634 (Invalid write with in mark_loops_for_removal (ira-build.c:2256) with --param ira-max-loops-num=0)

Fix PR rtl-optimization/71634

* ira-build.c (mark_loops_for_removal): Properly iterate
loops.

From-SVN: r238247
gcc/ChangeLog
gcc/ira-build.c