This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH 8/8][GCC][AArch64] stack-clash: Add LR assert to layout_frame.


Hi All,

I'm looking for permission to backport this patch to the GCC-8 branch
to fix PR86486.

OK for backport?

Thanks,
Tamar

> -----Original Message-----
> From: gcc-patches-owner@gcc.gnu.org <gcc-patches-owner@gcc.gnu.org>
> On Behalf Of Tamar Christina
> Sent: Wednesday, September 26, 2018 09:30
> To: gcc-patches@gcc.gnu.org
> Cc: nd <nd@arm.com>; James Greenhalgh <James.Greenhalgh@arm.com>;
> Richard Earnshaw <Richard.Earnshaw@arm.com>; Marcus Shawcroft
> <Marcus.Shawcroft@arm.com>
> Subject: [PATCH 8/8][GCC][AArch64] stack-clash: Add LR assert to
> layout_frame.
> 
> Hi All,
> 
> 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.
> 
> Bootstrapped Regtested on aarch64-none-linux-gnu and no issues.
> 
> This patch has been pre-approved by AArch64 maintainer here
>   https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00555.html
> and will be committed with the rest.
> 
> Thanks,
> Tamar
> 
> gcc/ChangeLog:
> 
> 2018-09-26  Tamar Christina  <tamar.christina@arm.com>
> 
> 	* config/aarch64/aarch64.c (aarch64_layout_frame): Add assert.
> 
> --

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]