From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29764 invoked by alias); 20 Jun 2008 02:19:38 -0000 Received: (qmail 29668 invoked by alias); 20 Jun 2008 02:18:54 -0000 Date: Fri, 20 Jun 2008 02:19:00 -0000 Message-ID: <20080620021854.29667.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/36523] OpenMP task construct fails to instantiate copy constructor In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-06/txt/msg01168.txt.bz2 ------- 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