From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13853 invoked by alias); 3 May 2006 21:53:30 -0000 Received: (qmail 13842 invoked by uid 48); 3 May 2006 21:53:24 -0000 Date: Wed, 03 May 2006 21:53:00 -0000 Message-ID: <20060503215324.13841.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/26944] [4.1/4.2 Regression] -ftree-ch generates worse code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dann at godzilla dot ics dot uci dot edu" 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-05/txt/msg00314.txt.bz2 List-Id: ------- Comment #8 from dann at godzilla dot ics dot uci dot edu 2006-05-03 21:53 ------- WRT this code generated by tree-ch: D.1305_41 = Int_Loc_3 + 1; if (Int_Loc_3 <= D.1305_41) goto ; else goto ; AFAICT there's exactly one value for which the comparison can be false, IMO it would be better to test directly that value instead of generating a new SSA name and another expression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26944