------- Comment #1 from kargl at gcc dot gnu dot org 2009-01-09 01:47 ------- Without a testcase, it is difficult to determine if the problem is with gfortran or a bug in your application.
>From Section 9.2.2.1, Internal File Properties, (8) On input, blanks are treated in the same way as for an external file opened with a BLANK= specifier having the value NULL and records are padded with blanks if necessary (9.4.4.4.2). >From Section 9.3.4.6, BLANK= Specifier in the OPEN statement, The scalar-default-char-expr shall evaluate to NULL or ZERO. The BLANK= specifier is permitted only for a file being connected for formatted input/output. If NULL is specified, all blank characters in numeric formatted input fields on the specified unit are ignored, except that a field of all blanks has a value of zero. If ZERO is specified, all blanks other than leading blanks are treated as zeros. If this specifier is omitted, the default value is NULL. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38772