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/31194] NaN transfer - internal compiler error: in gfc_conv_constant



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


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