[Help] Maybe a bug that will affect stdlib_io:open
: open files with access=stream
in gfortran.
#532
Labels
stdlib_io:open
: open files with access=stream
in gfortran.
#532
Description
The following example can get our expected results on
ifort
, but in the case of gfortran withaccess=stream
, for the characters in the output example (A10>A2
), unexpected encoding will occur!This may affect the use of the
open
function instdlib_io
with gfortran, which usesaccess=stream
.Demo: Characters output
Run results on my laptop (windows10, msys2 ucrt64-gfortran 10.3)
2.txt
3.txt
Expected Behaviour
In the above example, I think
access
should output consistent results in bothsequential
andstream
cases.ifort
is like this, gfortran unexpectedly garbled whenaccess=stream
.Version of stdlib
8bfcdf9
Platform and Architecture
Windows 10, msys2 ucrt64-gfortran 10.3
Additional Information
I think this should be a bug. If so, do we need to report to gfortran?
The text was updated successfully, but these errors were encountered: