Commit ba8a73e9 by Eric Botcazou Committed by Eric Botcazou

optabs.c (prepare_cmp_insn): Merge a couple of conditional blocks.

	* optabs.c (prepare_cmp_insn): Merge a couple of conditional blocks.
	* sched-rgn.c (compute_trg_info): Zero 'el' local variable.
	* tree-if-conv.c (process_phi_nodes): Zero 'cond' local variable.

From-SVN: r129830
parent cff75efa
2007-11-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* optabs.c (prepare_cmp_insn): Merge a couple of conditional blocks.
* sched-rgn.c (compute_trg_info): Zero 'el' local variable.
* tree-if-conv.c (process_phi_nodes): Zero 'cond' local variable.
2007-11-01 Nathan Sidwell <nathan@codesourcery.com> 2007-11-01 Nathan Sidwell <nathan@codesourcery.com>
* gcc.c (getenv_spec_function): Escape the environment variable's * gcc.c (getenv_spec_function): Escape the environment variable's
...@@ -4275,16 +4275,15 @@ prepare_cmp_insn (rtx *px, rtx *py, enum rtx_code *pcomparison, rtx size, ...@@ -4275,16 +4275,15 @@ prepare_cmp_insn (rtx *px, rtx *py, enum rtx_code *pcomparison, rtx size,
if (libfunc && !SCALAR_FLOAT_MODE_P (mode)) if (libfunc && !SCALAR_FLOAT_MODE_P (mode))
{ {
rtx result; rtx result;
rtx ulibfunc;
/* If we want unsigned, and this mode has a distinct unsigned /* If we want unsigned, and this mode has a distinct unsigned
comparison routine, use that. */ comparison routine, use that. */
if (unsignedp) if (unsignedp)
{ {
ulibfunc = optab_libfunc (ucmp_optab, mode); rtx ulibfunc = optab_libfunc (ucmp_optab, mode);
} if (ulibfunc)
if (unsignedp && ulibfunc)
libfunc = ulibfunc; libfunc = ulibfunc;
}
result = emit_library_call_value (libfunc, NULL_RTX, LCT_CONST_MAKE_BLOCK, result = emit_library_call_value (libfunc, NULL_RTX, LCT_CONST_MAKE_BLOCK,
targetm.libgcc_cmp_return_mode (), targetm.libgcc_cmp_return_mode (),
......
...@@ -1341,7 +1341,7 @@ static void ...@@ -1341,7 +1341,7 @@ static void
compute_trg_info (int trg) compute_trg_info (int trg)
{ {
candidate *sp; candidate *sp;
edgelst el; edgelst el = { NULL, 0 };
int i, j, k, update_idx; int i, j, k, update_idx;
basic_block block; basic_block block;
sbitmap visited; sbitmap visited;
......
...@@ -873,7 +873,7 @@ process_phi_nodes (struct loop *loop) ...@@ -873,7 +873,7 @@ process_phi_nodes (struct loop *loop)
/* Replace phi nodes with cond. modify expr. */ /* Replace phi nodes with cond. modify expr. */
for (i = 1; i < orig_loop_num_nodes; i++) for (i = 1; i < orig_loop_num_nodes; i++)
{ {
tree phi, cond; tree phi, cond = NULL_TREE;
block_stmt_iterator bsi; block_stmt_iterator bsi;
basic_block true_bb = NULL; basic_block true_bb = NULL;
bb = ifc_bbs[i]; bb = ifc_bbs[i];
......
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