Can I provide a hint to gcc for return value optimization?

2021-11-14 Thread unlvsur unlvsur via Gcc
I want give a hint to gcc that allows std::string to rvo. Is that possible? Any attribute for doing that? Sent from Mail for Windows

gcc-12-20211114 is now available

2021-11-14 Thread GCC Administrator via Gcc
Snapshot gcc-12-2024 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-2024/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch