This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][Cilkplus] Patch to fix Template type inside cilk_for


On Fri, Sep 9, 2011 at 11:56 AM, Iyer, Balaji V <balaji.v.iyer@intel.com> wrote:
> Ok, fixed all the changes you mentioned. Here is the patch.
>
> Thanks,
>

Please provide a patch against the current branch since your patch
won't apply.

-	* gimplify.c (gimplify_call_expr): Removed if (SPAWN_CALL_P (*expr))
-	statement.
+	* gimplify.c (gimplify_call_expr): Removed if
+	(SPAWN_CALL_P (*expr)) statement.

Please use a separate patch to change existing ChangeLog entries.

+    case CILK_FOR_STMT:
+      {
+	WALK_SUBTREE (CILK_FOR_INIT (*tp));
+	WALK_SUBTREE (FOR_COND (*tp));
+	WALK_SUBTREE (FOR_EXPR (*tp));
+	WALK_SUBTREE (FOR_BODY (*tp));
+	WALK_SUBTREE (CILK_FOR_GRAIN (*tp));
+	WALK_SUBTREE (CILK_FOR_VAR (*tp));
+      }
+      break;
+

Please remove extra {}.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]