summaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-17 16:37:49 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-17 16:37:49 +0000
commit9d7facc880a9e7aa413ae5935c653abbe65a9bda (patch)
tree87daa8f446ebfd58d99548e8c2faf924718220b2 /gcc/expr.c
parent1b0b9b863c9a38202a724f0c9720f53f22bdf719 (diff)
downloadgcc-9d7facc880a9e7aa413ae5935c653abbe65a9bda.tar.gz
* expr.c (move_by_pieces): No longer static. Remove prototype.
* rtl.h (move_by_pieces): Add extern prototype. * mips.c (expand_block_move): Handle aligned straight line copy by calling move_by_pieces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21794 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 2bd4b41534b..cfea6304f27 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -156,7 +156,6 @@ static rtx get_push_address PROTO ((int));
static rtx enqueue_insn PROTO((rtx, rtx));
static int queued_subexp_p PROTO((rtx));
static void init_queue PROTO((void));
-static void move_by_pieces PROTO((rtx, rtx, int, int));
static int move_by_pieces_ninsns PROTO((unsigned int, int));
static void move_by_pieces_1 PROTO((rtx (*) (rtx, ...), enum machine_mode,
struct move_by_pieces *));
@@ -1394,7 +1393,7 @@ convert_modes (mode, oldmode, x, unsignedp)
through protect_from_queue before calling.
ALIGN (in bytes) is maximum alignment we can assume. */
-static void
+void
move_by_pieces (to, from, len, align)
rtx to, from;
int len, align;