https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89696
--- Comment #6 from Khang H. Nguyen <kevin at fai dot host> ---
Sorry, if I am wasting your time.
I just have an addition to add to the above.
If you use formatting. For example, in a case like this below, it will not give
a correct value, as now leading spaces will be disregarded but no error is
thrown. This code below will give 124
program test1
implicit none
character(len=100) :: str
integer :: b
str = " 1245 ab "
read(str, '(I4)') b
print *, b
end program test1