Commit a0169320 by Jiong Wang Committed by Jiong Wang

PR63442 libgcc_cmp_return_mode not always return word_mode

gcc/
  PR target/63442
  * optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".

From-SVN: r216765
parent 949bba26
2014-10-27 Jiong Wang <jiong.wang@arm.com>
PR target/63442
* optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".
2014-10-27 DJ Delorie <dj@redhat.com>
* tree.c (build_common_tree_nodes): Don't even store the
......@@ -4294,7 +4294,7 @@ prepare_cmp_insn (rtx x, rtx y, enum rtx_code comparison, rtx size,
y = const0_rtx;
}
*pmode = word_mode;
*pmode = ret_mode;
prepare_cmp_insn (x, y, comparison, NULL_RTX, unsignedp, methods,
ptest, pmode);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment