Source: linux
Severity: wishlist

Hi.

Is there any reasons why you've enabled CONFIG_CC_OPTIMIZE_FOR_SIZE?

>From the help:
> Enabling this option will pass "-Os" instead of "-O2" to gcc resulting in a 
> smaller kernel.

>From gcc:
> Optimize for size.  -Os enables all -O2 optimizations that do not
> typically increase code size.  It also performs further
> optimizations designed to reduce code size.
> -Os disables the following optimization flags: -falign-functions
> -falign-jumps  -falign-loops -falign-labels  -freorder-blocks
> -freorder-blocks-and-partition -fprefetch-loop-arrays
> -ftree-vect-loop-version


So we loose all kinds of optimisations just for storage, which really doesn't
count on all but embedded systems.


Cheers,
Chris.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to