------- Comment #8 from pault at gcc dot gnu dot org 2007-11-12 15:34 ------- (In reply to comment #7)
> A peculiar feature of this failure is that 'i' can be changed to INTEGE(1,2,8) > and the test succeeds at any level of optimisation. It is only at the default > logical length that it fails! > Puzzled For -O1 and above, .true. == 1_defaultint, whereas it is .true. == >0_defaultint for no optimization. Try setting ip1 to 1. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33759