From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6165 invoked by alias); 7 Jan 2008 18:24:44 -0000 Received: (qmail 6042 invoked by uid 48); 7 Jan 2008 18:24:01 -0000 Date: Mon, 07 Jan 2008 19:30:00 -0000 Message-ID: <20080107182401.6041.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/33699] [4.1/4.2/4.3 regression], missing optimization on const addr area store In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "steven at gcc dot gnu dot org" 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: 2008-01/txt/msg00648.txt.bz2 ------- Comment #2 from steven at gcc dot gnu dot org 2008-01-07 18:24 ------- This is related to some work done in the past for auto-increment addressing modes (even though there are no auto-inc/dec modes in the reporter's assembly). See one of Joern's old patches: http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01612.html Look at the comment before optimize_related_value() to understand what this patch is supposed to achieve. Let's not talk about how it achieved this -- it suffices to say that the patch is not in the trunk -- but we really do need a pass over RTL to optimize this kind of thing. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2007-12-26 01:33:50 |2008-01-07 18:24:00 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33699