aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-06-04 23:31:54 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2012-06-04 16:31:54 -0700
commitdea9f99db0280788f2807a41ad22e6d7217ca2c7 (patch)
tree48a3606546779c2dbe09c6b1c36ac349d91328a5 /gcc/config
parent61a3e629c1e098628e4cf8994a82284cf41fa872 (diff)
downloadgcc-dea9f99db0280788f2807a41ad22e6d7217ca2c7.zip
gcc-dea9f99db0280788f2807a41ad22e6d7217ca2c7.tar.gz
gcc-dea9f99db0280788f2807a41ad22e6d7217ca2c7.tar.bz2
Skip debug insns in ix86_sched_reorder
PR bootstrap/53555 * config/i386/i386.c (ix86_sched_reorder) Skip debug insns. From-SVN: r188212
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.c4
1 files changed, 4 insertions, 0 deletions
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;
}