This is the mail archive of the gcc-patches@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]

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


On Sat, Jul 09, 2005 at 01:05:59PM -0700, Jerry DeLisle wrote:
> 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?
> 

This is ok, but please check your diff for whitespace changes
(ie., tabs becoming spaces).  For example, your diff shows

*************** read_decimal (fnode * f, char *dest, int
*** 348,354 ****
  
        if (value > maxv - c)
        goto overflow;
!       value += c;
      }
  
    v = value;
--- 354,360 ----
  
        if (value > maxv - c)
        goto overflow;
!       value += c;      
      }
  
    v = value;


-- 
Steve


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