This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21799] [4.0/4.1 regression] Spurious ambiguity with pointers to members
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2005 20:58:08 -0000
- Subject: [Bug c++/21799] [4.0/4.1 regression] Spurious ambiguity with pointers to members
- References: <20050528163432.21799.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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