This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36523] OpenMP task construct fails to instantiate copy constructor
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2008 02:18:54 -0000
- Subject: [Bug c++/36523] OpenMP task construct fails to instantiate copy constructor
- References: <bug-36523-15092@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jakub at gcc dot gnu dot org 2008-06-20 02:18 -------
Subject: Bug 36523
Author: jakub
Date: Fri Jun 20 02:18:07 2008
New Revision: 136977
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136977
Log:
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.
Added:
trunk/libgomp/testsuite/libgomp.c++/task-7.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphbuild.c
trunk/gcc/cgraphunit.c
trunk/gcc/omp-low.c
trunk/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36523