i386-protos.h (ix86_set_move_mem_attrs): Move decl.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Sun, 25 Feb 2001 16:35:48 +0000 (16:35 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 25 Feb 2001 16:35:48 +0000 (11:35 -0500)
* config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
* config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.

From-SVN: r40056

gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c

index 7728754..6d54957 100644 (file)
@@ -1,5 +1,8 @@
 Sun Feb 25 08:34:23 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
+       * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
+       * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
+
        * config/i386/i386.md (movstrsi): Handle FAIL case.
 
 2001-02-25  Neil Booth  <neil@daikokuya.demon.co.uk>
index 1b24df8..df3fb5a 100644 (file)
@@ -140,6 +140,8 @@ extern enum reg_class ix86_preferred_reload_class PARAMS ((rtx,
                                                           enum reg_class));
 extern int ix86_memory_move_cost PARAMS ((enum machine_mode, enum reg_class,
                                          int));
+extern void ix86_set_move_mem_attrs PARAMS ((rtx, rtx, rtx, rtx, rtx));
+
 
 #ifdef TREE_CODE
 extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx));
@@ -152,8 +154,6 @@ extern rtx ix86_expand_builtin PARAMS ((tree, rtx, rtx, enum machine_mode, int))
 
 #endif
 
-extern void ix86_set_move_mem_attrs PARAMS ((rtx, rtx, rtx, rtx, rtx));
-
 #ifdef TREE_CODE
 extern int ix86_valid_decl_attribute_p PARAMS ((tree, tree, tree, tree));
 extern int ix86_valid_type_attribute_p PARAMS ((tree, tree, tree, tree));
index 32ae6d4..7dfc3c5 100644 (file)
@@ -7405,7 +7405,7 @@ ix86_set_move_mem_attrs_1 (x, dstref, srcref, dstreg, srcreg)
                                   dstreg, srcreg);
       else if (*format_ptr == 'E')
        for (j = XVECLEN (x, i) - 1; j >= 0; j--)
-         ix86_set_move_mem_attrs_1 (XVECEXP (x, i, j), dstref, srcreg,
+         ix86_set_move_mem_attrs_1 (XVECEXP (x, i, j), dstref, srcref,
                                     dstreg, srcreg);
     }
 }