summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/emit-rtl.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 06060c5fd69..538558a734d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-19 Alexandre Oliva <aoliva@redhat.com>
+
+ * emit-rtl.c (copy_insn_1): Do not copy DEBUG_EXPRs.
+
2011-09-19 Ira Rosen <ira.rosen@linaro.org>
PR tree-optimization/50413
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index c94e7438c91..ee38d3c90b0 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -5269,6 +5269,7 @@ copy_insn_1 (rtx orig)
switch (code)
{
case REG:
+ case DEBUG_EXPR:
case CONST_INT:
case CONST_DOUBLE:
case CONST_FIXED: