[Bug libfortran/48602] Invalid F conversion of G descriptor for values close to powers of 10

thenlich at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Tue Apr 19 06:09:00 GMT 2011


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

--- Comment #32 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-04-19 06:09:27 UTC ---
(In reply to comment #30)
> I can not reproduce the issue with optimization issue on my linux system
> x86-64.
> 
> Thomas, what platform do you see the problem on?  I only see it on a Cygwin
> installation.

$ uname -a
Linux debivm 2.6.26-2-686 #1 SMP Thu Jan 27 00:28:05 UTC 2011 i686 GNU/Linux
$ ~/gcc-4.7-20110409/bin/gcc -O2 write_float.c && ./a.out
d=2
$ ~/gcc-4.7-20110409/bin/gcc -O2 -fexcess-precision=standard write_float.c  &&
./a.out
d=1
$ ~/gcc-4.7-20110409/bin/gcc --version
gcc (GCC) 4.7.0 20110409 (experimental)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

>uname -a
windows32 theta 2.5.1 2600 i686-pc Intel unknown MinGW

>gcc -O2 write_float.c && .\a.exe
d=2

>gcc -O2 -fexcess-precision=standard write_float.c && .\a.exe
d=1

>gcc --version
gcc (GCC) 4.7.0 20110409 (experimental)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



More information about the Gcc-bugs mailing list