r219305 - in /branches/gcc-4_9-branch/gcc: cp/C...

jason@gcc.gnu.org jason@gcc.gnu.org
Wed Jan 7 15:18:00 GMT 2015


Author: jason
Date: Wed Jan  7 15:17:59 2015
New Revision: 219305

URL: https://gcc.gnu.org/viewcvs?rev=219305&root=gcc&view=rev
Log:
	PR c++/63658
	* pt.c (convert_nontype_argument): Call convert_from_reference.
	(check_instantiated_arg): Don't be confused by reference refs.
	(unify): Look through reference refs on the arg, too.
	* mangle.c (write_template_arg): Look through reference refs.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/ref9.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/mangle.c
    branches/gcc-4_9-branch/gcc/cp/pt.c



More information about the Gcc-cvs mailing list