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 fortran/25109] New: formatted reads with embedded blanks in input fields


Formatted reads with embedded blanks in the input fields do not appear to be
working correctly for I and F edit descriptors.  For example, using the edit
descriptor I3 to read in the value of an integer variable where the input field
contains

1 3

Yields the runtime error message

Bad value during integer read

Using the edit descriptor f5.0 for reading a double precision variable where
the input field contains

1 3 5

produces the resulting assinged value of the variable of 1d0

Very odd.


-- 
           Summary: formatted reads with embedded blanks in input fields
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brad dot finney at humboldt dot edu
 GCC build triplet: 4.2.0 20051126
  GCC host triplet: i686-pc-mingw32
GCC target triplet: win32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25109


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