home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / g / bug / 2085 < prev    next >
Encoding:
Text File  |  1992-12-29  |  2.9 KB  |  63 lines

  1. Newsgroups: gnu.g++.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!golem.ssc.gov!allen
  3. From: allen@golem.ssc.gov (Michael Allen)
  4. Subject: gcc internal compiler error
  5. Message-ID: <9212281558.AA15419@golem.ssc.gov>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: allen@ssc.gov
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Mon, 28 Dec 1992 03:58:05 GMT
  11. Approved: bug-g++@prep.ai.mit.edu
  12. Lines: 48
  13.  
  14. I am using gcc, version 2.2.2 on both a sun4c, sunos 4.1.1; and a
  15. decstation 5000/120 runing ultrix 4.2.  The following gives an
  16. internal compiler error:
  17. cp-decl.c:2631: failed assertion `b != global_binding_level || TREE_PERMANENT (x)'
  18. gcc: Internal compiler error: program cc1plus got fatal signal 4
  19.  
  20.  
  21. Here are the details:
  22. $ cat show-error.cc
  23. template<class T> class Foo;
  24.  
  25. template<class T>
  26. class Foo<T>
  27. {
  28. };
  29.  
  30. int
  31. a_func ()
  32. {
  33.   Foo<int> fl;
  34.   return 0;
  35. }
  36. $ gcc -v -c show-error.cc
  37. Reading specs from /usr/local/lib/gcc-lib/decstation-ultrix4.2/2.2.2/specs
  38. gcc version 2.2.2
  39.  /usr/local/lib/gcc-lib/decstation-ultrix4.2/2.2.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__ANSI_COMPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD -Dbsd4_2 -Dhost_mips -Dmips -Dultrix -Dunix -D__ANSI_COMPAT -D__MIPSEL__ -D__R3000__ -D__SYSTYPE_BSD__ -D___SYSTYPE_BSD__ -D__bsd4_2__ -D__host_mips__ -D__mips__ -D__ultrix__ -D__unix__ -D__ANSI_COMPAT -D__MIPSEL -D__R3000 -D__SYSTYPE_BSD -D___SYSTYPE_BSD -D__bsd4_2 -D__host_mips -D__mips -D__ultrix -D__unix -D__LANGUAGE_C_PLUS_PLUS
  40. __ -D__LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C show-error.cc /usr/tmp/cca15416.i
  41. GNU CPP version 2.2.2 [AL 1.1, MM 19] DECstation running ultrix
  42.  /usr/local/lib/gcc-lib/decstation-ultrix4.2/2.2.2/cc1plus /usr/tmp/cca15416.i -quiet -dumpbase show-error.cc -version -o /usr/tmp/cca15416.s
  43. GNU C++ version 2.2.2 [AL 1.1, MM 19] DECstation running ultrix compiled by GNU C version 2.2.2.
  44. cp-decl.c:2631: failed assertion `b != global_binding_level || TREE_PERMANENT (x)'
  45. gcc: Internal compiler error: program cc1plus got fatal signal 4
  46.  
  47. /*********************************************************************/
  48. ***  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING  WARNING
  49. ***  The following text is inserted for entertainment purposes only.
  50. ***  It is not intended to persuade, insult, or offend anyone.  It is,
  51. ***  however, something that I found to be humorous and/or witty.  I
  52. ***  fully understand that not everyone would agree with my opinion.
  53. ***  I therefore ask that you either refrain from reading further, or
  54. ***  judge me favorably and accept the message in the spirit in which
  55. ***  it was sent.  The opinions expressed herein do not necessarily
  56. ***  represent those of my employer, my countrymen, or my people.
  57. /*********************************************************************/
  58.  
  59. What they really mean by family values is: Watch more Television
  60.                   --- Homer Simpson
  61.  
  62.  
  63.