From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16940 invoked by alias); 13 Jul 2009 14:23:01 -0000 Received: (qmail 16854 invoked by alias); 13 Jul 2009 14:22:49 -0000 Date: Mon, 13 Jul 2009 14:23:00 -0000 Message-ID: <20090713142249.16853.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/40657] allocate local variables with fewer instructions In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rearnsha at arm dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg01026.txt.bz2 ------- Comment #6 from rearnsha at arm dot com 2009-07-13 14:22 ------- Subject: Re: allocate local variables with fewer instructions On Mon, 2009-07-06 at 10:43 +0000, steven at gcc dot gnu dot org wrote: > But how to do this in GCC... The "push {lr}" is never even in the > RTL. Output with same options + "-dAP": We already do this for ARM state. In thumb the split between epilogue code in RTL and text makes it slightly more complex, but not massively so. R. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657