]> gcc.gnu.org Git - gcc.git/commit
re PR c++/36523 (OpenMP task construct fails to instantiate copy constructor)
authorJakub Jelinek <jakub@redhat.com>
Fri, 20 Jun 2008 02:18:07 +0000 (04:18 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Jun 2008 02:18:07 +0000 (04:18 +0200)
commit2368a460c8d49c4d9aa1aab2b79d6727d19f5b2c
treef28feb4e7a51182a0bf7d4ca97a21a4def2af406
parentc598874b4bc7d816b81b8f839f75029122e4fe92
re PR c++/36523 (OpenMP task construct fails to instantiate copy constructor)

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.

From-SVN: r136977
gcc/ChangeLog
gcc/cgraphbuild.c
gcc/cgraphunit.c
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/task-7.C [new file with mode: 0644]
This page took 0.061451 seconds and 5 git commands to generate.