Search code examples
gcccompiler-constructionsegmentation-faultinternal

Segmentation fault GCC


I'm modifying gcc, specifically adding a new clause to OpenMP.

after compiling my test program it gives me this error:

"test.c: In function 'main':
test.c:10:1: internal compiler error: Segmentation fault"

How can i debug this?

I've searched for a while but have not found useful information...


Solution

  • Here is a good tutorial on gdb : http://www.cs.cmu.edu/~gilpin/tutorial/