diff options
author | Nick Clifton <nickc@cygnus.com> | 1999-02-05 10:57:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1999-02-05 10:57:02 +0000 |
commit | 3c4fc1ccc4674d250ec11b706df608aae0413534 (patch) | |
tree | cdc449e457815ecff1000d18d7a1f10f4cc29228 /gcc | |
parent | 850350d1f762dbd2828420e55452eeb789211acb (diff) | |
download | gcc-3c4fc1ccc4674d250ec11b706df608aae0413534.zip gcc-3c4fc1ccc4674d250ec11b706df608aae0413534.tar.gz gcc-3c4fc1ccc4674d250ec11b706df608aae0413534.tar.bz2 |
Only call update_flow_info if instruction scheduling is enabled.
From-SVN: r25042
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/recog.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee97271..e757146 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 5 10:55:43 1999 Nick Clifton <nickc@cygnus.com> + + * recog.c (split_block_insns): Only call update_flow_info if + instruction scheduling is enabled. + 1999-02-05 11:22 -0500 Zack Weinberg <zack@rabi.columbia.edu> * Makefile.in (gen-protos): Use libcpp.a like everyone else. diff --git a/gcc/recog.c b/gcc/recog.c index a62027d..58806e6 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -2658,8 +2658,9 @@ split_block_insns (b, do_split) { /* try_split returns the NOTE that INSN became. */ first = NEXT_INSN (first); +#ifdef INSN_SCHEDULING update_flow_info (notes, first, last, insn); - +#endif PUT_CODE (insn, NOTE); NOTE_SOURCE_FILE (insn) = 0; NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED; |