Georg-Johann Lay <avr@gjlay.de> writes:
Working out recommendations for a new instruction set architecture (no
silicon yet), I run into the following problem with a port based on
gcc_4_3_3_release: postreload complains
From your description, I would have expected reload to handle this
correctly. I don't know why it didn't. The first place to look would
be to verify that the REG_CLASS_CONTENTS bitmasks are correct. Next,
look at the .greg dump to see if the insn in question required any
reloads. If not, the next step may be to debug find_reloads to find out
why no reloads were required. This can somewhat tedious; you can set a
breakpoint to match the insn UID so that you are looking at the right
insn in find_reloads, but following the loops can still take a while.
Good luck. I've spent many days on this sort of problem.
Ian