PR c++/40942 - Failure of template specialization partial ordering
authorDodji Seketeli <dodji@redhat.com>
Mon, 2 Apr 2012 08:51:26 +0000 (08:51 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Mon, 2 Apr 2012 08:51:26 +0000 (10:51 +0200)
commitcdc30df3e2f9badd1f2fd8efe14c6546cd8efe07
tree73f1212f31e4b2a93c0fa0839a43d146982aef43
parentdb435dce3639caf3d530b5f228b588b99645c8d3
PR c++/40942 - Failure of template specialization partial ordering

gcc/cp/

* pt.c (more_specialized_fn):  Don't apply decay conversion to
types of function parameters.

gcc/testsuite/

* g++.old-deja/g++.pt/spec40.C: Adjust to take the resolution of
DR 214 in account.

From-SVN: r186067
gcc/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/spec40.C