On 6/27/2026 3:19 PM, Andrea Pinski wrote:
On Wed, Jun 24, 2026 at 3:33 AM Eldar Osmanovic
<[email protected]> wrote:
From: Matthew Fortune <[email protected]>

Ensure the frame barrier prevents reordering of stack pointer changes.

It is possible for a load/store accessing the stack via a copy of the
stack pointer to be moved across the epilogue meaning that it accesses
stack that is no longer allocated. This leads to a situation where the
code is unsafe in the event of an interrupt where the same stack is
used for interrupt handling.

gcc/
         * config/mips/mips.cc (mips_frame_barrier): Upgrade to a full
         blockage.
Ok.
I suspect Eldar & co don't have write access.  So I went ahead and pushed this.

jeff

Reply via email to