[Bug c++/58050] No return value optimization when calling static function through unnamed temporary
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 7 01:33:21 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58050
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:4fe84e2a4c0b600d2bc01f171b3b9dd1f4357208
commit r14-1589-g4fe84e2a4c0b600d2bc01f171b3b9dd1f4357208
Author: Jason Merrill <jason@redhat.com>
Date: Tue Jun 6 12:01:23 2023 -0400
c++: add NRV testcase [PR58050]
This was fixed in GCC 10.
PR c++/58050
gcc/testsuite/ChangeLog:
* g++.dg/opt/nrv24.C: New test.
More information about the Gcc-bugs
mailing list