> Then either make the memory variable (like __malloc_hook) volatile, or use
> the asm ("" : "=r" (hook) : "0" (hook)); trick. The latter is cheaper.
OK, fine, will you prepare a patch with the latter?
You know gcc well, will this really make a difference, and if so, on
which architectures?
Regards,
Wolfram.