This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53555] [4.8 Regression] Bootstrap failure
- From: "izamyatin at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 Jun 2012 11:17:41 +0000
- Subject: [Bug bootstrap/53555] [4.8 Regression] Bootstrap failure
- Auto-submitted: auto-generated
- References: <bug-53555-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53555
Igor Zamyatin <izamyatin at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |izamyatin at gmail dot com
--- Comment #3 from Igor Zamyatin <izamyatin at gmail dot com> 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)