diff options
author | Steve Ellcey <sje@cup.hp.com> | 2002-10-24 19:52:23 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2002-10-24 19:52:23 +0000 |
commit | 37d0b2542c64215ed63cbec9099a4371bb9cd27e (patch) | |
tree | 1f592b3ca7b6663dc617bef0e74db2e4b09322ba /gcc/expr.c | |
parent | 107826540685545e00a55d3af1f5cecc93d3209b (diff) | |
download | gcc-37d0b2542c64215ed63cbec9099a4371bb9cd27e.zip gcc-37d0b2542c64215ed63cbec9099a4371bb9cd27e.tar.gz gcc-37d0b2542c64215ed63cbec9099a4371bb9cd27e.tar.bz2 |
expr.c (convert_move): If unsignedp is less then zero there is no equivalent code.
* expr.c (convert_move): If unsignedp is less then zero there
is no equivalent code.
From-SVN: r58502
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -552,7 +552,8 @@ convert_move (to, from, unsignedp) rtx libcall; /* rtx code for making an equivalent value. */ - enum rtx_code equiv_code = (unsignedp ? ZERO_EXTEND : SIGN_EXTEND); + enum rtx_code equiv_code = (unsignedp < 0 ? UNKNOWN + : (unsignedp ? ZERO_EXTEND : SIGN_EXTEND)); to = protect_from_queue (to, 1); from = protect_from_queue (from, 0); |