Christopher Smith wrote:
Hmmm... Maybe, yah. I suspect you'd still have to inline both of those
for that to work.
Fortunately... that decision is up to the optimizer. ;-)
I thought C++ required you to change the source code if you wanted
object code inlined, yes? I would think it exceptionally difficult to
inline code that isn't in the .h file included in the source that's
being compiled, yes? If it's already compiled and in a library, how
would the optimizer know you're getting the same value as the check is
using?
--
Darren New / San Diego, CA, USA (PST)
His kernel fu is strong.
He studied at the Shao Linux Temple.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg