summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-03 02:30:52 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-03 02:30:52 +0000
commiteadb530a6ce85a06b9f36f7459b244032bc83d75 (patch)
treedf4ed706fa30b4f6e2ae7825f54f1a88b05e089a
parent9de66430b93245df139104623a9eaba1ed47bc7f (diff)
downloadgcc-eadb530a6ce85a06b9f36f7459b244032bc83d75.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31172 138bc75d-0d04-0410-961f-82ee72b054a4
-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 f4274e39fbc..697eb59d33b 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 d95dbb6669e..0123b8a34e2 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 5c0feb57176..091e7346773 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;