"BHASKAR G. REDDY" <bhaskar@xxxxxxxxxxxxxx> writes: > Hi, i'm trying to integrate BURS-based code generator into GCC-4.1.1. I > modified corresponding files, print-rtl.c and final.c and my burs-based > codegenrator is working fine. > But when i'm trying to build compiler proper, its giving segmentation > fault. I'm successful with GCC-4.0.0. > > error message: > > ../../gcc-4.1.1/gcc/crtstuff.c: In function __do_global_dtors_aux: > ../../gcc-4.1.1/gcc/crtstuff.c:301: internal compiler error: Segmentation > fault > > > what is this crtstuff? I'm new to this gcc. I need some information > regarding this error. crtstuff.c is a file which is being built with the new compiler. The details are relatively unimportant. Your make output will print the exact command line which is being used to run the newly built compiler. This error indicates a bug in gcc itself. The bug is most likely related to the changes you made to the compiler. Ian