From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10665 invoked by alias); 12 Jan 2008 14:35:19 -0000 Received: (qmail 10523 invoked by uid 48); 12 Jan 2008 14:34:37 -0000 Date: Sat, 12 Jan 2008 15:29:00 -0000 Message-ID: <20080112143437.10522.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/21676] [4.0/4.1/4.2/4.3 Regression] Optimizer regression: SciMark sparse matrix benchmark 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/msg01132.txt.bz2 ------- Comment #13 from steven at gcc dot gnu dot org 2008-01-12 14:34 ------- Re. comment #7, "Assignment to sum should be moved before if..." This is called code hoisting, and it is not performed in GCC except with -Os. See bug 24001, bug 33315, and other reports about the same issue in Bugzilla. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21676