Commit 09489eb8 by Tom de Vries Committed by Tom de Vries

Make parallelize_loops static

2015-03-18  Tom de Vries  <tom@codesourcery.com>

	* tree-parloops.c (parallelize_loops): Make static.
	* tree-parloops.h (parallelize_loops): Remove extern declaration.

From-SVN: r221498
parent 168ad5f5
2015-03-18 Tom de Vries <tom@codesourcery.com>
* tree-parloops.c (parallelize_loops): Make static.
* tree-parloops.h (parallelize_loops): Remove extern declaration.
2015-03-18 Andrew Stubbs <ams@codesourcery.com> 2015-03-18 Andrew Stubbs <ams@codesourcery.com>
PR middle-end/64491 PR middle-end/64491
......
...@@ -2153,7 +2153,7 @@ try_create_reduction_list (loop_p loop, ...@@ -2153,7 +2153,7 @@ try_create_reduction_list (loop_p loop,
primitives. Returns true if some loop was parallelized, false primitives. Returns true if some loop was parallelized, false
otherwise. */ otherwise. */
bool static bool
parallelize_loops (void) parallelize_loops (void)
{ {
unsigned n_threads = flag_tree_parallelize_loops; unsigned n_threads = flag_tree_parallelize_loops;
......
...@@ -21,6 +21,5 @@ along with GCC; see the file COPYING3. If not see ...@@ -21,6 +21,5 @@ along with GCC; see the file COPYING3. If not see
#define GCC_TREE_PARLOOPS_H #define GCC_TREE_PARLOOPS_H
extern bool parallelized_function_p (tree); extern bool parallelized_function_p (tree);
extern bool parallelize_loops (void);
#endif /* GCC_TREE_PARLOOPS_H */ #endif /* GCC_TREE_PARLOOPS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment