[Bug libfortran/48906] Wrong rounding results with -m32
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 19 05:55:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48906
--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-05-19 05:13:25 UTC ---
Thomas,
What are the correct results for this test case:
implicit none
integer, parameter :: RT = 8
write(*, "(rc,f11.2,4x,'<RC')") .995_RT
write(*, "(rc,g15.2,'<RC')") .995_RT
write(*, "(rd,f11.2,4x,'<RD')") .995_RT
write(*, "(rd,g15.2,'<RD')") .995_RT
write(*, "(ru,f11.2,4x,'<RU')") .995_RT
write(*, "(ru,g15.2,'<RU')") .995_RT
write(*,'(a)') "12345678901234567890"
end
I have finished re-factoring the code, but have some remaining breakages to
fix. I just want to confirm what the above should give vs what I am getting at
the moment. I will post a patch to test after I get all known breakage fixed.
Thanks.
More information about the Gcc-bugs
mailing list