https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53637
--- Comment #7 from Thomas Braun <thomas.br...@virtuell-zuhause.de> --- > The three cases (L, P, R) where GCC is "better" is actually non-conforming. Could you elaborate on that? For example case L is: #### X nrvo_two_different_tern() { trace t("nrvo_two_different_tern"); const bool param = true; X a, b; return param ? a : b; } #### which always returns a.