------- Comment #7 from jv244 at cam dot ac dot uk 2010-03-12 12:01 ------- > ? You can also try -fno-ipa-cp and/or -fno-strict-overflow
-O2 -fno-inline -fno-tree-vrp -fno-tree-pre -fno-strict-aliasing -fno-ipa-cp BUG -O2 -fno-inline -fno-tree-vrp -fno-tree-pre -fno-strict-aliasing -fno-ipa-cp -fno-strict-overflow BUG If I add the write statement: write(999,*) i,j,k,l,a,aa,bb in the inner loop, the bug also disappears at -O2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43340