summaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-03 09:18:22 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-03 09:18:22 +0000
commited1e5d409737c9503e0e2cb9c51ea2f4a69c8ad0 (patch)
tree68b53daa1d85b745a1161f3739cf696cc0a89478 /gcc/loop.c
parente306f5838f1eb69beba5197a30aea0fb17f63599 (diff)
downloadgcc-ed1e5d409737c9503e0e2cb9c51ea2f4a69c8ad0.tar.gz
2002-01-02 Eric Christopher <echristo@redhat.com>
* final.c (final_scan_insn): Change 0 -> NULL_RTX in FIND_REG_INC_NOTE call. Update copyright. * loop.c (canonicalize_condition): Ditto. * reorg.c (delete_scheduled_jump): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 6ebd7d5574f..4200470e02d 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -3830,7 +3830,7 @@ emit_prefetch_instructions (loop)
|| GET_CODE (iv->mult_val) != CONST_INT
/* Don't handle reversed order prefetches, since they are usually
ineffective. Later we may be able to reverse such BIVs. */
- || (PREFETCH_NO_REVERSE_ORDER
+ || (PREFETCH_NO_REVERSE_ORDER
&& (stride = INTVAL (iv->mult_val) * basestride) < 0)
/* Prefetching of accesses with such an extreme stride is probably
not worthwhile, either. */
@@ -9087,7 +9087,7 @@ canonicalize_condition (insn, cond, reverse, earliest, want_reg)
if ((prev = prev_nonnote_insn (prev)) == 0
|| GET_CODE (prev) != INSN
- || FIND_REG_INC_NOTE (prev, 0))
+ || FIND_REG_INC_NOTE (prev, NULL_RTX))
break;
set = set_of (op0, prev);