===================================================================
@@ -452,7 +452,7 @@
if (warn_unused_parameter)
do_warn_unused_parameter (decl);
- if (!nested)
+ if (!nested && !flag_enable_cilk)
ggc_collect ();
if (cgraph_state == CGRAPH_STATE_CONSTRUCTION
===================================================================
@@ -276,7 +276,6 @@
append_to_statement_list (entry, &stmt_list);
append_to_statement_list (exit, &stmt_list);
finish_bc_block (&stmt_list, bc_break, blab);
- append_to_statement_list (reset_stmt_list, &stmt_list);
if (stmt_list == NULL_TREE)
stmt_list = build1 (NOP_EXPR, void_type_node, integer_zero_node);
===================================================================
@@ -1,3 +1,7 @@
+2012-07-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * cp-gimplify.c (genericize_cp_loop): Removed adding the reset stmt.
+
2012-06-26 Balaji V. Iyer <balaji.v.iyer@intel.com>
* parser.c (cp_parser_pragma): Fixed a bug by calling linear instead of
===================================================================
@@ -2286,7 +2286,7 @@
compute_loop_var (struct cilk_for_desc *cfd, tree loop_var, tree lower_bound)
{
tree incr = cfd->incr;
- tree count_type = cfd->count_type;
+ tree count_type = TREE_TYPE (loop_var);
tree scaled, adjusted;
int incr_sign = cfd->incr_sign;
enum tree_code add_op = incr_sign >= 0 ? PLUS_EXPR : MINUS_EXPR;
===================================================================
@@ -1,3 +1,10 @@
+2012-07-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * cilk-spawn.c (compute_loop_var): Changed count_type from the struct
+ value to the type of the loop variable.
+ * cgraphunit.c (cgraph_finalize_function): Added a check for cilk flag
+ not being enabled.
+
2012-06-27 Balaji V. Iyer <balaji.v.iyer@intel.com>
* tree-vect-stmts.c (vectorizable_call): No need to bail out. Some