From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11255 invoked by alias); 12 Jul 2010 23:34:21 -0000 Received: (qmail 11210 invoked by uid 48); 12 Jul 2010 23:34:11 -0000 Date: Mon, 12 Jul 2010 23:34:00 -0000 Message-ID: <20100712233411.11209.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/44921] [4.6 Regression] Failed to bootstrap In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail 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: 2010-07/txt/msg01330.txt.bz2 ------- Comment #4 from hjl dot tools at gmail dot com 2010-07-12 23:34 ------- (In reply to comment #3) > (In reply to comment #2) > > The variable can not actually be used uninitalized, since min_cost is > > initalized to INT_MAX, and the return type of rtx_cost is int. > > So it is enough to shut up the compiler warning, no need to add an > > extra test there. I.e. the first hunk should be sufficient. > > > > Does the first chunk count as obvious? Maybe int min_regno = 0; is faster. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44921