This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/18026] boz initialization of REALs fails



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]