[Bug middle-end/118939] [14/15 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type since r14-2653-g2971ff7b1d564a
rearnsha at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 24 14:35:35 GMT 2025
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?
More information about the Gcc-bugs
mailing list