[Bug c++/48869] [4.5/4.6/4.7 Regression] OpenMP task construct fails to instantiate copy constructor(same as Bug 36523)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 19 08:16:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-19 07:44:35 UTC ---
Author: jakub
Date: Thu May 19 07:44:31 2011
New Revision: 173888
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173888
Log:
PR c++/48869
* method.c (get_dtor, get_copy_ctor): Add COMPLAIN argument,
pass it down to locate_fn_flags.
* cp-tree.h (get_dtor, get_copy_ctor): Adjust prototypes.
* semantics.c (cxx_omp_create_clause_info): Adjust callers.
* cp-gimplify.c: Include splay-tree.h.
(splay_tree_compare_decl_uid, omp_var_to_track,
omp_cxx_notice_variable): New functions.
(struct cp_genericize_omp_taskreg): New type.
(struct cp_genericize_data): Add omp_ctx field.
(cp_genericize_r): Attempt to determine implicitly determined
firstprivate class type variables.
(cp_genericize): Clear omp_ctx.
* Make-lang.in (cp/cp-gimplify.o): Depend on $(SPLAY_TREE_H).
* testsuite/libgomp.c++/pr48869.C: New test.
Added:
trunk/libgomp/testsuite/libgomp.c++/pr48869.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/Make-lang.in
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/method.c
trunk/gcc/cp/semantics.c
trunk/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list