projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704f4dc
)
(store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
author
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 21 Apr 1994 19:46:31 +0000
(12:46 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 21 Apr 1994 19:46:31 +0000
(12:46 -0700)
From-SVN: r7122
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 5407bf8489816fb84c3bbc266dbb1ce771e66884..7f04af40ad89175767bc803097d0f4b8817da4a4 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-2641,6
+2641,7
@@
store_expr (exp, target, want_value)
example, in case it is a CONST_DOUBLE and we want only a word-sized
value. */
if (CONSTANT_P (temp) && GET_MODE (temp) == VOIDmode
+ && TREE_CODE (exp) != ERROR_MARK
&& GET_MODE (target) != TYPE_MODE (TREE_TYPE (exp)))
temp = convert_modes (GET_MODE (target), TYPE_MODE (TREE_TYPE (exp)),
temp, TREE_UNSIGNED (TREE_TYPE (exp)));