Frame pointer using more than one register
Richard Henderson
rth@redhat.com
Tue Feb 12 16:49:00 GMT 2002
> My question is - are there any other places like this, where GCC
> assumes (which is correct for most other targets, but wrong for AVR)
> that the frame pointer is a single hard register?
Almost certainly.
> If yes, it may be safer to change avr_hard_regno_mode_ok() to
> disallow QImode in r29 for now, to avoid similar bugs in the future...
Seems a reasonable workaround.
r~
More information about the Gcc
mailing list