home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.bug
- Path: sparky!uunet!cis.ohio-state.edu!efd.lth.se!f88ho
- From: f88ho@efd.lth.se (Hans Olsson)
- Subject: program cc1plus got fatal signal 11
- Message-ID: <m0nAPAJ-000ZAIC@jupiter-5.efd.lth.se>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Fri, 8 Jan 1993 19:14:00 GMT
- Approved: bug-g++@prep.ai.mit.edu
- Lines: 23
-
- This little program:
-
- int main() {
- return operator+(4,5);
- }
-
- crashes the compiler:
- /tmp @jupiter-5 gcc -v test.cc
- Reading specs from /usr/local/lib/gcc-lib/mips-dec-ultrix4.2/2.3.1/specs
- gcc version 2.3.1
- /usr/local/lib/gcc-lib/mips-dec-ultrix4.2/2.3.1/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 test.cc /usr/tmp/cca00537.i
- GNU CPP version 2.3.1 [AL 1.1, MM 28] DECstation running ultrix
- /usr/local/lib/gcc-lib/mips-dec-ultrix4.2/2.3.1/cc1plus /usr/tmp/cca00537.i -quiet -dumpbase test.cc -version -o /usr/tmp/cca00537.s
- GNU C++ version 2.3.1 [AL 1.1, MM 28] DECstation running ultrix compiled by GNU C version 2.3.1.
- test.cc: In function `int main ()':
- test.cc:2: operator + not defined
- gcc: Internal compiler error: program cc1plus got fatal signal 11
-
-
- --
- ----------
- Hans Olsson Email: f88ho@efd.lth.se
-
-