------- Comment #27 from jv244 at cam dot ac dot uk 2009-08-15 07:50 ------- (In reply to comment #26) > If it weren't for the outermost loop it would actually be perfectly legal to > modify 'value' inside the loops. If there were a way of telling the compiler > "this pointer can't escape" this would be really easy to solve.
actually value can be legally modified in the inner loops (I believe), only it doesn't influence the loop count (which is determined before the loop start). I believe it is only the do loop variable which is not allowed to be modified. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31593