This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Code size problem with [ARM PATCH] Protect stack pointer
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Arpad Beszedes <beszedes at inf dot u-szeged dot hu>
- Cc: nathan at codesourcery dot com, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Tue, 21 Oct 2003 17:24:29 +0100
- Subject: Re: Code size problem with [ARM PATCH] Protect stack pointer
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> Dear Nathan and all,
>
> For your information.
>
> This bug-fix patch
> http://gcc.gnu.org/ml/gcc-patches/2003-10/msg01414.html
> caused significant code size increase, as measured using the CSiBE
> benchmark:
> http://sed.inf.u-szeged.hu/csibe/observations.php
>
> Please consider some refinement, if possible!
>
> Best regards,
> Arpad Beszedes
This is a necessary consequence of avoiding an ABI violation that becomes
very significant when running code on an ARMv6 processor. The best
solution all round is to not use a frame pointer at all
(-fomit-frame-pointer -mno-apcs-frame).
R.