Article View: gnu.g++.bug
Article #1194Possible GCC-2.3.3 bug for SGI IRIS
From: Craig Steinberger
Date: Wed, 30 Dec 1992 08:19
Date: Wed, 30 Dec 1992 08:19
40 lines
1739 bytes
1739 bytes
I am trying to use gcc v.2.3.3 on an SGI Iris running IRIX
4.0.5, and the 3.10 SGI compiler suite. GCC compiled with no problems,
when set up with configure --target iris4d. The problem comes when I try
to compile the libg++-2.3 library.
There is a point in the compilation where the program utils/gen-params
generates a dummy C++ program to test the compiler. For reference, here
is the file dummy.C:
struct filebuf {
virtual int foo();
};
filebuf ff;
extern "C" int FUNC(int);
int FUNC(int i) { return i+10; }
When the script tries to compile this (or when it is done manually via
g++ dummy.C), the following results:
% gcc dummy.C
gcc: Internal compiler error: program cc1plus got fatal signal 11
and cc1plus dumps core.
Some poking around with a debugger indicates this is a segmentation
fault. The traceback looks like:
0 init_lex() ["cp-lex.c":756, 0x43b16c]
1 compile_file(name = 0x7fffc840 = "") ["toplev.c":1535, 0x46cae8]
2 main(argc = 7, argv = 0x7fffc744, envp = 0x65) ["toplev.c":3285, 0x46fcec]
In the file cp-lex.c, I think the error corresponds to the line:
UNSET_RESERVED_WORD ("exception");
At this point I am clueless. Any help, suggestions, or corrections
would be welcome.
Craig Steinberger
stein-c@eng.buffalo.edu
Technical Details
Message-ID:
<9212300819.AA06396@cfd15.eng.buffalo.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!eng.buffalo.edu!stein-cShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!eng.buffalo.edu!stein-c From: stein-c@eng.buffalo.edu (Craig Steinberger) Subject: Possible GCC-2.3.3 bug for SGI IRIS Message-ID: <9212300819.AA06396@cfd15.eng.buffalo.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 30 Dec 1992 08:19:01 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 41