From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28251 invoked by alias); 15 Jan 2006 20:15:40 -0000 Received: (qmail 28226 invoked by uid 48); 15 Jan 2006 20:15:37 -0000 Date: Sun, 15 Jan 2006 20:15:00 -0000 Message-ID: <20060115201537.28225.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/23855] loop header should also be pulled out of the inner loop too In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rakdver at gcc dot gnu dot org" 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 X-SW-Source: 2006-01/txt/msg01441.txt.bz2 List-Id: ------- Comment #8 from rakdver at gcc dot gnu dot org 2006-01-15 20:15 ------- Unswitching the condition (i < ie) (plus empty loop removal) would produce this code. Nevertheless, this is a fairly common case, so perhaps it might make sense to special-case it in loop header copying (for performance reasons). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23855