Re: [2.6 patch] add a config option for -Os

From: Valdis . Kletnieks
Date: Tue Aug 26 2003 - 10:02:36 EST


On Tue, 26 Aug 2003 23:41:09 +0900, Yoshinori Sato said:

> -O2 -Os -O2&-Os
> .text 561200 554368 555088
> .data 59148 58612 58868
> .bss 45244 45260 45244
> total 665592 658240 659200

Note that specifying -O2 *and* -Os together is probably counter-productive.

'info gcc' says:

If you use multiple `-O' options, with or without level numbers,
the last such option is the one that is effective.

You might want to investigate why the 3rd column of numbers is different
from both of the first two.

Attachment: pgp00001.pgp
Description: PGP signature