This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29471] Warn with -std=f95/f2003 when BOZ is used at invalid places
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2006 16:51:45 -0000
- Subject: [Bug fortran/29471] Warn with -std=f95/f2003 when BOZ is used at invalid places
- References: <bug-29471-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kargl at gcc dot gnu dot org 2006-10-16 16:51 -------
This is going to be difficult to fix. In fact, it will require a
complete rewrite on how BOZ are handled.
> Fortran 2003:
> a = real(z'F')
> = 2.1019477E-44
Are you sure this is the only correct value? The F2003 says nothing
about the other 28 bits. It also says nothing about whether z'F'
applies to most significant bits or least significant bits of the
32-bit real.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29471