[Bug c++/36435] Partial ordering of explicit specialization should include return type

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 23 16:53:00 GMT 2011


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



More information about the Gcc-bugs mailing list