https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107250
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> --- On the other hand, dispatching the load before malloc is useful if you expect it to miss in the caches. If you wrote the code with that in mind, and the compiler moved the load anyway, a manual workaround to *that* would be more invasive.