[m-rev.] proposed addition to coding standards

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Nov 16 00:40:27 AEDT 2003


On 15-Nov-2003, Peter Moulder <Peter.Moulder at infotech.monash.edu.au> wrote:
> 
> Note that following this proposal for C code means that gcc (3.3.2, -O2) 
> will do no inlining of functions where the caller and callee are defined
> in the same source file; i.e. gcc-3.3 -O2 won't inline functions whose
> definition appears after the call in the translation unit.

In that case, we should compile our C files (runtime/*, trace/*) with gcc -O3.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list