home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / g / bug / 2350 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.4 KB  |  40 lines

  1. 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
  2. From: joseph@iac.UUCP ( Joseph )
  3. Newsgroups: gnu.g++.bug
  4. Subject: gcc 2.2.2 pointer to another class member function bug.
  5. Date: 26 Jan 1993 22:14:45 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 27
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-g++@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301261633.AA21434@mama.uucp>
  12.  
  13. The following definition crashes gcc 2.2.2:
  14.  
  15. *******************************************
  16.  
  17. class Y;
  18.  
  19. class X {
  20. public:
  21.   typedef void (Y::*func)(void);
  22. };
  23.  
  24. ********************************************
  25.  
  26. g++  -v -c b6.cc
  27. Reading specs from /lusr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/specs
  28. gcc version 2.2.2
  29.  /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
  30. GNU CPP version 2.2.2 (sparc)
  31.  /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
  32. GNU C++ version 2.2.2 (sparc) compiled by GNU C version 2.2.2.
  33. cp-decl.c:697: failed assertion `current_binding_level != global_binding_level'
  34. /lusr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 6
  35.  
  36. Compilation exited abnormally with code 1 at Tue Jan 26 08:32:04
  37.  
  38. -pepe
  39.  
  40.