From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10780 invoked by alias); 26 Feb 2010 01:23:34 -0000 Received: (qmail 10535 invoked by uid 48); 26 Feb 2010 01:23:20 -0000 Date: Fri, 26 Feb 2010 01:23:00 -0000 Message-ID: <20100226012320.10534.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/27016] [4.3/4.4/4.5 Regression] ARM optimizer produces severely suboptimal code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "law at redhat 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: 2010-02/txt/msg02639.txt.bz2 ------- Comment #9 from law at redhat dot com 2010-02-26 01:23 ------- The trunk now generates: ldr r3, .L4 ldr r2, .L4+4 ldr r1, .L4+8 b .L2 .L3: ldr r0, [r3], #4 str r0, [r2], #4 .L2: cmp r3, r1 bcc .L3 bx lr .L5: This is probably a direct result of Bernd's work to improve auto-inc addressing modes, particularly the ability to discover them when the memref and increment are in different basic blocks. -- law at redhat dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27016