How to debug ICE: Segmentation fault within expand_call()

William Tambe tambewilliam@gmail.com
Sat Mar 30 18:54:00 GMT 2019


I am doing porting work using gcc-8.2.0 and I am getting a segfault
while building gcc with no clue as to what could the cause; could I
have a few pointers on how to debug this issue ?

Program received signal SIGSEGV, Segmentation fault.
0x000000000089f6f7 in expand_call (exp=0x7ffff5ffb5e8, target=0x0,
ignore=0) at ../../gcc-8.2.0/gcc/calls.c:4428
4428              rtx temp = gen_reg_rtx (GET_MODE (valreg));



More information about the Gcc-help mailing list