https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939

--- Comment #17 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Richard Earnshaw from comment #16)
> That can't be right.  If the frame size has changed, then the frame needs to
> be laid out again and any earlier layout assumptions revisited.

Here's a concrete example.  If the frame size changes, then on a RISC
architecture an object may move out of its addressable range.  So an
intermediate calculation might be necessary and that in turn might involve
spilling a register.

So the real question is why has the size of the frame changed once it's too
late to change the frame layout?

Reply via email to