This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/26740] [4.2 regression] ICE taking the address of a bound member function



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]