This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: Fortran whole file patch


Paul Richard Thomas wrote:

Dear Honza,

Thanks for....

     CALL DINITU(ZET,TM,DKM,DZ,WORK(LWG),WORK(LWM),NZ,NP,UM,UG,VG,F)
                               1
Error: Type mismatch in argument 'wg' at (1); passed REAL(8) to COMPLEX(8)
/home/jh/apsi.f:4325.33:

...which looks like a type cheating problem. I'll deal with this before turning to SPEC and, hopefully, it will fix this program.

Yep - unfortunately, this type cheating is very prevalent in old Fortran code, because you could get away with it so easily (was never detected, and "always" worked ...)


Lots of success, Paul, in getting this dealt with !

--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.4/changes.html


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