This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81597] returns link to temporary value
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Jul 2017 08:42:49 +0000
- Subject: [Bug c++/81597] returns link to temporary value
- Auto-submitted: auto-generated
- References: <bug-81597-4@http.gcc.gnu.org/bugzilla/>
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