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
This commit is contained in:
Tom de Vries 2015-03-18 18:55:38 +00:00 committed by Tom de Vries
parent 168ad5f5e3
commit 09489eb80c
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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>
PR middle-end/64491

View File

@ -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;

View File

@ -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 */