------- Comment #6 from changpeng dot fang at amd dot com 2010-02-26 19:06 -------
> > Actually it is a totally different case. Please file a new bug with that > case; > though there might already be a bug about that one. > I could not see the difference even though j is not a compile-time constant. (it is an invariant to the innermost loop). I can say: GCC does not pull out a[j] from loop that changes a[i] for i:[j+1,n] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43182