PR c++/48869
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 May 2011 07:44:31 +0000 (07:44 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 May 2011 07:44:31 +0000 (07:44 +0000)
commit9b222de3a0e0062888a63309ac91d84bc5103bbf
tree6ab10bfd313ec6b9af503559d01810292772524a
parent0b38bfa5aaddce3adc402bb8123377cb4350f4b7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173888 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/cp-gimplify.c
gcc/cp/cp-tree.h
gcc/cp/method.c
gcc/cp/semantics.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr48869.C [new file with mode: 0644]