From: Tom de Vries Date: Wed, 18 Mar 2015 18:55:38 +0000 (+0000) Subject: Make parallelize_loops static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09489eb80cc882378861274254371c5faaf137b4;p=gcc.git Make parallelize_loops static 2015-03-18 Tom de Vries * tree-parloops.c (parallelize_loops): Make static. * tree-parloops.h (parallelize_loops): Remove extern declaration. From-SVN: r221498 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a447690324f..39b2d17b41f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-03-18 Tom de Vries + + * tree-parloops.c (parallelize_loops): Make static. + * tree-parloops.h (parallelize_loops): Remove extern declaration. + 2015-03-18 Andrew Stubbs PR middle-end/64491 diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index fbb9eebddcf..a5844602659 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -2153,7 +2153,7 @@ try_create_reduction_list (loop_p loop, primitives. Returns true if some loop was parallelized, false otherwise. */ -bool +static bool parallelize_loops (void) { unsigned n_threads = flag_tree_parallelize_loops; diff --git a/gcc/tree-parloops.h b/gcc/tree-parloops.h index 32564469421..d71f0a4e55b 100644 --- a/gcc/tree-parloops.h +++ b/gcc/tree-parloops.h @@ -21,6 +21,5 @@ along with GCC; see the file COPYING3. If not see #define GCC_TREE_PARLOOPS_H extern bool parallelized_function_p (tree); -extern bool parallelize_loops (void); #endif /* GCC_TREE_PARLOOPS_H */