[PATCH, libgfortran] Fix PR21875 (FM111.f) BN and BZ format specifiers

Jerry DeLisle jvdelisle@verizon.net
Sat Jul 9 20:05:00 GMT 2005


OK This looks better now.

This updated patch and test case bubblestrapped and regtested on 
i686-pc-linux-gnu.

2005-07-09  Jerry DeLisle  <jvdelisle@verizon.net>

     PR libfortran/21875  (FM111.f)
     * io/read.c (next_char): Return a ' ' character when BLANK_ZERO or
     BLANK_NULL are active.
     (read_decimal): Interpret ' ' character correctly for BZ or BN.
     (read_radix): Interpret ' ' character correctly for BZ or BN.
     (read_f): Interpret ' ' character correctly for BZ or BN.
     * gfortran.dg/test (fmt_read_bz_bn.f90): New test case.


NIST FM111.f retested OK.

Renamed and fixed the test case.

OK to commit?

Regards,

Jerry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read.diff
Type: text/x-patch
Size: 4588 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050709/1a44de48/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fmt_read_bz_bn.f90
Type: application/x-extension-f90
Size: 1220 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050709/1a44de48/attachment-0001.bin>


More information about the Fortran mailing list