From: Richard Henderson Date: Sat, 5 May 2001 16:55:48 +0000 (-0700) Subject: * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e00c13387a1c6ebbae5b8f86443e8646c438f050;p=gcc.git * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE. From-SVN: r41868 --- 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;