Do compilers still change
for i from 1 to n do z= i*x ... end to z=0; for i from 1 to n do z=z+x .. end ??