Test Program for Powerstation and Microsoft Fortran
OOPS!
I said:
> David tried "Mac Fortran II v3.1.2 - Absoft - On a Macintosh IIci". The
> results of the program were incorrect with all compiler options that
> he tried, including no optimization at all.
David Bourne looked more closely and realized that the test program was
flawed. Certain variables are used which would have been initialized
to zero in the NONMEM environment, but were uninitialized in the test
environment. In the Mac environment (unlike Unix and Microsoft),
uninitialized memory is filled with garbage rather than zeros.
With correct initialization, Mac Fortran II results appear to be
correct. He is still checking various levels of optimization.
The bug in the driver does not explain the incorrect results from
Powerstation Fortran with /Ox, because these are in values that do
not depend on previous initialization.
Alison