home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!iac.UUCP!joseph
- From: joseph@iac.UUCP ( Joseph )
- Newsgroups: gnu.g++.bug
- Subject: gcc 2.2.2 pointer to another class member function bug.
- Date: 26 Jan 1993 22:14:45 -0500
- Organization: GNUs Not Usenet
- Lines: 27
- Sender: daemon@cis.ohio-state.edu
- Approved: bug-g++@prep.ai.mit.edu
- Distribution: gnu
- Message-ID: <9301261633.AA21434@mama.uucp>
-
- The following definition crashes gcc 2.2.2:
-
- *******************************************
-
- class Y;
-
- class X {
- public:
- typedef void (Y::*func)(void);
- };
-
- ********************************************
-
- g++ -v -c b6.cc
- Reading specs from /lusr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/specs
- gcc version 2.2.2
- /lusr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix b6.cc /tmp/cca18737.i
- GNU CPP version 2.2.2 (sparc)
- /lusr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/cc1plus /tmp/cca18737.i -quiet -dumpbase b6.cc -version -o /tmp/cca18737.s
- GNU C++ version 2.2.2 (sparc) compiled by GNU C version 2.2.2.
- cp-decl.c:697: failed assertion `current_binding_level != global_binding_level'
- /lusr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 6
-
- Compilation exited abnormally with code 1 at Tue Jan 26 08:32:04
-
- -pepe
-
-