https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86486
--- Comment #1 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Author: tnfchris Date: Mon Oct 1 12:53:34 2018 New Revision: 264748 URL: https://gcc.gnu.org/viewcvs?rev=264748&root=gcc&view=rev Log: stack-clash: Add LR assert to layout_frame. Since stack clash depends on the LR being saved for non-leaf functions this patch adds an assert such that if this changes we would notice this. gcc/ PR target/86486 * config/aarch64/aarch64.c (aarch64_layout_frame): Add assert. Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64.c