From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13776 invoked by alias); 19 Aug 2009 21:55:52 -0000 Received: (qmail 13740 invoked by uid 48); 19 Aug 2009 21:55:40 -0000 Date: Wed, 19 Aug 2009 21:55:00 -0000 Message-ID: <20090819215540.13739.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/41004] missed merge of basic blocks In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "carrot at google dot com" 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: 2009-08/txt/msg01619.txt.bz2 ------- Comment #4 from carrot at google dot com 2009-08-19 21:55 ------- (In reply to comment #2) > Why does the basic block reordering pass also not handle this? > Basic block reordering is disabled with options -Os. The basic block reordering algorithm is for performance only, it usually increases code size. So it won't be called when do optimization for size. But for this specific case, the extra branch can be removed when I compile it with -O2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41004