diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2001-07-23 13:21:39 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2001-07-23 13:21:39 +0000 |
commit | e0120d6e535d2f7b7fc98bfe273223e1ea9b67bd (patch) | |
tree | dd28b8062b4d9a9f20b1c876528a601d79304230 | |
parent | f981f97beb9437fac8f5071a282669b09e295707 (diff) | |
download | gcc-e0120d6e535d2f7b7fc98bfe273223e1ea9b67bd.zip gcc-e0120d6e535d2f7b7fc98bfe273223e1ea9b67bd.tar.gz gcc-e0120d6e535d2f7b7fc98bfe273223e1ea9b67bd.tar.bz2 |
reload.c (push_reload): Fix typo in comment.
* reload.c (push_reload): Fix typo in comment.
(find_reloads_address): Ditto.
(reg_overlap_mentioned_for_reload_p): Ditto in head comment.
From-SVN: r44264
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/reload.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e361bd5..b400b34 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-07-23 Hans-Peter Nilsson <hp@bitrange.com> + + * reload.c (push_reload): Fix typo in comment. + (find_reloads_address): Ditto. + (reg_overlap_mentioned_for_reload_p): Ditto in head comment. + 2001-07-22 Richard Henderson <rth@redhat.com> * flow.c: Grammar check and clarify a lot of comments. diff --git a/gcc/reload.c b/gcc/reload.c index b4d8212..0955ec8 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -1364,7 +1364,7 @@ push_reload (in, out, inloc, outloc, class, rld[i].opnum = MIN (rld[i].opnum, opnum); } - /* If the ostensible rtx being reload differs from the rtx found + /* If the ostensible rtx being reloaded differs from the rtx found in the location to substitute, this reload is not safe to combine because we cannot reliably tell whether it appears in the insn. */ @@ -4847,7 +4847,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn) into a register. */ if (CONSTANT_P (ad) && ! strict_memory_address_p (mode, ad)) { - /* If AD is in address in the constant pool, the MEM rtx may be shared. + /* If AD is an address in the constant pool, the MEM rtx may be shared. Unshare it so we can safely alter it. */ if (memrefloc && GET_CODE (ad) == SYMBOL_REF && CONSTANT_POOL_ADDRESS_P (ad)) @@ -6076,7 +6076,7 @@ refers_to_regno_for_reload_p (regno, endregno, x, loc) contains a MEM (we don't bother checking for memory addresses that can't conflict because we expect this to be a rare case. - This function is similar to reg_overlap_mention_p in rtlanal.c except + This function is similar to reg_overlap_mentioned_p in rtlanal.c except that we look at equivalences for pseudos that didn't get hard registers. */ int |