On 06/15/2011 01:40 PM, Georg-Johann Lay wrote: > But I still wonder what's the very problem. Any architecture has > limited reg+const addressing and limited number of address > registers. I definetely saw architectures run out of registers and > reload manages to access stack beyond reg+maxoff without any hacks > and clear and straight forward backend.
Well, this is probably the only architecture that has *no* non-fixed, call-saved base registers. Indeed, I can work around this particular crash by either hacking Z to be call-saved, or hacking the frame pointer to not be required. The former of course changes the abi, and the second produces awful code due to too many copies from the stack pointer. So neither option is "preferred". r~