Optimization of conditional access to globals: thread-unsafe?

Eric Botcazou ebotcazou@adacore.com
Tue Oct 30 06:37:00 GMT 2007


> 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



More information about the Gcc mailing list