This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
unable to find a register to spill in class
- From: "Nemanja Popov" <nemanja dot popov at micronasnit dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Tue, 22 Nov 2005 13:06:05 +0100
- Subject: unable to find a register to spill in class
Hi All,
I'm pretty new in porting and understunding GCC. I am trying to port gcc
4.02 to the DLX procesor by using dlx port for gcc 2.7.3.
Now I have the following problem:
. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include
-DL_muldi3 -c ../../gcc/libgcc2.c -o libgcc/./_muldi3.o
../../gcc/libgcc2.c: In function â__muldi3â:
../../gcc/libgcc2.c:535: error: unable to find a register to spill in class
GR_REGS
../../gcc/libgcc2.c:535: error: this is the insn:
(insn 6 15 9 0 ../../gcc/libgcc2.c:526 (set (reg/f:SI 82 [ D.1307 ])
(mem/f/i:SI (reg/f:SI 30 r30) [6 D.1307+0 S4 A32])) 40
{movsi_general} (nil)
(expr_list:REG_EQUIV (mem/f/i:SI (reg/f:SI 30 r30) [6 D.1307+0 S4 A32])
(nil)))
../../gcc/libgcc2.c:535: confused by earlier errors, bailing out
I'm stucked here for almost a week. If you need more data please let me know
and I'll send them to this list.
I was trying with -da optionn but I'don't understand .greg file format.
Thanks,
Nemanja