[Bug c++/81597] returns link to temporary value

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 28 08:42:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81597

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Sorry, what change are you asking for?

Compiling with current gcc, we get plenty of warnings, and at runtime:

int &&
zsh: segmentation fault  ./a.out


More information about the Gcc-bugs mailing list