This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36435] Partial ordering of explicit specialization should include return type
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Jun 2011 16:53:08 +0000
- Subject: [Bug c++/36435] Partial ordering of explicit specialization should include return type
- Auto-submitted: auto-generated
- References: <bug-36435-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36435
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-23 16:52:36 UTC ---
Author: jason
Date: Thu Jun 23 16:52:32 2011
New Revision: 175338
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175338
Log:
PR c++/36435
* pt.c (most_specialized_instantiation): Do check return types.
Added:
trunk/gcc/testsuite/g++.dg/template/partial9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog