From 874bb5cbdb479ca5906ec42b54ccf49268dbc5e7 Mon Sep 17 00:00:00 2001 From: hjl Date: Mon, 4 Jun 2012 23:31:54 +0000 Subject: [PATCH] Skip debug insns in ix86_sched_reorder PR bootstrap/53555 * config/i386/i386.c (ix86_sched_reorder) Skip debug insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188212 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 53130fa..b602d8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-06-04 H.J. Lu + + PR bootstrap/53555 + * config/i386/i386.c (ix86_sched_reorder) Skip debug insns. + 2012-06-04 Jason Merrill * dwarf2out.c (is_unit_die): New. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c6c2c5e..13755f4 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -23919,6 +23919,8 @@ ix86_sched_reorder(FILE *dump, int sched_verbose, rtx *ready, int *pn_ready, { rtx con; con = DEP_CON (dep); + if (!NONDEBUG_INSN_P (con)) + continue; insn1 = PATTERN (con); if (GET_CODE (insn1) == PARALLEL) insn1 = XVECEXP (insn1, 0, 0); @@ -23935,6 +23937,8 @@ ix86_sched_reorder(FILE *dump, int sched_verbose, rtx *ready, int *pn_ready, { rtx pro; pro = DEP_PRO (dep1); + if (!NONDEBUG_INSN_P (pro)) + continue; if (pro != insn) index = -1; } -- 2.7.4