Re: -O2 vs -O3

From: Andreas Schwab (schwab@suse.de)
Date: Wed May 24 2000 - 13:55:05 EST


Christopher Thompson <chris@hypocrite.org> writes:

|> Brief question:
|>
|> Linux kernels are compiled with the -O2 flag set. I'm curious, why don't we
|> use -O3?

Because the only difference between -O2 and -O3 is -finline-functions,
which is bad for the kernel sources (which wants to control inlining
explicitly).

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:12 EST