http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46373
Summary: fflush called when reading from a string Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: e01reyn...@gmail.com When reading a integer from a string (ie READ(string,'(I3)') number) it calls fflush from flush_if_preconnected routine inside data_transfer_init routine. It causes me trouble in a C thread waiting for keyboard calling getc. Is there a valid reason for calling fflush while reading a string ?