2014-02-12 Thomas Schwinge <thomas@codesourcery.com>
+ * omp-low.c (lower_omp_target): Add clobber for sizes array, after
+ last use.
+
* omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
dereference.
TREE_VEC_ELT (t, 1)),
&initlist, true, NULL_TREE);
gimple_seq_add_seq (&ilist, initlist);
+
+ tree clobber = build_constructor (TREE_TYPE (TREE_VEC_ELT (t, 1)),
+ NULL);
+ TREE_THIS_VOLATILE (clobber) = 1;
+ gimple_seq_add_stmt (&olist,
+ gimple_build_assign (TREE_VEC_ELT (t, 1),
+ clobber));
}
tree clobber = build_constructor (ctx->record_type, NULL);