PR c++/57102
	* decl.c (fndecl_declared_return_type): Also look in
	DECL_SAVED_FUNCTION_DATA.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199125 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57016
	* pt.c (instantiation_dependent_r) [TRAIT_EXPR]: Only check type2
	if there is one.

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