Hmmm, really? Switching compiler seems sufficient: https://godbolt.org/z/xnevov5d7
BTW, the case of it not optimizing was MSVC targetting Windows (which doesn't support LD_PRELOAD, but maybe has something similar?).
BTW, the case of it not optimizing was MSVC targetting Windows (which doesn't support LD_PRELOAD, but maybe has something similar?).
No comments yet.