Message ID | BF230D13CA30DD48930C31D4099330003A426629@FMSMSX101.amr.corp.intel.com |
---|---|
State | New |
Headers | show |
On 05/20/13 14:34, Iyer, Balaji V wrote: > Hello Aldy, I have moved a couple prototypes from c-tree.h to > c-family/c-common.h. This way I can use the same function for the C++ > implementation. Here is a patch. > OK for branch.
> -----Original Message----- > From: Aldy Hernandez [mailto:aldyh@redhat.com] > Sent: Tuesday, May 21, 2013 8:14 AM > To: Iyer, Balaji V > Cc: gcc-patches; Jakub Jelinek > Subject: Re: [gomp4/cilkplus] C parsing for Cilk Plus <#pragma simd> > > On 05/20/13 14:34, Iyer, Balaji V wrote: > > Hello Aldy, I have moved a couple prototypes from c-tree.h to > > c-family/c-common.h. This way I can use the same function for the C++ > > implementation. Here is a patch. > > > > OK for branch. The patch is comitted. Thanks, Balaji V. Iyer.
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index 78ace77..c96c6f1 100644 --- a/gcc/c-family/c-common.h +++ b/gcc/c-family/c-common.h @@ -521,6 +521,11 @@ struct GTY(()) c_language_function { #define building_stmt_list_p() (stmt_list_stack && !stmt_list_stack->is_empty()) +/* In c-cilkplus.c */ +extern tree c_finish_cilk_simd_loop (location_t, tree, tree, tree, tree, + tree, tree); +extern tree c_finish_cilk_clauses (tree); + /* Language-specific hooks. */ /* If non-NULL, this function is called after a precompile header file diff --git a/gcc/c/c-tree.h b/gcc/c/c-tree.h index 84471db..356bd6c 100644 --- a/gcc/c/c-tree.h +++ b/gcc/c/c-tree.h @@ -647,10 +647,6 @@ extern tree c_build_va_arg (location_t, tree, tree); extern tree c_finish_transaction (location_t, tree, int); extern bool c_tree_equal (tree, tree); -/* In c-cilkplus.c */ -extern tree c_finish_cilk_simd_loop (location_t, tree, tree, tree, tree, - tree, tree); -extern tree c_finish_cilk_clauses (tree); /* Set to 0 at beginning of a function definition, set to 1 if a return statement that specifies a return value is seen. */