This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch follows on from https://gcc.gnu.org/ml/gcc-patches/2015-12/msg02142.html As discussed, it creates a separate function cilk_cp_detect_spawn_and_unwrap in gcc/cp to handle processing cilk_spawn expressions for c++ and adds support for implicit constructor and type conversions. Bootstrapped and regression tested on x86_64-linux. gcc/c-family/ChangeLog: 2015-01-20 Ryan Burn <contact@rnburn.com> PR c++/69024 PR c++/68997 * cilk.c (cilk_ignorable_spawn_rhs_op): Change to have external linkage. * cilk.c (recognize_spawn): Rename to cilk_recognize_spawn. Change to have external linkage. * cilk.c (cilk_detect_and_unwrap): Rename to recognize_spawn to cilk_recognize_spawn. * cilk.c (extract_free_variables): Don't extract free variables from AGGR_INIT_EXPR slot. gcc/cp/ChangeLog 2015-01-20 Ryan Burn <contact@rnburn.com> PR c++/69024 PR c++/68997 * cp-gimplify.c (cp_gimplify_expr): Call cilk_cp_detect_spawn_and_unwrap instead of cilk_detect_spawn_and_unwrap. * cp-cilkplus.c (is_conversion_operator_function_decl_p): New. * cp-cilkplus.c (find_spawn): New. * cp-cilkplus.c (cilk_cp_detect_spawn_and_unwrap): New. gcc/testsuite/ChangeLog 2015-01-20 Ryan Burn <contact@rnburn.com> PR c++/69024 PR c++/68997 * g++.dg/cilk-plus/CK/pr68001.cc: Fix to not depend on broken diagnostic. * g++.dg/cilk-plus/CK/pr69024.cc: New test. * g++.dg/cilk-plus/CK/pr68997.cc: New test.
Attachment:
cilk3.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |