This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/38772] r143102 breaks error checking on floating point reads
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2009 04:14:35 -0000
- Subject: [Bug libfortran/38772] r143102 breaks error checking on floating point reads
- References: <bug-38772-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from jvdelisle at gcc dot gnu dot org 2009-01-13 04:14 -------
The problem is in read.c. In reading floats we are not catching invalid
exponent characters. The BN patch just revealed this bug that has been there
all along.
The string can be just about anything with an 'e' followed by at least one
character, including such things as 'ej' or 'e k '.
Incidentally, Daniel's read float patch fixes this. If any one is brave
enough, we could just commit his patch. Otherwise I will band aid this one,
hopefully shortly.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38772