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]

gcc-2.95 internal error: pointers to member functions




gcc-2.95 on AIX does not like the following code( gives "Internal compiler
error")

class A {
public:
    void f();
};
void test()
{
  typedef void (A::*pf)(void);
  pf functions[] = { &A::f};
}




(See attached file: bug.cpp)(See attached file: bug.ii)(See attached file:
bug.s)(See attached file: log)

bug.cpp

bug.ii

bug.s

log


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