From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199610180524.BAA08287@rrdjazz.nist.gov> Date: Fri, 18 Oct 1996 01:24:33 -0400 From: Przemek Klosowski Subject: Re: Fortran compiler for Linux/Alpha f2c (using it by itself and with the various drivers) gives me bad results with rather simple programs. I was using a simple, well known Runge-Kutta diff eq solver (rkf45.f at netlib) which works fine on my HP palmtop, various Suns, OSF/1 boxen and etc, but it won't work on Linux-AXP or I have often seen Fortran code that fails on f2c because of the missing SAVE's, i.e. the code assuming that subroutine local variables are preserved across different calls to this subroutine. This assumption is not only invalid as per Fortran 77, but is even mentioned as invalid in DEC VAX FORTRAN manual (VAX fortran is the prototypical compiler which didn't require SAVEs; other compilers often fake SAVEs just to avoid revealing this particular deficiency in code being compiled) -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null