This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37930] gfortran error and ICE at automatic type conversion with transfer intrinsic
- From: "deji_aking at yahoo dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2008 17:07:36 -0000
- Subject: [Bug fortran/37930] gfortran error and ICE at automatic type conversion with transfer intrinsic
- References: <bug-37930-8911@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from deji_aking at yahoo dot ca 2008-10-28 17:07 -------
(In reply to comment #10)
> Subject: Re: gfortran error and ICE at automatic type conversion with transfer
> intrinsic
>
> > When I run
> >
> > program test
> > integer i
> > i = transfer(-1,1.0)
> > print *, i
> > end
> >
> > I get -2147483648 with gcc-4.2, ifort, and pgf90 on x86_64 Linux, and same
> > value with xlf on AIX with power5.
> >
>
> What does
>
> program test
> print *, transfer(-1,1.0)
> end program test
>
> print with those compilers?
>
NaN with all the compilers on x86_64 Linux and -NaNQ with xlf on power5 AIX.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37930