[Bug libfortran/92100] Formatted stream IO irreproducible read with binary data in file

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 16 18:40:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92100

--- Comment #4 from kargl at gcc dot gnu.org ---
Here's a self-contained program.  AFAICT, pos= has an effect only within the
first record, and thereafter it is ignored.

F2018, 12.3.3.4(4) gives a bulleted list of things that can cause problems for
a user.  My unsolicited advice: Don't mix stream access and formatted output.
:(


More information about the Gcc-bugs mailing list