From 20f8d64b13a3e10f2dd713a085cd9d4a1ecbfaec Mon Sep 17 00:00:00 2001 From: jakub Date: Thu, 20 May 2010 16:34:43 +0000 Subject: PR debug/44178 * haifa-sched.c (initiate_bb_reg_pressure_info): Do not call setup_ref_regs for DEBUG_INSNs. * g++.dg/debug/pr44178.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159632 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/haifa-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/haifa-sched.c') diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 8bea5e3811e..f7c087fef79 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -718,7 +718,7 @@ initiate_bb_reg_pressure_info (basic_block bb) if (current_nr_blocks > 1) FOR_BB_INSNS (bb, insn) - if (INSN_P (insn)) + if (NONDEBUG_INSN_P (insn)) setup_ref_regs (PATTERN (insn)); initiate_reg_pressure_info (df_get_live_in (bb)); #ifdef EH_RETURN_DATA_REGNO -- cgit v1.2.1