[Bug fortran/35584] invalid warning: branch causes infinite loop

2008-03-14 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2008-03-15 00:28 --- Here an example were the warning is appropriate: $> cat infloop.f90 character(3) :: x = "xxx" 1 read(x,FMT="(I1)",err=1) i write(*,*) i end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug fortran/35584] invalid warning: branch causes infinite loop

2008-03-14 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2008-03-14 16:04 --- Btw, also note the position of the error marker ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35584