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]
Other format: [Raw text]

Re: Frame pointer using more than one register


> 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~


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