home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.bug
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!golem.ssc.gov!allen
- From: allen@golem.ssc.gov (Michael Allen)
- Subject: gcc internal compiler error
- Message-ID: <9212281558.AA15419@golem.ssc.gov>
- Sender: gnulists@ai.mit.edu
- Reply-To: allen@ssc.gov
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Mon, 28 Dec 1992 03:58:05 GMT
- Approved: bug-g++@prep.ai.mit.edu
- Lines: 48
-
- I am using gcc, version 2.2.2 on both a sun4c, sunos 4.1.1; and a
- decstation 5000/120 runing ultrix 4.2. The following gives an
- internal compiler error:
- cp-decl.c:2631: failed assertion `b != global_binding_level || TREE_PERMANENT (x)'
- gcc: Internal compiler error: program cc1plus got fatal signal 4
-
-
- Here are the details:
- $ cat show-error.cc
- template<class T> class Foo;
-
- template<class T>
- class Foo<T>
- {
- };
-
- int
- a_func ()
- {
- Foo<int> fl;
- return 0;
- }
- $ gcc -v -c show-error.cc
- Reading specs from /usr/local/lib/gcc-lib/decstation-ultrix4.2/2.2.2/specs
- gcc version 2.2.2
- /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
- __ -D__LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C show-error.cc /usr/tmp/cca15416.i
- GNU CPP version 2.2.2 [AL 1.1, MM 19] DECstation running ultrix
- /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
- GNU C++ version 2.2.2 [AL 1.1, MM 19] DECstation running ultrix compiled by GNU C version 2.2.2.
- cp-decl.c:2631: failed assertion `b != global_binding_level || TREE_PERMANENT (x)'
- gcc: Internal compiler error: program cc1plus got fatal signal 4
-
- /*********************************************************************/
- *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
- *** The following text is inserted for entertainment purposes only.
- *** It is not intended to persuade, insult, or offend anyone. It is,
- *** however, something that I found to be humorous and/or witty. I
- *** fully understand that not everyone would agree with my opinion.
- *** I therefore ask that you either refrain from reading further, or
- *** judge me favorably and accept the message in the spirit in which
- *** it was sent. The opinions expressed herein do not necessarily
- *** represent those of my employer, my countrymen, or my people.
- /*********************************************************************/
-
- What they really mean by family values is: Watch more Television
- --- Homer Simpson
-
-
-