i386.c (ix86_expand_unary_operator): Function definition made void.
authorHans-Peter Nilsson <hp@bitrange.com>
Mon, 3 Jan 2000 02:30:52 +0000 (02:30 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 3 Jan 2000 02:30:52 +0000 (02:30 +0000)
* config/i386/i386.c (ix86_expand_unary_operator): Function
definition made void.
(ix86_expand_binary_operator): Update outdated preceding comment.
* config/i386/i386-protos.h (ix86_expand_unary_operator): Update
prototype.

From-SVN: r31172

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

index f4274e3..697eb59 100644 (file)
@@ -1,5 +1,11 @@
 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
 
+       * config/i386/i386.c (ix86_expand_unary_operator): Function
+       definition made void.
+       (ix86_expand_binary_operator): Update outdated preceding comment.
+       * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
+       prototype.
+
        * config/i386/i386.c (override_options): Fix option-name typo.
 
 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
index d95dbb6..0123b8a 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler for IA-32.
-   Copyright (C) 1988, 92, 94-98, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1988, 92, 94-99, 2000 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -86,8 +86,8 @@ extern void ix86_expand_binary_operator PROTO((enum rtx_code,
                                               enum machine_mode, rtx[]));
 extern int ix86_binary_operator_ok PROTO((enum rtx_code, enum machine_mode,
                                          rtx[]));
-extern int ix86_expand_unary_operator PROTO((enum rtx_code, enum machine_mode,
-                                            rtx[]));
+extern void ix86_expand_unary_operator PROTO((enum rtx_code, enum machine_mode,
+                                             rtx[]));
 extern int ix86_unary_operator_ok PROTO((enum rtx_code, enum machine_mode,
                                         rtx[]));
 extern void ix86_expand_branch PROTO((enum rtx_code, int, rtx));
index 5c0feb5..091e734 100644 (file)
@@ -3716,8 +3716,7 @@ ix86_expand_move (mode, operands)
 
 /* Attempt to expand a binary operator.  Make the expansion closer to the
    actual machine, then just general_operand, which will allow 3 separate
-   memory references (one output, two input) in a single insn.  Return
-   whether the insn fails, or succeeds.  */
+   memory references (one output, two input) in a single insn.  */
 
 void
 ix86_expand_binary_operator (code, mode, operands)
@@ -3837,10 +3836,9 @@ ix86_binary_operator_ok (code, mode, operands)
 
 /* Attempt to expand a unary operator.  Make the expansion closer to the
    actual machine, then just general_operand, which will allow 2 separate
-   memory references (one output, one input) in a single insn.  Return
-   whether the insn fails, or succeeds.  */
+   memory references (one output, one input) in a single insn.  */
 
-int
+void
 ix86_expand_unary_operator (code, mode, operands)
      enum rtx_code code;
      enum machine_mode mode;