2014-02-19 19:15 GMT+04:00 Joern Rennecke <joern.renne...@embecosm.com>:
> When compiling compile/pr17906.c, compute_frame_pointer_to_fb_displacement
> passes the argument pointer to eliminate_regs.  This eliminates it to
> the frame pointer,
> which later causes and ICE because frame_pointer_needed is not set.
>
> The problem is that ELIMINABLE_REGS in avr.h does not specify a direct
> elimination
> from the argument pointer to the stack pointer; the attached patch
> rectifies that.
> Regression tested with the avr simulator.
>
> OK to apply?

Sorry for delay.
I have tried to remember why the AVR port don't have this elimination.
(No luck ;)
Please, apply the patch.

Denis.

Reply via email to