https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89893
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #31 from Martin Liška <marxin at gcc dot gnu.org> --- > But if using "--enable-lto" and "-fno-strict-aliasing", the issue cannot be > solved. In order to solve the issue, besides those options, > “__attribute__((noipa))” has to be added to the uv_unref(uv_handle_t*) > function. So you recommend this solution, right? No, with -fno-strict-aliasing one should not need the noipa attribute. I can take a look why it's not helping.