diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-20 16:34:43 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-20 16:34:43 +0000 |
commit | 20f8d64b13a3e10f2dd713a085cd9d4a1ecbfaec (patch) | |
tree | bf2b2e8674d300bb106e3e4687b1728bd6cf77bd /gcc/haifa-sched.c | |
parent | 10075078f96523a9487ea9ad97a0d6bdfcbefbeb (diff) | |
download | gcc-20f8d64b13a3e10f2dd713a085cd9d4a1ecbfaec.tar.gz |
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
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |