[PATCH, RFA, C++] ICE on ill-formed template_fun(&mem_fun) within template function
Alexandre Oliva
aoliva@redhat.com
Fri Dec 2 20:39:00 GMT 2005
Ping? This is another update. Ok for 4.1 and trunk?
On Oct 27, 2005, Alexandre Oliva <aoliva@redhat.com> wrote:
> On Sep 25, 2005, Alexandre Oliva <aoliva@redhat.com> wrote:
>> Details on the bug and the fix in the MIME part below. Tested on
>> amd64-linux-gnu. Ok to install?
>> Red Hat bugzilla #168260 triggered an ICE on an ill-formed construct,
>> taking the address of a non-static member function using an
>> unqualified id, within a template function, and passing that as an
>> argument in a function call requiring overload resolution. Fixing
>> that uncovered a number of other situations in which we used to fail
>> or to handle things differently within templates.
> This is an updated version of the patch I'd posted previously, that
> removes a portion of the typeck.c patch that someone else already
> checked in as part of another patch.
> Ok to install?
> Red Hat bugzilla #168260 triggered an ICE on an ill-formed construct,
> taking the address of a non-static member function using an
> unqualified id, within a template function, and passing that as an
> argument in a function call requiring overload resolution. Fixing
> that uncovered a number of other situations in which we used to fail
> or to handle things differently within templates.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-unify-nondepexpr.patch
Type: text/x-patch
Size: 6530 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051202/a60b3cf4/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the Gcc-patches
mailing list