Am 19.04.2013 19:13, schrieb Qian Hong: > On Sat, Apr 20, 2013 at 12:52 AM, Dan Kegel <d...@kegel.com> wrote: >> I suspect this is a real fix, and there is no gcc bug. > > Thanks for clarify. > > Curiosity killed the cat, what is the theory behind this patch? > I tried explicitly add 'inline' to every static functions in hook.c > but complie with -O0, to see if the bug can be reproduced in this way, > but nothing happen, this make me doubt being inline is not the > culprit. > > Any inspire is great appreciated! > > Best wishes from a curiosity cat :)
the inline keyword is meanwhile just a hint for the compiler, it doesn't need to inline it