This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output
- From: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2007 22:23:59 -0000
- Subject: [Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output
- References: <bug-33225-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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