[patch] Fix PR debug/59418

Eric Botcazou ebotcazou@adacore.com
Wed Dec 18 09:47:00 GMT 2013


> Is it really a good idea to put the XVECLEN into the loop condition?
> I mean, the functions that are called in the loop are unlikely pure
> and thus the length will need to be uselessly reread for each iteration.

I'm not sure we are supposed to care about this kind of micro-optimization in 
the compiler but...

> My preference would be to keep the limit hoisted manually before the loop.

...OK, I'll leave it alone.

> Otherwise looks good to me.

Thanks.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list