aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 335d3dd..248a6ee 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -13677,7 +13677,7 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2, rtx elim_i2,
}
if (place2)
- add_reg_note (place2, REG_NOTE_KIND (note), XEXP (note, 0));
+ add_shallow_copy_of_reg_note (place2, note);
}
}