This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ARM patch: Fix PR 40657
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 Apr 2010 10:29:31 +0100
- Subject: Re: ARM patch: Fix PR 40657
- References: <4BAD3435.8050403@codesourcery.com>
On Fri, 2010-03-26 at 23:24 +0100, Bernd Schmidt wrote:
> This patch solves PR 40657, which requests the following size optimization:
>
> find_base_decl:
> - push {r4, r5, r6, lr}
> - sub sp, sp, #8
> + push {r0, r1, r4, r5, r6, lr}
>
> Except for one special case, this is enabled only for -Os, where it
> triggers quite often. Tested on arm-eabi{,mthumb}. Ok for 4.6?
OK
R