diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-01 20:48:21 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-01 20:48:21 +0000 |
commit | 91020a82f72c0de2c55a0993ab4b6db0e0d3d9e3 (patch) | |
tree | c521a2325484fc07839b4f36549ebd5b631375cc /gcc/optabs.c | |
parent | f25fbea3e8383d8fe8258c5ce42402d45e84bd4c (diff) | |
download | gcc-91020a82f72c0de2c55a0993ab4b6db0e0d3d9e3.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129830 138bc75d-0d04-0410-961f-82ee72b054a4
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 3344b2cfa66..69177962b53 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 (), |