diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-20 02:18:07 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-20 02:18:07 +0000 |
commit | f6430caa19263f035c754f96bd305e652bafc895 (patch) | |
tree | f28feb4e7a51182a0bf7d4ca97a21a4def2af406 /gcc/cgraphunit.c | |
parent | 69788d047c55eb200084ab4b27e4097ceb213bfa (diff) | |
download | gcc-f6430caa19263f035c754f96bd305e652bafc895.tar.gz |
PR c++/36523
* cgraphunit.c (cgraph_process_new_functions): Don't clear
node->needed and node->reachable.
* cgraphbuild.c (record_reference): Handle OMP_PARALLEL and OMP_TASK.
* omp-low.c (delete_omp_context): Call finalize_task_copyfn.
(expand_task_call): Don't call expand_task_copyfn.
(expand_task_copyfn): Renamed to...
(finalize_task_copyfn): ... this.
* testsuite/libgomp.c++/task-7.C: New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136977 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 6b00bd59c41..2dcccc1bd93 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -443,7 +443,6 @@ cgraph_process_new_functions (void) it into reachable functions list. */ node->next_needed = NULL; - node->needed = node->reachable = false; cgraph_finalize_function (fndecl, false); cgraph_mark_reachable_node (node); output = true; |