I am trying to print out the value of member function pointers. However, I found that the compiled executable runs into segment fault. After I added another local member function pointer variable, the program does not run into seg fault,but it seems that it gives out incorrect result.
-- Summary: member function pointers Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: critical Priority: P1 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gnu04 at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21269