From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16270 invoked by alias); 11 Oct 2005 13:43:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16241 invoked by uid 48); 11 Oct 2005 13:43:42 -0000 Date: Tue, 11 Oct 2005 13:43:00 -0000 Message-ID: <20051011134342.16240.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/23585] [4.0 regression] mem_fun* code fine with -O1, bus error with -O2 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "giovannibajo at libero dot it" X-SW-Source: 2005-10/txt/msg01297.txt.bz2 List-Id: ------- Comment #7 from giovannibajo at libero dot it 2005-10-11 13:43 ------- Yes, I think the problem is in delay slot scheduling too. COND_EXPR means that either branch must not be evaluated because it could be illegal; if you hoist a mem from a branch into the delay slot of the condition, you are effectively partially evaluting the branch. -- giovannibajo at libero dot it changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |giovannibajo at libero dot | |it http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23585