Anybody of you got any idea what this "internal compiler error: Segmentation fault" means?
I searched internet, but didn't get anything useful. Then I did my analysis. I found out something peculiar. The code that I am trying to compile is a file for unit testing one of our classes. It contains 880 test cases. All these 880 test cases are individual cases in a switch statement. When I comment out any of the 80 cases (in any order) and keep 800 or less cases in the switch statement, it compiles without giving the above error.
We use CPPUNIT frame work for unit testing.
Here is the complete output.
/<some_path>/MyClassTest.cpp: In static member function `static CppUnit::Test* MyClassTest::suite()': /<some_path>/MyClassTest.cpp:11774: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccGCtrA5.out file, please attach this to your bugreport. make: *** [/<some_path>/MyClassTest.o] Error 1 make: Leaving directory `/<some_path>/make' make: *** [MyClassTest] Error 2