cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler Error: program cc1 got fatal signal 22

siegmund
Associate II
Posted on April 26, 2004 at 09:21

Compiler Error: program cc1 got fatal signal 22

2 REPLIES 2
siegmund
Associate II
Posted on May 17, 2011 at 11:36

hi there!

while compiling my application suddenly i got following compiler error:

(compiler V6.1.

gcc9 -mmedium -DNO_SEC_INFO -c -g -Wa,-alhd=uti.lis -O3 -mfp-on uti.c -o uti.o

../../st9/uti.c: In function `UTI_GetMittler':

../../st9/uti.c:270: Could not find a spill register

(insn:HI 31 30 32 (set (mem/s:HI (symbol_ref:SI (''uti_mittlerdata'')))

(mem:HI (symbol_ref:SI (''uti_mittlercount'')))) 14 {movhi_insn} (nil)

(nil))

abnormal program termination

gcc9.exe: Internal compiler error: program cc1 got fatal signal 22

gmake: *** [uti.o] Error 1

the function UTI_GetMittler() does following:

{

ul1 += v1;

ul2 += v2;

ul3 += v3;

};

the vars are global, not in register_file and all unsigned long.

with only one add-statement the compiler works fine.

with no optimization (option -o0) it works too.

with a small application it works too, only in the big one not.

any suggestions?

thanks!

kapil
Associate II
Posted on May 17, 2011 at 11:36

Can you send the assembly listing of the corrosponding function, generated by the compiler.

Can you check the same programe with a bigger stack, defined in .ld file