From 35d2ec561515b9aefc087c940c8da59e26ecc773 Mon Sep 17 00:00:00 2001 From: rth Date: Sat, 5 May 2001 16:55:48 +0000 Subject: [PATCH] * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41868 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/integrate.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b9b4a6..c8f3f0a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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 to the parent of the fixup region. diff --git a/gcc/integrate.c b/gcc/integrate.c index a430030..6795d82 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.7.4