diff options
author | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | 2002-06-14 18:58:10 +0000 |
---|---|---|
committer | Franz Sirl <sirl@gcc.gnu.org> | 2002-06-14 18:58:10 +0000 |
commit | be202ec201847a2fbe22fbd7ecf7a15fc51fa61a (patch) | |
tree | 29cb9e5ec94f8fec411037a41ebb75e953397eb2 /gcc/sched-rgn.c | |
parent | 6203ef88a6591be899fe5425e21aa6bccf6a8c10 (diff) | |
download | gcc-be202ec201847a2fbe22fbd7ecf7a15fc51fa61a.zip gcc-be202ec201847a2fbe22fbd7ecf7a15fc51fa61a.tar.gz gcc-be202ec201847a2fbe22fbd7ecf7a15fc51fa61a.tar.bz2 |
rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
2002-06-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
* sched-deps.c (add_dependence): Likewise.
(group_leader): Likewise.
* sched-rgn.c (init_ready_list): Likewise.
* doc/rtl.texi: Adjust accordingly.
From-SVN: r54622
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 30b2cf0..6227645 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -2033,7 +2033,7 @@ init_ready_list (ready) next = NEXT_INSN (insn); if (INSN_DEP_COUNT (insn) == 0 - && (SCHED_GROUP_P (next) == 0 || ! INSN_P (next))) + && (! INSN_P (next) || SCHED_GROUP_P (next) == 0)) ready_add (ready, insn); if (!(SCHED_GROUP_P (insn))) target_n_insns++; @@ -2079,8 +2079,8 @@ init_ready_list (ready) next = next_nonnote_insn (insn); if (INSN_DEP_COUNT (insn) == 0 && (! next - || SCHED_GROUP_P (next) == 0 - || ! INSN_P (next))) + || ! INSN_P (next) + || SCHED_GROUP_P (next) == 0)) ready_add (ready, insn); } } |