Description of problem: When attempting to compile cppunit tests, I receive a message: g++: Internal error: Segmentation fault (program cc1plus) The code I'm testing has worked before I placed a forward declaration in it. Version-Release number of selected component (if applicable): gcc-c++-4.1.2-51.el5.x86_64.rpmrp cppunit-1.12.0-3.el5.rf Additional info: I have attached the core dump.
Created attachment 524092 [details] Additional core dump I've attached a core dump with the forward declaration removed. The compiler is still crashing.
Coredump isn't useful for debugging compiler problems, we need a preprocessed source on which it can be reproduced. By any chance, aren't you using PCH?
Please cancel this issue. There was a problem with my "depend" target, which caused one of the object files to not be rebuilt. What is PCH?
Per c#3.