OSDN Git Service

* rs6000.c (expand_block_move): Fix typo in earlier change.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jun 2000 20:26:17 +0000 (20:26 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jun 2000 20:26:17 +0000 (20:26 +0000)
(print_operand): Remove unused variables neg and op.
(toc_hash_mark_entry): Fix prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34555 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index e006ae4..56b0ef6 100644 (file)
@@ -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.
index 37d9156..9bd42ac 100644 (file)
@@ -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 *));
 \f
@@ -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 =