diff options
author | Richard Henderson <rth@redhat.com> | 2001-05-05 09:55:48 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-05-05 09:55:48 -0700 |
commit | e00c13387a1c6ebbae5b8f86443e8646c438f050 (patch) | |
tree | c1ce42e4bef35d0d6ede7924ee4041f0e990518d | |
parent | 45053eaf0b43e8a9085e20cf52e589cf0aa6aef3 (diff) | |
download | gcc-e00c13387a1c6ebbae5b8f86443e8646c438f050.zip gcc-e00c13387a1c6ebbae5b8f86443e8646c438f050.tar.gz gcc-e00c13387a1c6ebbae5b8f86443e8646c438f050.tar.bz2 |
* integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
From-SVN: r41868
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/integrate.c | 5 |
2 files changed, 9 insertions, 0 deletions
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 <rth@redhat.com> + * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE. + +2001-05-05 Richard Henderson <rth@redhat.com> + * 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; |