> Note also that excessive inlining often is a loss due to > increase in icache pressure. In Ada it is the style to > carefully mark inlinable routines with pragma Inline, and > we often find in Ada that use of -O3, which activates > automatic inlining, going beyond what the programmer has > asked for, is often an overall loss.
That's a little outdated though, 4.x behaves differently. -- Eric Botcazou