This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25109] New: formatted reads with embedded blanks in input fields
- From: "brad dot finney at humboldt dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2005 23:22:05 -0000
- Subject: [Bug fortran/25109] New: formatted reads with embedded blanks in input fields
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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