aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2000-01-03 02:30:52 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2000-01-03 02:30:52 +0000
commit9d81fc278106212dc3697bca3a91e53442202504 (patch)
treedf4ed706fa30b4f6e2ae7825f54f1a88b05e089a
parent0ef2e39a2d04e4e2803929b04825019926c7d8d0 (diff)
downloadgcc-9d81fc278106212dc3697bca3a91e53442202504.zip
gcc-9d81fc278106212dc3697bca3a91e53442202504.tar.gz
gcc-9d81fc278106212dc3697bca3a91e53442202504.tar.bz2
i386.c (ix86_expand_unary_operator): Function definition made void.
* 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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386-protos.h6
-rw-r--r--gcc/config/i386/i386.c8
3 files changed, 12 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f4274e3..697eb59 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h
index d95dbb6..0123b8a3 100644
--- a/gcc/config/i386/i386-protos.h
+++ b/gcc/config/i386/i386-protos.h
@@ -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));
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 5c0feb5..091e734 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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;