Re: Linux kernel support -O0 optimization flag?

Ley Foon Tan
2013-04-16T06:10:43Z

On Mon, 2013-04-15 at 13:16 +0200, richard -rw- weinberger wrote:

> No. If I'm not mistaken we need this to make sure that the compiler
> inlines some functions.
>
> In your case the compiler failed to compute the BUILD_BUG() macro correctly.
> It depends also on optimization.
>
Thank you.
So, the supported optimization flags are -O1, -O2, -O3 and -Os?

Regards
LFTAN