Anybody have any experience with (Vax) Tartan C compiler?

Mike O'Dell mo at seismo.UUCP
Wed Dec 5 01:04:05 AEST 1984


Super-optimizing C compilers may be wonderful, but don't expect
to compile your Kernel with such a beast.  Also, be careful of
code which calls time functions.  It is very easy to break the
kernel by moving code around!!!!  The proposed ANSI C standard
includes a new declaration keyword "volitile" to tell the compiler
"don't optimize accesses to this variable", but until this is
implemented, among other things, super-optimizing C compilers should be
used with considerable care.

Compilers which do a good job of code generation are another matter,
but keep in mind that one person's good code generation may be another
person's block optimizations.

These comments are based on conversations with an author of a merely
well-optimizing C compiler who had to work hard to make his
kernel work again.

	-Mike O'Dell



More information about the Comp.unix mailing list