This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18026] boz initialization of REALs fails
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2007 22:09:08 -0000
- Subject: [Bug fortran/18026] boz initialization of REALs fails
- References: <bug-18026-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from burnus at gcc dot gnu dot org 2007-12-08 22:09 -------
Fixed on the trunk (4.3.0).
gfortran now transfers the BOZ in
DATA inf / Z'7FF0000000000000' /
DATA nan / Z'FFF8000000000000' /
bitwise to the real/complex variables (contrary to g77 without needing an
option such as -ftypeless-boz).
Note: As this use of the BOZ is invalid Fortran 95 and 2003 syntax, it is
rejected using -std=f95/-std=f2003.
gfortran now also supports the Fortran 2003 syntax:
r = real(some boz)
For the exact description of the non-standard BOZ, see:
http://gcc.gnu.org/onlinedocs/gfortran/BOZ-literal-constants.html
(Wait a day for the update of that page.)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18026