[Bug fortran/42422] New: Error in Fortran list directed input
palmtag5 at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 18 02:54:00 GMT 2009
An error occurs when arrays are read from the input using list-directed
input that uses a repeat(*) before a record terminator (/).
The repeat is ignored.
For example, reading an integer array dimensioned 10
integer :: imatrx(10)
...
read (*,*) imatrx
will give the wrong results when the input has a repeat before the record
terminator
1 2 3 4*5 /
Will read in the values as "1 2 3 5 x x x x x x"
instead of "1 2 3 5 5 5 5 x x x"
--
Summary: Error in Fortran list directed input
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: palmtag5 at yahoo dot com
GCC build triplet: 4.3.2
GCC host triplet: 4.3.2
GCC target triplet: 4.3.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42422
More information about the Gcc-bugs
mailing list