From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15223 invoked by alias); 1 Jan 2010 20:16:43 -0000 Received: (qmail 15181 invoked by uid 48); 1 Jan 2010 20:16:30 -0000 Date: Fri, 01 Jan 2010 20:16:00 -0000 Message-ID: <20100101201630.15180.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/42574] Address of global variable is calculated multiple times; CSE doesn't work properly 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/msg00058.txt.bz2 ------- Comment #1 from steven at gcc dot gnu dot org 2010-01-01 20:16 ------- Probably doesn't work in CSE because -fcse-skip-blocks was removed (for good reason). You should try to find out why gcse.c doesn't eliminate this. There could be (should have been?) a REG_EQUAL note to take care of this. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-01-01 20:16:29 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574