diff options
author | David Edelsohn <edelsohn@gnu.org> | 2000-06-14 20:26:17 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2000-06-14 16:26:17 -0400 |
commit | 2eba1afa1b082cf808ec074ee2d3de8bfeb508b0 (patch) | |
tree | 8b3684be963d6a0674d36fdccc621e358b191c40 | |
parent | adab1923788af1d38ca79c91cead991c99f864db (diff) | |
download | gcc-2eba1afa1b082cf808ec074ee2d3de8bfeb508b0.zip gcc-2eba1afa1b082cf808ec074ee2d3de8bfeb508b0.tar.gz gcc-2eba1afa1b082cf808ec074ee2d3de8bfeb508b0.tar.bz2 |
rs6000.c (expand_block_move): Fix typo in earlier change.
* rs6000.c (expand_block_move): Fix typo in earlier change.
(print_operand): Remove unused variables neg and op.
(toc_hash_mark_entry): Fix prototype.
From-SVN: r34555
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e006ae4..56b0ef6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-06-14 David Edelsohn <edelsohn@gnu.org> + + * rs6000.c (expand_block_move): Fix typo in earlier change. + (print_operand): Remove unused variables neg and op. + (toc_hash_mark_entry): Fix prototype. + 2000-06-14 Benjamin Chelf <chelf@cabriolet.stanford.edu> * c-common.h (IF_COND): Moved here from cp/cp-tree.h. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 37d9156..9bd42ac 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -125,7 +125,7 @@ static void rs6000_emit_allocate_stack PARAMS ((HOST_WIDE_INT, int)); static unsigned rs6000_hash_constant PARAMS ((rtx)); static unsigned toc_hash_function PARAMS ((const void *)); static int toc_hash_eq PARAMS ((const void *, const void *)); -static int toc_hash_mark_entry PARAMS ((void *, void *)); +static int toc_hash_mark_entry PARAMS ((void **, void *)); static void toc_hash_mark_table PARAMS ((void *)); static int constant_pool_expr_1 PARAMS ((rtx, int *, int *)); @@ -2419,9 +2419,9 @@ expand_block_move (operands) tmp_reg = gen_reg_rtx (DImode); emit_move_insn (tmp_reg, expand_block_move_mem (DImode, - src_addr, orig_src)); + src_reg, orig_src)); emit_move_insn (expand_block_move_mem (DImode, - dest_addr, orig_dest), + dest_reg, orig_dest), tmp_reg); } else if (bytes > 4) @@ -3655,7 +3655,6 @@ print_operand (file, x, code) expression. The expression may have one or both operands negated (if one, only the first one). */ { - int neg, op; const char *const *t; const char *s; enum rtx_code code = GET_CODE (x); @@ -6144,7 +6143,7 @@ toc_hash_eq (h1, h2) static int toc_hash_mark_entry (hash_slot, unused) - void * hash_slot; + void ** hash_slot; void * unused ATTRIBUTE_UNUSED; { const struct toc_hash_struct * hash_entry = |