Skip to content

Commit

Permalink
Add missing fixup for move_by_pieces_1
Browse files Browse the repository at this point in the history
  • Loading branch information
hgmich committed Mar 12, 2022
1 parent 6ae2127 commit 4fae47a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gcc/expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static rtx enqueue_insn (rtx, rtx);
static int queued_subexp_p (rtx);
static void init_queue (void);
static int move_by_pieces_ninsns (unsigned int, int);
static void move_by_pieces_1 (rtx (*)(rtx, ...), enum machine_mode,
static void move_by_pieces_1 (rtx (*)(rtx, rtx), enum machine_mode,
struct move_by_pieces *);
static void clear_by_pieces (rtx, int, int);
static void clear_by_pieces_1 (rtx (*)(rtx, rtx), enum machine_mode,
Expand Down Expand Up @@ -1093,7 +1093,7 @@ move_by_pieces_ninsns(unsigned int l, int align)
to make a move insn for that mode. DATA has all the other info. */

static void
move_by_pieces_1(rtx (*genfun) (rtx, ...), enum machine_mode mode, struct move_by_pieces *data)
move_by_pieces_1(rtx (*genfun) (rtx, rtx), enum machine_mode mode, struct move_by_pieces *data)
{
register int size = GET_MODE_SIZE(mode);
register rtx to1, from1;
Expand Down
4 changes: 2 additions & 2 deletions gcc_arm/expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static rtx enqueue_insn PROTO((rtx, rtx));
static int queued_subexp_p PROTO((rtx));
static void init_queue PROTO((void));
static int move_by_pieces_ninsns PROTO((unsigned int, int));
static void move_by_pieces_1 PROTO((rtx (*) (rtx, ...), enum machine_mode,
static void move_by_pieces_1 PROTO((rtx (*) (rtx, rtx), enum machine_mode,
struct move_by_pieces *));
static void clear_by_pieces PROTO((rtx, int, int));
static void clear_by_pieces_1 PROTO((rtx (*) (rtx, rtx), enum machine_mode,
Expand Down Expand Up @@ -1589,7 +1589,7 @@ move_by_pieces_ninsns (l, align)

static void
move_by_pieces_1 (genfun, mode, data)
rtx (*genfun) PROTO ((rtx, ...));
rtx (*genfun) PROTO ((rtx, rtx));
enum machine_mode mode;
struct move_by_pieces *data;
{
Expand Down

0 comments on commit 4fae47a

Please sign in to comment.