aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-07-19 11:53:20 -0700
committerRichard Henderson <rth@gcc.gnu.org>2012-07-19 11:53:20 -0700
commitdee54b6eb05fb873147a6a6c6156b23f4e322214 (patch)
tree7c4d1ae7f8cde8bfd2a09299f13e05bb8dba41ec /gcc/expr.c
parent99091b70396fb846ec17a996a658516707ddfef9 (diff)
downloadgcc-dee54b6eb05fb873147a6a6c6156b23f4e322214.zip
gcc-dee54b6eb05fb873147a6a6c6156b23f4e322214.tar.gz
gcc-dee54b6eb05fb873147a6a6c6156b23f4e322214.tar.bz2
Fix 0 != CODE_FOR_nothing thinko
* expr.c (store_constructor): Initialize icode with CODE_FOR_nothing. * tree-vect-stmts.c (vectorizable_operation): Use LAST_INSN_CODE for dummy != CODE_FOR_nothing value. From-SVN: r189672
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 5aec53e..9650863 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -6130,7 +6130,7 @@ store_constructor (tree exp, rtx target, int cleared, HOST_WIDE_INT size)
constructor_elt *ce;
int i;
int need_to_clear;
- int icode = 0;
+ int icode = CODE_FOR_nothing;
tree elttype = TREE_TYPE (type);
int elt_size = tree_low_cst (TYPE_SIZE (elttype), 1);
enum machine_mode eltmode = TYPE_MODE (elttype);