PR c++/57831
	* pt.c (tsubst_copy): Handle USING_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200839 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57551
	* semantics.c (cxx_eval_indirect_ref): Don't try to look through
	a POINTER_PLUS_EXPR for type punning diagnostic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200840 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57545
	* pt.c (convert_nontype_argument) [INTEGER_CST]: Force the
	argument to have the exact type of the parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200841 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57532
	* parser.c (cp_parser_ref_qualifier_opt): Don't tentatively parse
	a ref-qualifier in C++98 mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200842 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57437
	* typeck.c (check_return_expr): Lambda proxies aren't eligible
	for nrv or return by move.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200843 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57526
	* semantics.c (lambda_capture_field_type): Build a DECLTYPE_TYPE
	if the variable type uses 'auto'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200844 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57658
	* semantics.c (finish_id_expression): Return the id for an
	unevaluated outer variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200845 138bc75d-0d04-0410-961f-82ee72b054a4