[Bug c++/21799] [4.0/4.1 regression] Spurious ambiguity with pointers to members

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 21 20:58:00 GMT 2005


------- Additional Comments From bangerth at dealii dot org  2005-06-21 20:58 -------
Good idea. So I tried it, and indeed this patch 
 
2005-05-10  Nathan Sidwell  <nathan@codesourcery.com> 
 
	PR c++/20723 
	* pt.c (more_specialized_fn): Member functions are unordered wrt 
	non-members.  Conversion operators are unordered wrt other 
	functions. 
 
	PR c++/19203, implement DR 214 
	* call.c (joust): Use more_specialized_fn. 
	* cp-tree.h (DEDUCE_ORDER): Remove. 
	(more_specialized): Replace with ... 
	(more_specialized_fn): ... this. 
	* pt.c (maybe_adjust_types_for_deduction): Remove DEDUCE_ORDER 
	case. 
	(type_unification_real): Remove DEDUCE_ORDER case. 
	(more_specialized): Replace with ... 
	(more_specialized_fn): ... this.  Implement DR 214. 
	(most_specialized_instantiation): Use get_bindings_real directly. 
 
to the 4.0 branch has caused the problem. It may be conjectured that the 
corresponding patch broke the same thing on mainline. 
 
That's bad -- we now have a regression between 4.0.0 and 4.0.1 :-( 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org
      Known to work|3.4.0                       |3.4.0 4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21799



More information about the Gcc-bugs mailing list