2004-04-26 12:21 AM
Compiler Error: program cc1 got fatal signal 22
2011-05-17 02:36 AM
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!2011-05-17 02:36 AM
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