title: Loop vectorization and how to avoid it
body: <p>Loop vectorization is when all right-hand-side expressions are computed at the onset. I just discovered my loops are being vectorized (in FORTRAN 77... don't ask). I need my loop condition variable to be updated in each iteration, but how can I rewrite to work around this vectorization?</p>
  
  <p>In a <a href="https://stackoverflow.com/q/4429405/205926">related post</a>, I'm looking for a way to disable this optimization "feature" in FORTRAN specifically, but here I am looking for a more algorithmic solution to the general case.</p>