(store_expr): Don't check the TYPE_MODE of an ERROR_MARK.

From-SVN: r7122
This commit is contained in:
Jim Wilson 1994-04-21 12:46:31 -07:00
parent 704f4dca8c
commit c1da1f33b7
1 changed files with 1 additions and 0 deletions

View File

@ -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)));