diff options
author | Bernd Schmidt <bernds@redhat.com> | 2000-12-20 17:19:39 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2000-12-20 17:19:39 +0000 |
commit | 18e720b324e90c02d4631174885b66f67d8014f2 (patch) | |
tree | 6792bf552c4e374a8b4a117207dec07374ea6a0d /gcc/haifa-sched.c | |
parent | fd7bcd6f0571ef7f5fb87c713b7a612252497056 (diff) | |
download | gcc-18e720b324e90c02d4631174885b66f67d8014f2.zip gcc-18e720b324e90c02d4631174885b66f67d8014f2.tar.gz gcc-18e720b324e90c02d4631174885b66f67d8014f2.tar.bz2 |
Support scheduling across extended basic blocks
From-SVN: r38400
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 32ccf82..3498974 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -144,6 +144,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "flags.h" #include "insn-config.h" #include "insn-attr.h" +#include "insn-flags.h" #include "except.h" #include "toplev.h" #include "recog.h" @@ -740,7 +741,7 @@ priority (insn) next = XEXP (link, 0); /* Critical path is meaningful in block boundaries only. */ - if (BLOCK_NUM (next) != BLOCK_NUM (insn)) + if (! (*current_sched_info->contributes_to_priority) (next, insn)) continue; next_priority = insn_cost (insn, link, next) + priority (next); |