[PATCH 12/12] Force always inline for gcc 4.5 when optimizing for size

2011-10-13 Thread Andi Kleen
From: Andi Kleen I found that gcc 4.5 didn't inline a lot of inlines with CONFIG_OPTIMIZE_INLINING and CONFIG_CC_OPTIMIZE_FOR_SIZE. It was quite common to have very small inlines to be out of line, or worse inline statics in include files to be out of line with a copy for every file using it too.

[PATCH 12/12] Force always inline for gcc 4.5 when optimizing for size

2011-10-13 Thread Andi Kleen
From: Andi Kleen I found that gcc 4.5 didn't inline a lot of inlines with CONFIG_OPTIMIZE_INLINING and CONFIG_CC_OPTIMIZE_FOR_SIZE. It was quite common to have very small inlines to be out of line, or worse inline statics in include files to be out of line with a copy for every file using it too.