https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118074
--- Comment #3 from Weibo He <newsigma at 163 dot com> --- Intert a printf into final_suspend helps clang and GCC 10 ~ 14 give expected result. While GCC trunk not work. https://godbolt.org/z/rEhevKa8h Output(MSVC, clang, GCC 10 ~ 14): final_suspend A(A&&) 5 5 Output(GCC trunk): A(A&&) 0 final_suspend 0 Is it a GCC 15 regression?