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] |
On 10/17/2013 11:15 AM, Jakub Jelinek wrote:
It should be static now since it is no longer exported outside the file... and can't be now that struct omp_region is declared in omp-low.c*************** struct omp_for_data *** 135,141 **** static splay_tree all_contexts; static int taskreg_nesting_level; static int target_nesting_level; ! struct omp_region *root_omp_region; static bitmap task_shared_vars;static void scan_omp (gimple_seq *, omp_context *);--- 175,181 ---- static splay_tree all_contexts; static int taskreg_nesting_level; static int target_nesting_level; ! static struct omp_region *root_omp_region; static bitmap task_shared_vars;static void scan_omp (gimple_seq *, omp_context *);Why?
again, because it is no longer an exported function... only tree-cfg.c::make_edges needed it, and it no longer does.--- 912,917 ---- *************** debug_all_omp_regions (void) *** 1219,1225 ****/* Create a new parallel region starting at STMT inside region PARENT. */ ! struct omp_region *new_omp_region (basic_block bb, enum gimple_code type, struct omp_region *parent) { --- 1238,1244 ----/* Create a new parallel region starting at STMT inside region PARENT. */ ! static struct omp_region *new_omp_region (basic_block bb, enum gimple_code type, struct omp_region *parent) {Likewise.
Thanks. Andrew
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |