This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26740] [4.2 regression] ICE taking the address of a bound member function
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2006 03:09:00 -0000
- Subject: [Bug c++/26740] [4.2 regression] ICE taking the address of a bound member function
- References: <bug-26740-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-18 03:08 -------
Grrr. Well confirmed. The reason why this does show up in the testresults is
because of the follow:
fmp = &ptr->function_member; // { dg-error "" }
pmf = & pf->f; // { dg-error "" } not a valid pmf expression
&a.f; // { dg-error "" } overloaded
Meaning dg-error should really take an argument instead of just a null string.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-03-18 03:08:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26740