------- Comment #26 from jv244 at cam dot ac dot uk 2009-08-31 15:20 ------- (In reply to comment #25) > - if (npx[(integer(kind=8)) i + -1] + 1 > > j) > + if (NON_LVALUE_EXPR > <npx[(integer(kind=8)) i + -1]> >= j)> where NON_LVALUE_EXPR appear when the > test is compiled without > -fno-strict-overflow.
I wonder if this is a case where the optimizers would benefit from exploiting the fact that in Fortran integers can never overflow in a valid program ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40106