From: David Malcolm Date: Fri, 22 Aug 2014 18:06:16 +0000 (+0000) Subject: loop-doloop.c: Use rtx_insn in a few places X-Git-Tag: upstream/12.2.0~60947 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=871eb193238ded31b97728930eb0b15c865f6a03;p=platform%2Fupstream%2Fgcc.git loop-doloop.c: Use rtx_insn in a few places gcc/ * loop-doloop.c (doloop_valid_p): Strengthen local "insn" from rtx to rtx_insn *. (add_test): Likewise for locals "seq", "jump". (doloop_modify): Likewise for locals "sequence", "jump_insn". From-SVN: r214342 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 505e8ed..85f98d9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2014-08-22 David Malcolm + * loop-doloop.c (doloop_valid_p): Strengthen local "insn" from rtx + to rtx_insn *. + (add_test): Likewise for locals "seq", "jump". + (doloop_modify): Likewise for locals "sequence", "jump_insn". + +2014-08-22 David Malcolm + * rtl.h (rebuild_jump_labels): Strengthen param "f" from rtx to rtx_insn *. (rebuild_jump_labels_chain): Likewise for param "chain". diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c index 0e84393..42e7f70 100644 --- a/gcc/loop-doloop.c +++ b/gcc/loop-doloop.c @@ -261,7 +261,7 @@ static bool doloop_valid_p (struct loop *loop, struct niter_desc *desc) { basic_block *body = get_loop_body (loop), bb; - rtx insn; + rtx_insn *insn; unsigned i; bool result = true; @@ -336,7 +336,8 @@ cleanup: static bool add_test (rtx cond, edge *e, basic_block dest) { - rtx seq, jump, label; + rtx_insn *seq, *jump; + rtx label; enum machine_mode mode; rtx op0 = XEXP (cond, 0), op1 = XEXP (cond, 1); enum rtx_code code = GET_CODE (cond); @@ -401,8 +402,8 @@ doloop_modify (struct loop *loop, struct niter_desc *desc, { rtx counter_reg; rtx tmp, noloop = NULL_RTX; - rtx sequence; - rtx jump_insn; + rtx_insn *sequence; + rtx_insn *jump_insn; rtx jump_label; int nonneg = 0; bool increment_count;