[pe.cust.general] -O option to cc

steve@lpi3230.UUCP (Steve Burbeck) (02/14/85)

As Dave Sherman points out, there is no functioning optimizer in v2.4
Edition VII.  However there is one for the v2.2.1.1/v2.3 compiler.
The drawback is that it screws up if there are ANY float variables in
the source.  Moreover, the pre 2.4 compilers do not handle double
data types.  But if all you need is non-float data, you can compile and
optimize with the pre 2.4 compilers.

One minor technical note that should affect few if any of you, is that
the stack protocol output by the 2.4 compiler differs from pre 2.4
compilers.  If you have any application that needs to know about and/or
manipulate the stack (such as our Franz Lisp system) you might have
trouble using one or the other type of compiler.

dave@lsuc.UUCP (David Sherman) (02/14/85)

In article <143@lpi3230.UUCP> steve@lpi3230.UUCP (Steve Burbeck) writes:
||	  But if all you need is non-float data, you can compile and
||optimize with the pre 2.4 compilers.

Can this optimizer be used with the 2.4 compiler, if there are
no float variables? If so, would someone care to hack it up
to do a first pass to see if there are any floats in the file,
and do nothing if there are?

Dave Sherman
-- 
{utzoo pesnta nrcaero utcs}!lsuc!dave
{allegra decvax ihnp4 linus}!utcsrgv!lsuc!dave