|
From: Julian S. <js...@ac...> - 2005-03-17 16:09:01
|
> Not every builtin results in inlined code. There's a built-in version > of malloc because malloc has some interesting properties. For > example, the returned pointer can never alias anything else, and it > has maximum alignment. What you and Bryan seem to be saying is: a gcc builtin is a fn that the compiler has some extra knowledge about, beyond the standard prototype. That doesn't imply that it will inline that function. However, if one of the bits of extra knowledge happens to be a copy of the function's body, then at least there is the possibility that it can inline the fn. J |