https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116416
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Though, we clearly do that already for CALL_EXPRs to constexpr functions during cp_fold. So guess it is just TARGET_EXPRs or what exactly this testcase needs.