This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51270] missed warning about returning reference to temporary


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]