On 07/08/2016 01:52 PM, Bernd Schmidt wrote:
int maxidx = MIN (IRA_MAX_LOOPS_NUM, n); for (i = 0; i < maxidx; i++) {
Gah, that's not right, that'll swap the numbers of kept/removed loops. I think the right answer is simply for (i = 0; i < n - IRA_MAX_LOOPS_NUM; i++) Bernd