Help with reload bug, please
Joern Rennecke
joern.rennecke@embecosm.com
Fri Jan 23 15:14:00 GMT 2015
On 23 January 2015 at 13:46, Andrew Stubbs <ams@codesourcery.com> wrote:
> How does reload ensure that an SImode value (re)loaded into an FP register
> has a valid stack index?
You could use CANNOT_CHANGE_MODE_CLASS, or request secondary reload.
For the latter, you can look at the memory/pseudo to decide if the
address requires
a secondary reload for your register (classs). Although we had a few
bugs previously
where reload wouldn't re-calculate frame addresses when something
relevant changed,
so you might have to backport some fixes when working with an old compiler.
More information about the Gcc
mailing list