projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c61c94
)
(expand_assignment): Always return a result that has the mode of TO.
author
Richard Stallman
<rms@gnu.org>
Sat, 15 May 1993 13:59:45 +0000
(13:59 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 15 May 1993 13:59:45 +0000
(13:59 +0000)
From-SVN: r4468
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 546555c5e7fa518d084d4b3367de59a5960b9948..c97e4c74d759508cbe1250417f83fad08e7c493a 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-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.