[Bug libfortran/48602] Invalid F conversion of G descriptor for values close to powers of 10
jvdelisle at frontier dot com
gcc-bugzilla@gcc.gnu.org
Wed May 4 13:05:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48602
--- Comment #48 from jvdelisle at frontier dot com 2011-05-04 12:30:59 UTC ---
On 05/04/2011 05:15 AM, ebay.20.tedlap at spamgourmet dot com wrote:
> --- Comment #47 from Lionel GUEZ<ebay.20.tedlap at spamgourmet dot com> 2011-05-04 12:15:16 UTC ---
> (In reply to comment #46)
--- snip ---
> Hello. I have noticed a bug which seems related to the one you are describing.
> According to the Fortran 95 standard, printing the number 0.96 with the format
> 1pg7.1 should give the same result than with format f3.0. Thus, the result
> should be 1., but Gfortran produces the surprising result 0. Is it the same
> bug?
It is PR48787 and a patch has been submitted for approval. It is fixed on my
development trunk.
More information about the Gcc-bugs
mailing list