[Bug fortran/37930] gfortran error and ICE at automatic type conversion with transfer intrinsic
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 27 23:55:00 GMT 2008
------- Comment #2 from kargl at gcc dot gnu dot org 2008-10-27 23:53 -------
An even shorter test case:
program test
implicit none
integer i
i = transfer(-1,1.0)
end program test
Your transfer(-1,1.0) is a NaN for the 32-bit default REAL type.
I suspect that your program is nonconforming when you try to
assign the NaN to i.
While gfortran should never die with an ICE, I'd advise against
using nonstandard code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37930
More information about the Gcc-bugs
mailing list