On Fri, Sep 9, 2011 at 8:37 AM, Iyer, Balaji V <balaji.v.i...@intel.com> wrote: > Here is a fixed patch with all the changes you have requested.
diff --git a/gcc/ChangeLog.cilk b/gcc/ChangeLog.cilk index 8880b0a..299febb 100644 --- a/gcc/ChangeLog.cilk +++ b/gcc/ChangeLog.cilk @@ -2,6 +2,9 @@ * gimplify.c (gimplify_call_expr): Removed if (SPAWN_CALL_P (*expr)) statement. + * tree.c (walk_tree_1): Added "case CILK_FOR_STMT:". + * tree.h (CILK_FOR_VAR): Changed TREE_OPERAND(..., 4) to + TREE_OPERAND(..., 5). Please use a separate ChangeLog entry. + * g++.dg/cilk-plus/template_cilk_for_plus_equal.cpp: New. Likewise. 2011-09-06 Balaji V. Iyer <balaji.v.i...@intel.com> diff --git a/gcc/cp/ChangeLog.cilk b/gcc/cp/ChangeLog.cilk index b49f3bf..4c54dc6 100644 --- a/gcc/cp/ChangeLog.cilk +++ b/gcc/cp/ChangeLog.cilk @@ -1,3 +1,10 @@ +2011-09-08 Balaji V. Iyer <balaji.v.i...@intel.com> + + * cp-tree.h (FOR_SCOPE): Changed FOR_STMT_CHECK to FOR_STMT_CHECK2 + * cilk.c (check_incr): Added a check for variable entity name match, not just + var. Removed the assert to check if operand 0 is the variable. + (cp_extract_for_fields): Likewise. + Please limit to 72 columns. -- H.J.