[Bug libfortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 12 07:20:00 GMT 2007



------- Comment #23 from burnus at gcc dot gnu dot org  2007-12-12 07:20 -------
> Tobias. do as you
> please.  We can either revert the original patch and get back to this without
> time pressure or proceed quickly.
Maybe reverting and proceeding then quickly w/o time pressure is best.

> With the current patch I am now concerned about hitting EOL or EOF conditions,
> since we do not test the character after each read.  For example:
>
>   write (10,*) " isfflx = infin/"
> I think this will give an error, but have not had time to check.

It does (end of file instead of invalid real), but as the input is invalid, it
should not matter too much.


> Reply to comment #21, we do need to fix parse_real since it is used to
> read_complex.
Maybe not. The problem of reading an infinity= cannot occur as complex numbers
start with a '(', which is checked in read_complex, unless I missed something.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34427



More information about the Gcc-bugs mailing list