Red Hat Bugzilla – Bug 147561
g++: Internal error: Segmentation fault (program cc1plus)
Last modified: 2007-11-30 17:11:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020
Description of problem:
The g++ compiler crashes, with segmentation fault, while compiling c++
source file. Doesn't crash while compiling C source file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.compile a C++ file, on command line:
g++ -g -Wall -c source_file.cpp
Actual Results: g++ crashed with segmentation fault
Expected Results: To compile the source file, or to give syntax errors.
Crashed consistently with some source files, but didn't crashed for
some other files.
gcc-c++-3.3.3-7 is not FC3 compiler, but FC2 one.
You have not provided a testcase (usually the compiler driver preprocesses
the source and tells you where it is) nor the error messages it printed, so there
is nothing to do about it. But unless it is reproduceable with FC3 compiler,
(3.4.-RH), it will be either closed as CURRENTRELEASE or moved upstream,
as the compilers that we are maintaining long term are just GCC 3.2.3-RH and
GCC 3.4.3-RH (plus CVS HEAD) and FC2 is close to its EOL.
If you have details, please reopen.