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