[patch, libfortran] PR43298 Fortran library does not read in NaN -Inf or Inf

Jerry DeLisle jvdelisle@verizon.net
Tue Jun 29 09:04:00 GMT 2010


On 06/27/2010 01:41 PM, Tobias Burnus wrote:
> Jerry DeLisle wrote:
>> This attached patch adds code to read these special cases. The code is
>> self explanatory. This added feature is for formatted READ.
>
The attached revised patch includes the updated test case.  With this patch, 
signs are handled for inf and infinity, spaces are not allowed within 
parenthesis, and malformed parenthesis are checked.

If OK, I can commit before freeze Tuesday evening (PST).

Regression tested.

Regards,

Jerry

2010-06-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43298
	* io/read.c: Add code to parse and read Inf, Infinity, NaN, and Nan with
	optional parenthesis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: infnan.diff
Type: text/x-patch
Size: 1775 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100629/26d49d88/attachment.bin>


More information about the Gcc-patches mailing list