aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-06-02 08:08:13 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-06-02 08:08:13 +0000
commit45f39d78d6923fbf0462f08918ccae4d80430484 (patch)
treee9d6463ddd10cc0ac88243476724b6e384a398e1 /gcc/combine.c
parent2aa7c49bff5319f17ba438cc45c360f6843687e4 (diff)
downloadgcc-45f39d78d6923fbf0462f08918ccae4d80430484.zip
gcc-45f39d78d6923fbf0462f08918ccae4d80430484.tar.gz
gcc-45f39d78d6923fbf0462f08918ccae4d80430484.tar.bz2
* combine.c (move_deaths): Compare LUIDs within the same BB only.
From-SVN: r148075
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 7cdf396..0f8b087 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -12144,6 +12144,7 @@ move_deaths (rtx x, rtx maybe_kill_insn, int from_luid, rtx to_insn,
return;
if (where_dead
+ && BLOCK_FOR_INSN (where_dead) == BLOCK_FOR_INSN (to_insn)
&& DF_INSN_LUID (where_dead) >= from_luid
&& DF_INSN_LUID (where_dead) < DF_INSN_LUID (to_insn))
{