On Tue, Oct 2, 2012 at 1:17 PM, Tomasz Jankowski <tomcioj@xxxxxxxxx> wrote: > > ../../gcc-4.5.1/gcc/crtstuff.c: In function ‘__do_global_dtors_aux’: > ../../gcc-4.5.1/gcc/crtstuff.c:332:1: internal compiler error: > Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://gcc.gnu.org/bugs.html> for instructions. > (...) > > I run my pass just after "expand" pass. This is first time I'm trying > to modify GCC. What am I doing wrong? I don't know what you are doing wrong, but: http://gcc.gnu.org/wiki/DebuggingGCC Ian