[patch, libgfortran] PR35036 illegal E format descriptor produces wrong output

Jerry DeLisle jvdelisle@verizon.net
Wed Feb 20 08:13:00 GMT 2008


This patch also has been waiting for trunk to re-open.  This adds error checks 
for two corner cases.

The patch is self explanatory and simple.  Regression tested on x86-64 with 
revised test case attached.

I will commit to 4.4 soon.

Jerry

2008-02-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/35036
	* write_float.def (output_float):  Add error checks for zero digits
	after decimal point in E and D format specifiers.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr35036.diff
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080220/929d3c60/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fmt_zero_digits.f90
Type: text/x-fortran
Size: 1023 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080220/929d3c60/attachment-0001.bin>


More information about the Fortran mailing list