This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Aug 2007 15:23:47 -0700
- Subject: Re: [Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output
- References: <bug-33225-12313@http.gcc.gnu.org/bugzilla/> <20070829221858.9816.qmail@sourceware.org>
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