Hello Everyone, This patch is for the Cilkplus branch affecting both C and C++ compilers. This patch will make the cilkrts_stack_frame struct independent of the runtime.
Thanking You, Yours Sincerely, Balaji V. Iyer.
Index: gcc/cilk.c =================================================================== --- gcc/cilk.c (revision 188393) +++ gcc/cilk.c (working copy) @@ -165,7 +165,7 @@ TYPE_ALIGN (frame) = PREFERRED_STACK_BOUNDARY; TREE_ADDRESSABLE (frame) = 1; /* XXX Is this right? */ - finish_builtin_struct (frame, "__cilkrts_stack_frame", fields, NULL_TREE); + finish_builtin_struct (frame, "__cilkrts_stack_frame_GCC", fields, NULL_TREE); /* XXX C++ only SET_CLASS_TYPE_P(record, 1); */ /* XXX C++ only xref_basetypes (record, NULL_TREE); */ cilk_frame_type_decl = frame; Index: gcc/ChangeLog.cilk =================================================================== --- gcc/ChangeLog.cilk (revision 188393) +++ gcc/ChangeLog.cilk (working copy) @@ -1,3 +1,8 @@ +2012-06-11 Balaji V. Iyer <balaji.v.i...@intel.com> + + * cilk.c (cilk_init_builtins): Made the stack frame structure runtime + independent. + 2012-06-05 Balaji V. Iyer <balaji.v.i...@intel.com> * cilk-spawn.c (compute_loop_var): Removed an unwanted assert.