===================================================================
@@ -19548,6 +19548,12 @@
static void
dwarf2out_function_decl (tree decl)
{
+ if (flag_enable_cilk && decl && TREE_CODE (decl) == FUNCTION_DECL)
+ {
+ function *f = DECL_STRUCT_FUNCTION (decl);
+ if (f && f->is_cilk_helper_function)
+ return; /* can't do debuging output for spawn helper */
+ }
dwarf2out_decl (decl);
call_arg_locations = NULL;
call_arg_loc_last = NULL;
===================================================================
@@ -1,3 +1,7 @@
+2012-06-15 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * dwarf2out.c (dwarf2out_function_decl): Added a check for spawn helper.
+
2012-06-15 Balaji V. Iyer <balaji.v.iyer@intel.com>
* cilk.c (install_builtin): Added a check if pushdecl is successful.