This is the mail archive of the gcc-cvs@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]

r263862 - in /trunk/gcc: cp/ChangeLog cp/typeck...


Author: mpolacek
Date: Sun Aug 26 16:31:27 2018
New Revision: 263862

URL: https://gcc.gnu.org/viewcvs?rev=263862&root=gcc&view=rev
Log:
	PR c++/87080
	* typeck.c (maybe_warn_pessimizing_move): Do nothing in a template.

	* g++.dg/cpp0x/Wpessimizing-move5.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/Wpessimizing-move5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


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