[comp.unix.ultrix] DEC System 5000 f77 bug

michaelg@hydra.maths.unsw.oz.au (Michael Gerberg) (06/03/91)

We have discovered that the -r8 option (single to double precision conversion)
of the f77 compiler (Version 2.0) on our DEC Stations 5000 running ULTRIX
(Version 4.1) is unusable. The trouble is that certain specific intrinsic
functions are not converted to appropriate equivalents. In particular,
references to CABS, AMOD, DPROD, AIMAG, CSQRT, CEXP, ALOG, CLOG, ALOG10, CSIN
and CCOS produce a compile time error "bad argument type to intrinsic" and
references to REAL, FLOAT, SNGL and CMPLX cause run time loss of precision.
This compiler option is rather important to us since manual conversion of old
programs can be very time consuming. Unfortunately, DEC people here in Sydney
spent a long time trying to persuade us that the bug does not exist and the
option performs as intended. That just does not make any sense. We ask other
users to help us convince DEC to fix the bug.

		Michael Gerberg
		School of Mathematics
		University of New South Wales
		Sydney, Australia