Issue 166093
Summary [flang] Deleted feature: do loop with float bounds
Labels flang
Assignees
Reporter foxtran
    One may want to write the following program.

```Fortran
program do_test
 do f = 1.5, 3.4, 1.1
     print *, f
   end do
end program do_test
```

However, in one of Fortran standards, do loops were constrained to use only integer expressions, so it is not a valid program for latest Fortran standard. It would be nice to provide warning during compilation like gfortran does.

See an example here:
https://godbolt.org/z/n75z18cEr
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to