[Bug fortran/32393] gfortran - incorrect run time results
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Mon Jun 18 15:29:00 GMT 2007
------- Comment #4 from dominiq at lps dot ens dot fr 2007-06-18 15:29 -------
> The only subroutine actually used is prmx. The rest are dummies to make the linker happy.
One thing which is obviously wrong is that 't' is declared as integer in vr2,
but is real in the calling program and in the prmx subroutine. Now I don't
know how the compiler is supposed to behave when there is a mismatch between
the arguments in the subroutines and their call. I suspect that the code is
badly invalid and as such can produce any result (as it is the case).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32393
More information about the Gcc-bugs
mailing list