This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51270] missed warning about returning reference to temporary
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jul 2017 21:25:31 +0000
- Subject: [Bug c++/51270] missed warning about returning reference to temporary
- Auto-submitted: auto-generated
- References: <bug-51270-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51270
--- Comment #13 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Jul 11 21:24:11 2017
New Revision: 250140
URL: https://gcc.gnu.org/viewcvs?rev=250140&root=gcc&view=rev
Log:
2017-07-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51270
* g++.dg/warn/Wreturn-local-addr-3.C: New.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wreturn-local-addr-3.C
Modified:
trunk/gcc/testsuite/ChangeLog