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: "lisp2d at rambler dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Jul 2017 13:08:04 +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 #2 from Lisp2D <lisp2d at rambler dot ru> ---
Make an error (don't compile) when returns rvalue from these functions.
To forbid or banning.