From 6bf8c00c6a12714a473cb8da367ebf1502e7d853 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 25 Aug 2014 19:17:13 +0000 Subject: [PATCH] config/score/score.c: Use rtx_insn gcc/ * config/score/score.c (score_output_mi_thunk): Strengthen local "insn" from rtx to rtx_insn *. (score_prologue): Likewise. From-SVN: r214457 --- gcc/ChangeLog | 6 ++++++ gcc/config/score/score.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9d70245e4b..8296969f393 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-08-25 David Malcolm + + * config/score/score.c (score_output_mi_thunk): Strengthen local + "insn" from rtx to rtx_insn *. + (score_prologue): Likewise. + 2014-08-25 David Malcolm * config/s390/s390-protos.h (s390_match_ccmode): Strengthen param diff --git a/gcc/config/score/score.c b/gcc/config/score/score.c index d65684c45e4..9257f476618 100644 --- a/gcc/config/score/score.c +++ b/gcc/config/score/score.c @@ -453,7 +453,8 @@ score_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, HOST_WIDE_INT delta, HOST_WIDE_INT vcall_offset, tree function) { - rtx this_rtx, temp1, insn, fnaddr; + rtx this_rtx, temp1, fnaddr; + rtx_insn *insn; /* Pretend to be a post-reload pass while generating rtl. */ reload_completed = 1; @@ -1477,7 +1478,7 @@ score_prologue (void) if (size > 0) { - rtx insn; + rtx_insn *insn; if (size >= -32768 && size <= 32767) EMIT_PL (emit_insn (gen_add3_insn (stack_pointer_rtx, -- 2.30.2