OSDN Git Service

* combine.c (move_deaths): Compare LUIDs within the same BB only.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jun 2009 08:08:13 +0000 (08:08 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jun 2009 08:08:13 +0000 (08:08 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148075 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/combine.c

index c84f1a6..9992c73 100644 (file)
@@ -1,5 +1,9 @@
 2009-06-02  Alexandre Oliva  <aoliva@redhat.com>
 
 2009-06-02  Alexandre Oliva  <aoliva@redhat.com>
 
+       * combine.c (move_deaths): Compare LUIDs within the same BB only.
+
+2009-06-02  Alexandre Oliva  <aoliva@redhat.com>
+
        * common.opt (fdump-unnumbered-links): New.
        * doc/invoke.texi (-fdump-unnumbered-links): Document it.
        * print-rtl.c (flag_dump_unnumbered_links): New.
        * common.opt (fdump-unnumbered-links): New.
        * doc/invoke.texi (-fdump-unnumbered-links): Document it.
        * print-rtl.c (flag_dump_unnumbered_links): New.
index 7cdf396..0f8b087 100644 (file)
@@ -12144,6 +12144,7 @@ move_deaths (rtx x, rtx maybe_kill_insn, int from_luid, rtx to_insn,
        return;
 
       if (where_dead
        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))
        {
          && DF_INSN_LUID (where_dead) >= from_luid
          && DF_INSN_LUID (where_dead) < DF_INSN_LUID (to_insn))
        {