------- Comment #1 from burnus at gcc dot gnu dot org  2007-03-16 09:34 -------
I'm not anymore sure whether it is valid or not.

Related:
   NaN = transfer(ishft(int(z'FFF80000',8),32),0.0_8)
this prints duly "NaN" with NAG f95, sunf95, ifort, g95 and gfortran.

The example of comment 0 prints NaN with g95 and sunf95, ifort prints "0.0"
(???) and NAG f95 rejects it with:
Error: foo.f90, line 1: INT of non-integer not permitted in an initialisation
expression
which somehow looks strange.


-- 


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

Reply via email to