From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5626 invoked by alias); 2 Jun 2012 11:18:11 -0000 Received: (qmail 5615 invoked by uid 22791); 2 Jun 2012 11:18:10 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 02 Jun 2012 11:17:56 +0000 From: "izamyatin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/53555] [4.8 Regression] Bootstrap failure Date: Sat, 02 Jun 2012 11:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: izamyatin at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-06/txt/msg00099.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53555 Igor Zamyatin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |izamyatin at gmail dot com --- Comment #3 from Igor Zamyatin 2012-06-02 11:17:41 UTC --- Hmm, it seems it's not quite correct to check ix86_tune, proper way is to use ix86_arch here. Following change fixes he bootstrap diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c6c2c5e..a272411 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -23881,7 +23881,7 @@ ix86_sched_reorder(FILE *dump, int sched_verbose, rtx *ready, int *pn_ready, issue_rate = ix86_issue_rate(); /* Do reodering for Atom only. */ - if (ix86_tune != PROCESSOR_ATOM) + if (ix86_arch != PROCESSOR_ATOM) return issue_rate; /* Nothing to do if ready list contains only 1 instruction. */ if (n_ready <= 1)