diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2007-11-01 21:48:21 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-11-01 20:48:21 +0000 |
commit | ba8a73e9fb98db2eb3abd060227f56cba46c22e1 (patch) | |
tree | c521a2325484fc07839b4f36549ebd5b631375cc /gcc/optabs.c | |
parent | cff75efa571c7f06ee556bf99a9ce8d3a3d7a67a (diff) | |
download | gcc-ba8a73e9fb98db2eb3abd060227f56cba46c22e1.zip gcc-ba8a73e9fb98db2eb3abd060227f56cba46c22e1.tar.gz gcc-ba8a73e9fb98db2eb3abd060227f56cba46c22e1.tar.bz2 |
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
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 3344b2c..6917796 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -4275,16 +4275,15 @@ prepare_cmp_insn (rtx *px, rtx *py, enum rtx_code *pcomparison, rtx size, if (libfunc && !SCALAR_FLOAT_MODE_P (mode)) { rtx result; - rtx ulibfunc; /* If we want unsigned, and this mode has a distinct unsigned comparison routine, use that. */ if (unsignedp) { - ulibfunc = optab_libfunc (ucmp_optab, mode); + rtx ulibfunc = optab_libfunc (ucmp_optab, mode); + if (ulibfunc) + libfunc = ulibfunc; } - if (unsignedp && ulibfunc) - libfunc = ulibfunc; result = emit_library_call_value (libfunc, NULL_RTX, LCT_CONST_MAKE_BLOCK, targetm.libgcc_cmp_return_mode (), |