This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/46373] New: fflush called when reading from a string


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: unassigned@gcc.gnu.org
        ReportedBy: e01reynier@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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]