[patch] arm,rx: don't ICE on naked functions with local vars

Richard Henderson rth@redhat.com
Thu Jul 28 20:13:00 GMT 2011


On 07/28/2011 12:38 PM, DJ Delorie wrote:
> Naked is related to TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS - ARM and RX
> set the latter based on the former, and nobody else uses that target
> hook.  So, naked functions don't have stack slots for args.  Without
> stack slots, args can't be assigned to memory locations - even if
> they're TREE_ADDRESSABLE.

But your test case has a local variable, not an argument at all.
So I don't immediately see the connection.


r~



More information about the Gcc-patches mailing list