Update iterator of next
authorXiong Hu Luo <luoxhu@linux.ibm.com>
Fri, 15 Nov 2019 08:15:37 +0000 (08:15 +0000)
committerXiong Hu Luo <luoxhu@gcc.gnu.org>
Fri, 15 Nov 2019 08:15:37 +0000 (08:15 +0000)
commit2aae99f7a4ff1adb7b7b557eb98eccce83a437dc
treefae549dc3c967bcf1d02d5fab073fe09335f3710
parentf543bdd3f997a82627fee4bd3704dd939ece809d
Update iterator of next

next is initialized only in the loop before, it is never updated
in it's own loop.

gcc/ChangeLog:

2019-11-15  Xiong Hu Luo  <luoxhu@linux.ibm.com>

* ipa-inline.c (inline_small_functions): Update iterator of next.

From-SVN: r278277
gcc/ChangeLog
gcc/ipa-inline.c