diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-04-21 12:46:31 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-04-21 12:46:31 -0700 |
commit | c1da1f33b7a47a10d89010fdd0d00f00d66e8512 (patch) | |
tree | 1cd362b4b4992b2ad8b86f85268e7f892319f4b3 /gcc | |
parent | 704f4dca8c96556faf91cfc44bf248e959819f8a (diff) | |
download | gcc-c1da1f33b7a47a10d89010fdd0d00f00d66e8512.zip gcc-c1da1f33b7a47a10d89010fdd0d00f00d66e8512.tar.gz gcc-c1da1f33b7a47a10d89010fdd0d00f00d66e8512.tar.bz2 |
(store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
From-SVN: r7122
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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))); |