[Bug c++/60274] [4.8/4.9 Regression] String as template parameter - regression in 4.8.3
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 21 04:43:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60274
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 21 04:42:59 2014
New Revision: 207978
URL: http://gcc.gnu.org/viewcvs?rev=207978&root=gcc&view=rev
Log:
PR c++/60274
Revert:
PR c++/58606
* pt.c (template_parm_to_arg): Call convert_from_reference.
(tsubst_template_arg): Don't strip reference refs.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/ref7.C
Removed:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/variadic146.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list