[user32] Add DECLSPEC_NOINLINE, use it on call_hook_proc()

André Hentschel nerv at dawncrow.de
Fri Apr 19 12:28:40 CDT 2013


Am 19.04.2013 19:13, schrieb Qian Hong:
> On Sat, Apr 20, 2013 at 12:52 AM, Dan Kegel <dank at 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




More information about the wine-devel mailing list