http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48787
--- Comment #26 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-06-23 06:13:12 UTC --- Created attachment 24583 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24583 More tests for rounding If it helps, I added some more tests for this. By removing the code lines in questions, all tests from this testcase pass except: call checkfmt("(RU,F2.0)", 0.09, "1.") ! 0. call checkfmt("(RD,F3.0)", -0.09, "-1.") ! -0.