[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output
Andrew Pinski
pinskia@gmail.com
Wed Aug 29 22:23:00 GMT 2007
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
More information about the Gcc-bugs
mailing list