aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/integrate.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index edd2ad7..a459cef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-12 Richard Henderson <rth@redhat.com>
+
+ * integrate.c (copy_insn_list): Copy label name from
+ NOTE_INSN_DELETED_LABEL.
+
2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-common.c (c_tree_code_name): Const-ification.
diff --git a/gcc/integrate.c b/gcc/integrate.c
index cdf368e..0934d76 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -1559,6 +1559,7 @@ copy_insn_list (insns, map, static_chain_value)
{
copy = emit_label (get_label_from_map (map,
CODE_LABEL_NUMBER (insn)));
+ LABEL_NAME (copy) = NOTE_SOURCE_FILE (insn);
map->const_age++;
break;
}