From: sje Date: Thu, 24 Oct 2002 19:52:23 +0000 (+0000) Subject: * expr.c (convert_move): If unsignedp is less then zero there X-Git-Tag: upstream/4.9.2~83729 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6592344549a5661aaa4ed91c7b129bfe914d8438;p=platform%2Fupstream%2Flinaro-gcc.git * expr.c (convert_move): If unsignedp is less then zero there is no equivalent code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58502 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f01b18..9b2cb93 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-24 Steve Ellcey + + * expr.c (convert_move): If unsignedp is less then zero there + is no equivalent code. + 2002-10-24 Zack Weinberg * tree.def: Delete mention of nonexistent ARRAY_TYPE fields. diff --git a/gcc/expr.c b/gcc/expr.c index a676b38..5a14d7e 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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);