low level optimization

Doug Gwyn gwyn at smoke.brl.mil
Sun Apr 21 05:08:23 AEST 1991


In article <1991Apr18.233653.19435 at zoo.toronto.edu> henry at zoo.toronto.edu (Henry Spencer) writes:
>There is nothing non-conforming about a compiler that does certain
>optimizations only in favorable situations, ...

Note that WITHIN a translation unit various "interprocedural" optimizations
may be performed to good effect, including identification of alias-free
pointer arguments.  One of the C compilers I routinely use goes so far as
to expand small functions "in-line" in order to avoid function linkage
overhead.



More information about the Comp.lang.c mailing list