diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1992-05-03 16:57:21 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1992-05-03 16:57:21 -0700 |
commit | ead69aea2062e7bab67742f5aa95e901abebce74 (patch) | |
tree | e03cd775f4ccbd9c88009380530f06a823936e85 /gcc/sched.c | |
parent | c3de4fe6823c360513e47c2b832ee872e86abee5 (diff) | |
download | gcc-ead69aea2062e7bab67742f5aa95e901abebce74.zip gcc-ead69aea2062e7bab67742f5aa95e901abebce74.tar.gz gcc-ead69aea2062e7bab67742f5aa95e901abebce74.tar.bz2 |
*** empty log message ***
From-SVN: r874
Diffstat (limited to 'gcc/sched.c')
-rw-r--r-- | gcc/sched.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/sched.c b/gcc/sched.c index 0897dd3..ce4e59d 100644 --- a/gcc/sched.c +++ b/gcc/sched.c @@ -2391,11 +2391,9 @@ schedule_block (b, file) high priorities to these insns to guarantee that they get scheduled last. If these insns are ignored, as is currently done, the register life info may be incorrectly computed. */ - if (GET_CODE (tail) == INSN - && GET_CODE (PATTERN (tail)) == USE - && next_nonnote_insn (tail) == 0) + if (GET_CODE (tail) == INSN && GET_CODE (PATTERN (tail)) == USE) { - /* Don't try to reorder any USE insns at the end of a function. + /* Don't try to reorder any USE insns at the end of any block. They must be last to ensure proper register allocation. Exclude them all from scheduling. */ do |