diff options
author | Richard Stallman <rms@gnu.org> | 1993-05-15 13:59:45 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-05-15 13:59:45 +0000 |
commit | d3652c4b7f0e4ef1d1c5f37c3bedf06c5fa70423 (patch) | |
tree | b46da3802713e280ba1475e999de5d1ae7d0c4c3 /gcc | |
parent | 0c61c946496da4ee681d5d645a3353a097c2bad8 (diff) | |
download | gcc-d3652c4b7f0e4ef1d1c5f37c3bedf06c5fa70423.zip gcc-d3652c4b7f0e4ef1d1c5f37c3bedf06c5fa70423.tar.gz gcc-d3652c4b7f0e4ef1d1c5f37c3bedf06c5fa70423.tar.bz2 |
(expand_assignment): Always return a result that has the mode of TO.
From-SVN: r4468
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2197,7 +2197,8 @@ expand_assignment (to, from, want_value, suggest_reg) preserve_temp_slots (result); free_temp_slots (); - return result; + return convert_to_mode (TYPE_MODE (TREE_TYPE (to)), result, + TREE_UNSIGNED (TREE_TYPE (to))); } /* Ordinary treatment. Expand TO to get a REG or MEM rtx. |