This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

reload problems....



Hi All,
 I am working for a new gcc port. I am towards
finishing the port. I am compiling newlib.
It has few reload problems. I am just showing you the
kind of problems that I am facing.....

   On my machine I have two index registers.Out of
them
one is  frame pointer. and I can use the other for
reloading and similar purposes.


I am getting around five crashes in compiling newlib.
All are because of reload problems.

  One sample error is
 
../../../../../gcc-2.95.2/newlib/libm/math/k_rem_pio2.c:
In function `__kernel_rem_pio2':
../../../../../gcc-2.95.2/newlib/libm/math/k_rem_pio2.c:318:
fixed or forbidden register 6 (ix) was spilled for
class A_REGS.
../../../../../gcc-2.95.2/newlib/libm/math/k_rem_pio2.c:318:
This may be due to a compiler bug or to impossible asm
../../../../../gcc-2.95.2/newlib/libm/math/k_rem_pio2.c:318:
statements or clauses.
../../../../../gcc-2.95.2/newlib/libm/math/k_rem_pio2.c:318:
This is the instruction:
(insn 202 200 204 (set (reg:SF 2 bc)
        (mem/s:SF (reg:Hi 756) 0)) 68 {*movsf} (nil)
    (nil))

make[3]: [k_rem_pio2.o] Error 1 (ignored)



 MY problem is I can't debug this kind of errors also.
I checked my definitions of adressing mode macros
and verified them atleast ten times. But no use.

  Can some body tell me how do I debug this kind of
problems ?? or to trace where I must have gone wrong.


Any suggestions are of great help....




thanks and regards

thomas


















Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]