PR c++/60345
	Revert:
	DR 1571
	* call.c (reference_binding): Recurse on user-defined conversion.
	(convert_like_real) [ck_ref_bind]: Explain cv-qual mismatch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208175 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/60345
	* g++.dg/conversion/ref1.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208176 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/60182
	* pt.c (unify): Ignore alias templates when deducing a template
	template parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208177 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/54440
	* pt.c (get_template_parm_index): New.
	(fixed_parameter_pack_p_1, fixed_parameter_pack_p): New.
	(process_template_parm): Allow bare packs in template template
	parm template parms.
	(coerce_template_parameter_pack): Handle fixed template template
	parm packs and fixed packs not at the end of the parm list.
	(coerce_template_parms): Handle template parm packs not at the end
	of the parm list.
	(gen_elem_of_pack_expansion_instantiation): Handle a decl expansion.

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