Subject: Re: More config changes, for ro source tree and disjoint build trees
To: None <mrg@eterna.com.au>
From: Mike Long <mike.long@analog.com>
List: tech-kern
Date: 08/13/1996 20:06:11
>From: matthew green <mrg@eterna.com.au>
>Date: Wed, 14 Aug 1996 09:53:17 +1000
>
>   1) You get some bloat, because those bits of support code are always
>   included instead of #ifdef'd out if the option is absent.  There is
>   also a speed penalty, because of the added flag checks.
>
>kinda.  gcc will optimise out code that looks like
>
>int foo = 0;
>
>if (foo) {
>	...
>}

Only if the variable declaration is in the same .c file; gcc can't
optimize across compilation units.  (I'd be *very* impressed by any
compiler that does!)
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil