https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89893
--- Comment #20 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to 康 珊 from comment #19) > I tried the following experiments: > 1)Tried "__attribute__((noinline)) uv_unref(uv_handle_t*)", it could solve > the issue. > 2)Tried "__attribute__((noipa)) uv_unref(uv_handle_t*)", it could solve the > issue. > 2)Tried "-O2", it could not solve the issue. > 3)Tried "-O2 -fno-strict-aliasing", it could not solve the issue. > 4)Tried "-O3 -fno-strict-aliasing", it could not solve the issue. Are you talking about LTO or non-LTO builds?