------- Comment #12 from tobias dot burnus at physik dot fu-berlin dot de  
2006-10-23 18:52 -------
Cf. also bug 29471.

In the Intel Fortran Compiler
 real :: r
 data r/some BOZ/
gives the same result as using the Fortran 2003 statement in ifort:
 real :: r
 r = real(some boz)
(At least with the "-switch fe_new_BOZ_constants".)

Therefore, with Fortran 2003 BOZ support in place, implementing this in
gfortran should then become easier. (Working around will also become easier.(

(As gfortran accepts [integer] BOZ everywhere, it will also have the problem
whether real( z'F' ) is meant as "convert integer BOZ to integer and then to
real" or as "convert real BOZ to real". Ifort gives a default warning for both
-stand f95 and -stand f03, treating the BOZ differently for those two cases.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18026

  • [Bug fortran/18026] boz i... tobias dot burnus at physik dot fu-berlin dot de

Reply via email to