[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output

pinskia at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 29 22:24:00 GMT 2007



------- Comment #3 from pinskia at gmail dot com  2007-08-29 22:23 -------
Subject: Re:  [4.3 regression] Missing last digit is some formatted output

On 29 Aug 2007 22:18:58 -0000, dominiq at lps dot ens dot fr
<gcc-bugzilla@gcc.gnu.org> wrote:

> FM406 gives:
>
> ...
>                  COMPUTED=            -0.0
>                  CORRECT=   0.0

Actually this is expected if you did not supply -fno-sign-zero or
-std=f95 as the default is to print negative 0 as -0.0 as in the 2003
Fortran standard while F95 says don't print the negative sign for
-0.0.

Thanks,
Andrew Pinski


-- 


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



More information about the Gcc-bugs mailing list