[patch, libgfortran] PR47667 I/O for reals: READ waits for input after "i" and "n"

Tobias Burnus burnus@net-b.de
Wed Feb 16 19:23:00 GMT 2011


On 02/15/2011 06:51 AM, Jerry DeLisle wrote:
> Here is an updated patch.  Regression tested on x86-64.  This patch 
> adjusts reading for all types to avoid unwanted waiting for input. The 
> patch also gives more flexible input for complex reads by permitting 
> line feeds before and after '(', ',', and ')' This appears to be a 
> common convention for reading complex values.
>
> OK for trunk?

OK and thanks for the patch! I really wonder how long it will take until 
all such issues are fixed.

Tobias

> 2011-02-14  Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
>     PR libgfortran/47567
>     * io/list_read.c (read_logical): Check for end of line before calling
>     eat_line. (read_integer): Likewise. (parse_real): Don't unget the
>     separator. Check for end of line before calling    eat_line.
>     (read_complex): Allow line-end before and after parenthesis and 
> comma.
>     Check for end of line before calling eat_line. (read_real): Check for
>     end of line before calling eat_line.



More information about the Gcc-patches mailing list