Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CodeSourcery 4.1-30


  • To: coldfire-gnu-discuss@xxxxxxxxxxxxxxxx
  • Subject: CodeSourcery 4.1-30
  • From: Rainer Hauser <Rainer@xxxxxxxxxxx>
  • Date: Mon, 11 Dec 2006 01:46:25 +0100

i got a error when i try to compile this file (spurios.c):
//---------------------------------------------------------


unsigned long spurious = 0;
unsigned long intc_spurious = 0;

__attribute__ ((interrupt_handler)) void spuriousISR(void)
{
  intc_spurious++;
}

__attribute__ ((interrupt_handler)) void intc_spuriousISR(void)
{
  spurious++;
}
//---------------------------------------------------------

m68k-elf-gcc -IG:\Projekte\GPP_Test -IG:\Projekte\GPP_Test\include -IG:\Projekte\GPP_Test\sys -O0 -g -Wall -c -fmessage-length=0 -mcpu=5213 -fomit-frame-pointer -osys\spurious.o ..\sys\spurious.c
..\sys\spurious.c: In function 'spuriousISR':
..\sys\spurious.c:9: error: unable to find a register to spill in class 'GENERAL_REGS'
..\sys\spurious.c:9: error: this is the insn:
(insn 8 7 9 1 ..\sys\spurious.c:8 (set (reg:SI 31 [ intc_spurious.0 ])
(mem/c/i:SI (symbol_ref:SI ("intc_spurious") [flags 0x2] <var_decl 0090E108 intc_spurious>) [0 intc_spurious+0 S4 A16])) 33 {*movsi_cf} (nil)
   (nil))
..\sys\spurious.c:9: confused by earlier errors, bailing out


any ideas?