--- Comment #5 from jv244 at cam dot ac dot uk 2008-08-28 15:40 ---
current trunk still doesn't remove the if statement, despite the fact that it
could.
--
jv244 at cam dot ac dot uk changed:
What|Removed |Added
--- Comment #4 from jv244 at cam dot ac dot uk 2007-06-21 04:08 ---
> If igmin is -huge(0), (1-ig) can wrap, so ig2 might eventually be equal to ig,
> no? (although I agree for wrapping arithmetic, it will never be the case)
in Fortran 1-ig can't overflow (unless the program is undefine
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-06-20 21:53
---
(In reply to comment #0)
> DO ig=igmin,0
>ig2=1-ig
>if (ig.EQ.ig2) CALL link_error()
> ENDDO
> END
If igmin is -huge(0), (1-ig) can wrap, so ig2 might eventually be equal to ig,
no? (although I agree for
--- Comment #2 from jv244 at cam dot ac dot uk 2007-05-06 16:26 ---
(In reply to comment #1)
>
> *** This bug has been marked as a duplicate of 30965 ***
>
Still fails for me with today's gfortran:
> gfortran -O3 mytest.f90
/tmp/cc6sfSVv.o(.text+0x9f): In function `MAIN__':
: undefine
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-02 20:04 ---
*** This bug has been marked as a duplicate of 30965 ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--