This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65458] parloops transforms omp-thread functions
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 Mar 2015 10:14:41 +0000
- Subject: [Bug tree-optimization/65458] parloops transforms omp-thread functions
- Auto-submitted: auto-generated
- References: <bug-65458-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65458
--- Comment #4 from vries at gcc dot gnu.org ---
Author: vries
Date: Sat Mar 21 10:14:10 2015
New Revision: 221551
URL: https://gcc.gnu.org/viewcvs?rev=221551&root=gcc&view=rev
Log:
Mark omp thread functions as parallelized
2015-03-21 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/65458
* cgraph.c (cgraph_node::dump): Handle parallelized_function field.
* cgraph.h (cgraph_node): Add parallelized_function field.
* lto-cgraph.c (lto_output_node): Write parallelized_function field.
(input_overwrite_node): Read parallelized_function field.
* omp-low.c (expand_omp_taskreg, finalize_task_copyfn): Set
parallelized_function on cgraph_node for child_fn.
* tree-parloops.c: Add include of plugin-api.h, ipa-ref.h and cgraph.h.
Remove include of gt-tree-parloops.h.
(parallelized_functions): Remove static variable.
(parallelized_function_p): Rewrite using parallelized_function field of
cgraph_node.
(create_loop_fn): Remove adding to parallelized_functions.
* Makefile.in (GTFILES): Remove tree-parloops.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/cgraph.c
trunk/gcc/cgraph.h
trunk/gcc/lto-cgraph.c
trunk/gcc/omp-low.c
trunk/gcc/tree-parloops.c