------- Additional Comments From aoliva at gcc dot gnu dot org 2005-04-17 04:00 ------- Subject: Re: [PR c++/17805] limit operator overload candidates for enum operands
On Apr 2, 2005, Alexandre Oliva <[EMAIL PROTECTED]> wrote: > On Mar 18, 2005, Alexandre Oliva <[EMAIL PROTECTED]> wrote: >> On Mar 1, 2005, Alexandre Oliva <[EMAIL PROTECTED]> wrote: >>> On Feb 10, 2005, Alexandre Oliva <[EMAIL PROTECTED]> wrote: >>>> We're a bit too lenient in creating the candidate list for overload >>>> resolution for expressions that use user-defined operator functions. >>>> This patch arranges for us to reject functions that don't get an exact >>>> match for at least one of the enum-typed arguments, if none of the >>>> arguments have class types. >>>> Regression-tested on x86_64-linux-gnu. Ok to install? >>>> Index: gcc/cp/ChangeLog >>>> from Alexandre Oliva <[EMAIL PROTECTED]> >>>> PR c++/17805 >>>> * call.c (build_new_op): Filter out operator functions that don't >>>> satisfy enum-conversion match requirements. >>> Ping? >>> http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00453.html >> Ping? > Ping? Ping? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17805