cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler error

giovanni239955
Associate II
Posted on May 28, 2003 at 14:22

Compiler error

3 REPLIES 3
giovanni239955
Associate II
Posted on May 17, 2011 at 11:34

Excuse me, my compiler generates this error:

Unable to find a register to spill

(insn:HI 81 80 83 (parallel[

(set (reg

F 291)

(reg

F 16 R0))

(clobber (scratch:SI))

] ) 54

abnormal program termination

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

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

but I can't find a description of the error. Where may I find it?

Anybody can help me qhere to investigate?

Many thanks

romain2399
Associate II
Posted on May 17, 2011 at 11:34

Please attach your adc.c file.

giovanni239955
Associate II
Posted on May 17, 2011 at 11:34

Hi Romain, the problem I think is in this statement:

'' else if ( (((unsigned int) NTC_TEMP_mis) < ((unsigned int) (PNTC_TEMP_mis + DELTA_TEMP_mis))) ||

(((unsigned int) PNTC_TEMP_mis) < ((unsigned int) ( NTC_TEMP_mis + DELTA_TEMP_mis))) ) ''

In fact, if I write (for test):

'' else if (TRUE) '' all works.

I will try to simplify it.

Only to make clear my situation, I'm porting an ST7 application (compiled with Cosmic) to an ST9.

Many thanks