http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55539
--- Comment #3 from Harald Anlauf 2012-12-11 22:33:21
UTC ---
(In reply to comment #2)
I played a little bit with the code and found that the
following patch appears to fix my problem:
Index: libgfortran/io/write_float.def
==
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55539
--- Comment #4 from Tobias Burnus 2012-12-12
11:16:33 UTC ---
(In reply to comment #3)
> Strangely enough I needed to add some epsilon to 0.5 so that
> the second test passes, because the exact value 0.5 appears
> to get rounded down to 0 in for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55539
Janne Blomqvist changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot |jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55539
--- Comment #6 from Janne Blomqvist 2012-12-15 16:47:44
UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > Strangely enough I needed to add some epsilon to 0.5 so that
> > the second test passes, because the exact value 0.5 appears
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55539
--- Comment #7 from Janne Blomqvist 2012-12-25 22:11:21
UTC ---
Author: jb
Date: Tue Dec 25 22:11:16 2012
New Revision: 194717
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194717
Log:
PR fortran/55539 Fix regression in -fno-s
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55539
Janne Blomqvist changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55539
Tobias Burnus changed:
What|Removed |Added
Keywords||wrong-code
Priority|P3