Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers

Nicolas Pitre
2005-12-30T03:31:28Z

On Thu, 29 Dec 2005, Arjan van de Ven wrote:

> Some data from an x86-64 allyesconfig build.
>
> 25573 cfi_build_cmd [108] <245>

Beware this one. The CFI code is not realistically ever used with
everything set to y in real life scenarios. In fact, when only the
needed buswidth and interleave option are selected then this particular
inlined function gets reduced to a simple constant, such as 0x00700070
for example.

However if gcc wasn't forced to always inline, then in the allyesconfig
this function would benefit from being uninlined automatically.

Nicolas