summaryrefslogtreecommitdiff
path: root/gcc/cprop.c
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-06 13:40:09 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-06 13:40:09 +0000
commit4446c88347ba135ecbff83c14c50c7cc79cf79a3 (patch)
treeebf0a932ae2621fe1b85a52edf17b685b4ccae20 /gcc/cprop.c
parenta6aa49aa36be4590e4f5503a8eb538865f318fb5 (diff)
downloadgcc-4446c88347ba135ecbff83c14c50c7cc79cf79a3.tar.gz
* cprop.c (local_cprop_pass): Don't set changed for debug insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174700 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r--gcc/cprop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c
index 24f4a84d561..b7b17b19387 100644
--- a/gcc/cprop.c
+++ b/gcc/cprop.c
@@ -1223,7 +1223,8 @@ local_cprop_pass (void)
{
if (do_local_cprop (reg_use_table[i], insn))
{
- changed = true;
+ if (!DEBUG_INSN_P (insn))
+ changed = true;
break;
}
}