From e00c13387a1c6ebbae5b8f86443e8646c438f050 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 5 May 2001 09:55:48 -0700 Subject: [PATCH] * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE. From-SVN: r41868 --- gcc/ChangeLog | 4 ++++ gcc/integrate.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b9b4a60eb0..c8f3f0aad44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-05-05 Richard Henderson + + * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE. + 2001-05-05 Richard Henderson * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes diff --git a/gcc/integrate.c b/gcc/integrate.c index a4300303825..6795d823cc5 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -1536,6 +1536,11 @@ copy_insn_list (insns, map, static_chain_value) else NOTE_BLOCK (copy) = *mapped_block_p; } + else if (copy + && NOTE_LINE_NUMBER (copy) == NOTE_INSN_EXPECTED_VALUE) + NOTE_EXPECTED_VALUE (copy) + = copy_rtx_and_substitute (NOTE_EXPECTED_VALUE (insn), + map, 0); } else copy = 0; -- 2.30.2