From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27180 invoked by alias); 1 Jan 2010 20:44:21 -0000 Received: (qmail 27147 invoked by uid 48); 1 Jan 2010 20:44:11 -0000 Date: Fri, 01 Jan 2010 20:44:00 -0000 Message-ID: <20100101204411.27146.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE) 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: 2010-01/txt/msg00067.txt.bz2 ------- Comment #3 from steven at gcc dot gnu dot org 2010-01-01 20:44 ------- CPROP should handle this, since the address is a "constant" if a proper REG_EQUAL note is placed on the (set (reg) (address)). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574