diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6867b771282c10f8f2863e96058aba6fc4b028a..d318c0e9fb47f9afeefa9e8694d7b6c67e92c402 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,336 @@ +2023-06-12 Jeff Law <jlaw@ventanamicro.com> + + PR rtl-optimization/101188 + * postreload.cc (reload_cse_move2add_invalidate): New function, + extracted from... + (reload_cse_move2add): Call reload_cse_move2add_invalidate. + +2023-06-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> + + * config/aarch64/aarch64.cc (aarch64_expand_vector_init): Tweak condition + if (n_var == n_elts && n_elts <= 16) to allow a single constant, + and if maxv == 1, use constant element for duplicating into register. + +2023-06-12 Tobias Burnus <tobias@codesourcery.com> + + * gimplify.cc (gimplify_adjust_omp_clauses_1): Use + GOMP_MAP_FORCE_PRESENT for 'present alloc' implicit mapping. + (gimplify_adjust_omp_clauses): Change + GOMP_MAP_PRESENT_{TO,TOFROM,FROM,ALLOC} to the equivalent + GOMP_MAP_FORCE_PRESENT. + * omp-low.cc (lower_omp_target): Remove handling of no-longer valid + GOMP_MAP_PRESENT_{TO,TOFROM,FROM,ALLOC}; update map kinds used for + to/from clauses with present modifier. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + PR tree-optimization/110205 + * range-op-float.cc (range_operator::fold_range): Add default FII + fold routine. + * range-op-mixed.h (class operator_gt): Add missing final overrides. + * range-op.cc (range_op_handler::fold_range): Add RO_FII case. + (operator_lshift ::update_bitmask): Add final override. + (operator_rshift ::update_bitmask): Add final override. + * range-op.h (range_operator::fold_range): Add FII prototype. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-op.cc (gimple_range_op_handler::maybe_non_standard): + Use range_op_handler directly. + * range-op.cc (range_op_handler::range_op_handler): Unsigned + param instead of tree-code. + (ptr_op_widen_plus_signed): Delete. + (ptr_op_widen_plus_unsigned): Delete. + (ptr_op_widen_mult_signed): Delete. + (ptr_op_widen_mult_unsigned): Delete. + (range_op_table::initialize_integral_ops): Add new opcodes. + * range-op.h (range_op_handler): Use unsigned. + (OP_WIDEN_MULT_SIGNED): New. + (OP_WIDEN_MULT_UNSIGNED): New. + (OP_WIDEN_PLUS_SIGNED): New. + (OP_WIDEN_PLUS_UNSIGNED): New. + (RANGE_OP_TABLE_SIZE): New. + (range_op_table::operator []): Use unsigned. + (range_op_table::set): Use unsigned. + (m_range_tree): Make unsigned. + (ptr_op_widen_mult_signed): Remove. + (ptr_op_widen_mult_unsigned): Remove. + (ptr_op_widen_plus_signed): Remove. + (ptr_op_widen_plus_unsigned): Remove. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-op.cc (gimple_range_op_handler): Set m_operator + manually as there is no access to the default operator. + (cfn_copysign::fold_range): Don't check for validity. + (cfn_ubsan::fold_range): Ditto. + (gimple_range_op_handler::maybe_builtin_call): Don't set to NULL. + * range-op.cc (default_operator): New. + (range_op_handler::range_op_handler): Use default_operator + instead of NULL. + (range_op_handler::operator bool): Move from header, compare + against default operator. + (range_op_handler::range_op): New. + * range-op.h (range_op_handler::operator bool): Move. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op.cc (unified_table): Delete. + (range_op_table operator_table): Instantiate. + (range_op_table::range_op_table): Rename from unified_table. + (range_op_handler::range_op_handler): Use range_op_table. + * range-op.h (range_op_table::operator []): Inline. + (range_op_table::set): Inline. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * gimple-range-gori.cc (gori_compute::condexpr_adjust): Do not + pass type. + * gimple-range-op.cc (get_code): Rename from get_code_and_type + and simplify. + (gimple_range_op_handler::supported_p): No need for type. + (gimple_range_op_handler::gimple_range_op_handler): Ditto. + (cfn_copysign::fold_range): Ditto. + (cfn_ubsan::fold_range): Ditto. + * ipa-cp.cc (ipa_vr_operation_and_type_effects): Ditto. + * ipa-fnsummary.cc (evaluate_conditions_for_known_args): Ditto. + * range-op-float.cc (operator_plus::op1_range): Ditto. + (operator_mult::op1_range): Ditto. + (range_op_float_tests): Ditto. + * range-op.cc (get_op_handler): Remove. + (range_op_handler::set_op_handler): Remove. + (operator_plus::op1_range): No need for type. + (operator_minus::op1_range): Ditto. + (operator_mult::op1_range): Ditto. + (operator_exact_divide::op1_range): Ditto. + (operator_cast::op1_range): Ditto. + (perator_bitwise_not::fold_range): Ditto. + (operator_negate::fold_range): Ditto. + * range-op.h (range_op_handler::range_op_handler): Remove type param. + (range_cast): No need for type. + (range_op_table::operator[]): Check for enum_code >= 0. + * tree-data-ref.cc (compute_distributive_range): No need for type. + * tree-ssa-loop-unswitch.cc (unswitch_predicate): Ditto. + * value-query.cc (range_query::get_tree_range): Ditto. + * value-relation.cc (relation_oracle::validate_relation): Ditto. + * vr-values.cc (range_of_var_in_loop): Ditto. + (simplify_using_ranges::fold_cond_with_ops): Ditto. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (operator_max): Remove final. + * range-op-ptr.cc (pointer_table::pointer_table): Remove MAX_EXPR. + (pointer_table::pointer_table): Remove. + (class hybrid_max_operator): New. + (range_op_table::initialize_pointer_ops): Add hybrid_max_operator. + * range-op.cc (pointer_tree_table): Remove. + (unified_table::unified_table): Comment out MAX_EXPR. + (get_op_handler): Remove check of pointer table. + * range-op.h (class pointer_table): Remove. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (operator_min): Remove final. + * range-op-ptr.cc (pointer_table::pointer_table): Remove MIN_EXPR. + (class hybrid_min_operator): New. + (range_op_table::initialize_pointer_ops): Add hybrid_min_operator. + * range-op.cc (unified_table::unified_table): Comment out MIN_EXPR. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (operator_bitwise_or): Remove final. + * range-op-ptr.cc (pointer_table::pointer_table): Remove BIT_IOR_EXPR. + (class hybrid_or_operator): New. + (range_op_table::initialize_pointer_ops): Add hybrid_or_operator. + * range-op.cc (unified_table::unified_table): Comment out BIT_IOR_EXPR. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (operator_bitwise_and): Remove final. + * range-op-ptr.cc (pointer_table::pointer_table): Remove BIT_AND_EXPR. + (class hybrid_and_operator): New. + (range_op_table::initialize_pointer_ops): Add hybrid_and_operator. + * range-op.cc (unified_table::unified_table): Comment out BIT_AND_EXPR. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * Makefile.in (OBJS): Add range-op-ptr.o. + * range-op-mixed.h (update_known_bitmask): Move prototype here. + (minus_op1_op2_relation_effect): Move prototype here. + (wi_includes_zero_p): Move function to here. + (wi_zero_p): Ditto. + * range-op.cc (update_known_bitmask): Remove static. + (wi_includes_zero_p): Move to header. + (wi_zero_p): Move to header. + (minus_op1_op2_relation_effect): Remove static. + (operator_pointer_diff): Move class and routines to range-op-ptr.cc. + (pointer_plus_operator): Ditto. + (pointer_min_max_operator): Ditto. + (pointer_and_operator): Ditto. + (pointer_or_operator): Ditto. + (pointer_table): Ditto. + (range_op_table::initialize_pointer_ops): Ditto. + * range-op-ptr.cc: New. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (class operator_max): Move from... + * range-op.cc (unified_table::unified_table): Add MAX_EXPR. + (get_op_handler): Remove the integral table. + (class operator_max): Move from here. + (integral_table::integral_table): Delete. + * range-op.h (class integral_table): Delete. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (class operator_min): Move from... + * range-op.cc (unified_table::unified_table): Add MIN_EXPR. + (class operator_min): Move from here. + (integral_table::integral_table): Remove MIN_EXPR. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (class operator_bitwise_or): Move from... + * range-op.cc (unified_table::unified_table): Add BIT_IOR_EXPR. + (class operator_bitwise_or): Move from here. + (integral_table::integral_table): Remove BIT_IOR_EXPR. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (class operator_bitwise_and): Move from... + * range-op.cc (unified_table::unified_table): Add BIT_AND_EXPR. + (get_op_handler): Check for a pointer table entry first. + (class operator_bitwise_and): Move from here. + (integral_table::integral_table): Remove BIT_AND_EXPR. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (class operator_bitwise_xor): Move from... + * range-op.cc (unified_table::unified_table): Add BIT_XOR_EXPR. + (class operator_bitwise_xor): Move from here. + (integral_table::integral_table): Remove BIT_XOR_EXPR. + (pointer_table::pointer_table): Remove BIT_XOR_EXPR. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (class operator_bitwise_not): Move from... + * range-op.cc (unified_table::unified_table): Add BIT_NOT_EXPR. + (class operator_bitwise_not): Move from here. + (integral_table::integral_table): Remove BIT_NOT_EXPR. + (pointer_table::pointer_table): Remove BIT_NOT_EXPR. + +2023-06-12 Andrew MacLeod <amacleod@redhat.com> + + * range-op-mixed.h (class operator_addr_expr): Move from... + * range-op.cc (unified_table::unified_table): Add ADDR_EXPR. + (class operator_addr_expr): Move from here. + (integral_table::integral_table): Remove ADDR_EXPR. + (pointer_table::pointer_table): Remove ADDR_EXPR. + +2023-06-12 Pan Li <pan2.li@intel.com> + + * config/riscv/riscv-vector-builtins-types.def + (vfloat16m1_t): Add type to lmul1 ops. + (vfloat16m2_t): Likewise. + (vfloat16m4_t): Likewise. + +2023-06-12 Richard Biener <rguenther@suse.de> + + * tree-ssa-alias.cc (call_may_clobber_ref_p_1): For + .MASK_STORE and friend set the size of the access to + unknown. + +2023-06-12 Tamar Christina <tamar.christina@arm.com> + + * config.in: Regenerate. + * configure: Regenerate. + * configure.ac: Remove DEFAULT_MATCHPD_PARTITIONS. + +2023-06-12 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + * config/riscv/autovec-opt.md + (*v<any_shiftrt:optab><any_extend:optab>trunc<mode>): New pattern. + (*<any_shiftrt:optab>trunc<mode>): Ditto. + * config/riscv/autovec.md (<optab><mode>3): Change to + define_insn_and_split. + (v<optab><mode>3): Ditto. + (trunc<mode><v_double_trunc>2): Ditto. + +2023-06-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com> + + * simplify-rtx.cc (simplify_const_unary_operation): + Handle US_TRUNCATE, SS_TRUNCATE. + +2023-06-12 Eric Botcazou <ebotcazou@adacore.com> + + PR modula2/109952 + * doc/gm2.texi (Standard procedures): Fix Next link. + +2023-06-12 Tamar Christina <tamar.christina@arm.com> + + * config.in: Regenerate. + +2023-06-12 Andre Vieira <andre.simoesdiasvieira@arm.com> + + PR middle-end/110142 + * tree-vect-patterns.cc (vect_recog_widen_op_pattern): Don't pass + subtype to vect_widened_op_tree and remove subtype parameter, also + remove superfluous overloaded function definition. + (vect_recog_widen_plus_pattern): Remove subtype parameter and dont pass + to call to vect_recog_widen_op_pattern. + (vect_recog_widen_minus_pattern): Likewise. + +2023-06-12 liuhongt <hongtao.liu@intel.com> + + * config/i386/sse.md (vec_pack<floatprefix>_float_<mode>): New expander. + (vec_unpack_<fixprefix>fix_trunc_lo_<mode>): Ditto. + (vec_unpack_<fixprefix>fix_trunc_hi_<mode>): Ditto. + (vec_unpacks_lo_<mode>): Ditto. + (vec_unpacks_hi_<mode>): Ditto. + (sse_movlhps_<mode>): New define_insn. + (ssse3_palignr<mode>_perm): Extend to V_128H. + (V_128H): New mode iterator. + (ssepackPHmode): New mode attribute. + (vunpck_extract_mode): Ditto. + (vpckfloat_concat_mode): Extend to VxSI/VxSF for _Float16. + (vpckfloat_temp_mode): Ditto. + (vpckfloat_op_mode): Ditto. + (vunpckfixt_mode): Extend to VxHF. + (vunpckfixt_model): Ditto. + (vunpckfixt_extract_mode): Ditto. + +2023-06-12 Richard Biener <rguenther@suse.de> + + PR middle-end/110200 + * genmatch.cc (expr::gen_transform): Put braces around + the if arm for the (convert ...) short-cut. + +2023-06-12 Kewen Lin <linkw@linux.ibm.com> + + PR target/109932 + * config/rs6000/rs6000-builtins.def (__builtin_pack_vector_int128, + __builtin_unpack_vector_int128): Move from stanza power7 to vsx. + +2023-06-12 Kewen Lin <linkw@linux.ibm.com> + + PR target/110011 + * config/rs6000/rs6000.cc (output_toc): Use the mode of the 128-bit + floating constant itself for real_to_target call. + +2023-06-12 Pan Li <pan2.li@intel.com> + + * config/riscv/riscv-vector-builtins-types.def + (vfloat16mf4_t): Add type to X2/X4/X8/X16/X32 vlmul ext ops. + (vfloat16mf2_t): Ditto. + (vfloat16m1_t): Ditto. + (vfloat16m2_t): Ditto. + (vfloat16m4_t): Ditto. + +2023-06-12 David Edelsohn <dje.gcc@gmail.com> + + * config/rs6000/rs6000-logue.cc (rs6000_stack_info): + Do not require a stack frame when debugging is enabled for AIX. + 2023-06-11 Georg-Johann Lay <avr@gjlay.de> * config/avr/avr.md (adjust_len) [insv_notbit_0, insv_notbit_7]: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 995c0c1e1192b9a9baf02937d78f7be9f3a1437e..5180e2ea7c693adb1c0f932a2cb9511d10508dca 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230612 +20230613 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index d02017c3c98a3cd1ba256ec1d5714d1bcf7e8dce..1d3700d39b8c9c1961f3a2fbc0de84d7edeb1a2a 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2023-06-12 Tobias Burnus <tobias@codesourcery.com> + + * c-parser.cc (c_parser_omp_clause_map): Reword error message for + clearness especially with 'omp target (enter/exit) data.' + 2023-06-06 Kwok Cheung Yeung <kcy@codesourcery.com> Tobias Burnus <tobias@codesourcery.com> diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 04cae62a92d543f9556717919998d90f6c636040..8027cfa1100b65c0d25db541e38a35a5cb9fa28f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,21 @@ +2023-06-12 Tobias Burnus <tobias@codesourcery.com> + + * parser.cc (cp_parser_omp_clause_map): Reword error message for + clearness especially with 'omp target (enter/exit) data.' + * semantics.cc (handle_omp_array_sections): Handle + GOMP_MAP_{ALWAYS_,}PRESENT_{TO,TOFROM,FROM,ALLOC} enum values. + +2023-06-12 Jason Merrill <jason@redhat.com> + + PR c++/105838 + * call.cc (convert_like_internal) [ck_list]: Use + maybe_init_list_as_array. + * constexpr.cc (cxx_eval_vec_init_1): Init might have + a different type. + * tree.cc (build_vec_init_elt): Likewise. + * init.cc (build_vec_init): Handle from_array from a + TARGET_EXPR. Retain TARGET_EXPR of a different type. + 2023-06-11 Patrick Palka <ppalka@redhat.com> PR c++/110122 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 2067dc84ceddfe32463e1cdcb638cc58944b6e2d..8d16e1e5f03cda9f7a5085dd50288100e972da10 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,34 @@ +2023-06-12 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/110189 + * gm2-compiler/M2Quads.mod (BuildAbsFunction): Replace abort + format specifier. + (BuildValFunction): Replace abort format specifier. + (BuildCastFunction): Replace abort format specifier. + (BuildMinFunction): Replace abort format specifier. + (BuildMaxFunction): Replace abort format specifier. + (BuildTruncFunction): Replace abort format specifier. + * gm2-compiler/P3Build.bnf (Pass1): Remove. + (Pass2): Remove. + (Pass3): Remove. + (Expect): Add Pass1. + (AsmStatement): Remove Pass3. + (AsmOperands): Remove Pass3. + (AsmOperandSpec): Remove Pass3. + (AsmInputElement): Remove Pass3. + (AsmOutputElement): Remove Pass3. + (AsmTrashList): Remove Pass3. + +2023-06-12 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/110126 + * gm2-compiler/M2Quads.def (BuildAsmElement): Remove + trash parameter. + (BuildAsmTrash): New procedure. + * gm2-compiler/M2Quads.mod (BuildAsmTrash): New procedure. + (BuildAsmElement): Remove trash parameter. + * gm2-compiler/P3Build.bnf (AsmTrashList): Rewrite. + 2023-06-08 Gaius Mulley <gaiusmod2@gmail.com> PR modula2/110126 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 138f217be0b86c04fdf1a5899adac440d1feb9d3..6a53230648d65faf79299fa8dbd6163a495e50f2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,88 @@ +2023-06-12 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/110189 + * gm2/pim/fail/foovaltype.mod: New test. + +2023-06-12 Jeff Law <jlaw@ventanamicro.com> + + PR rtl-optimization/101188 + * gcc.c-torture/execute/pr101188.c: New test + +2023-06-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> + + * gcc.target/aarch64/vec-init-single-const.c: New test. + * gcc.target/aarch64/vec-init-single-const-be.c: Likewise. + * gcc.target/aarch64/vec-init-single-const-2.c: Likewise. + +2023-06-12 Tobias Burnus <tobias@codesourcery.com> + + * c-c++-common/gomp/defaultmap-4.c: Update scan-tree-dump. + * c-c++-common/gomp/map-9.c: Likewise. + * gfortran.dg/gomp/defaultmap-8.f90: Likewise. + * gfortran.dg/gomp/map-11.f90: Likewise. + * gfortran.dg/gomp/target-update-1.f90: Likewise. + * gfortran.dg/gomp/map-12.f90: Likewise; also check original dump. + * c-c++-common/gomp/map-6.c: Update dg-error and also check + clause error with 'target (enter/exit) data'. + +2023-06-12 Pan Li <pan2.li@intel.com> + + * gcc.target/riscv/rvv/vsetvl/vsetvl-23.c: Adjust test checking. + +2023-06-12 Pan Li <pan2.li@intel.com> + + * gcc.target/riscv/rvv/base/zvfh-over-zvfhmin.c: Add new test cases. + * gcc.target/riscv/rvv/base/zvfhmin-intrinsic.c: Likewise. + +2023-06-12 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + * gcc.target/riscv/rvv/autovec/binop/narrow-1.c: New test. + * gcc.target/riscv/rvv/autovec/binop/narrow-2.c: New test. + * gcc.target/riscv/rvv/autovec/binop/narrow-3.c: New test. + * gcc.target/riscv/rvv/autovec/binop/narrow_run-1.c: New test. + * gcc.target/riscv/rvv/autovec/binop/narrow_run-2.c: New test. + * gcc.target/riscv/rvv/autovec/binop/narrow_run-3.c: New test. + +2023-06-12 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + * gcc.target/riscv/rvv/autovec/zvfhmin-1.c: New test. + +2023-06-12 Andre Vieira <andre.simoesdiasvieira@arm.com> + + * gcc.dg/vect/pr110142.c: New test. + +2023-06-12 liuhongt <hongtao.liu@intel.com> + + * gcc.target/i386/vec_pack_fp16-1.c: New test. + * gcc.target/i386/vec_pack_fp16-2.c: New test. + * gcc.target/i386/vec_pack_fp16-3.c: New test. + +2023-06-12 Jason Merrill <jason@redhat.com> + + PR c++/105838 + * g++.dg/tree-ssa/initlist-opt5.C: New test. + +2023-06-12 Kewen Lin <linkw@linux.ibm.com> + + PR target/109932 + * gcc.target/powerpc/pr109932-1.c: New test. + * gcc.target/powerpc/pr109932-2.c: New test. + +2023-06-12 Kewen Lin <linkw@linux.ibm.com> + + PR target/110011 + * gcc.target/powerpc/pr110011.c: New test. + +2023-06-12 Pan Li <pan2.li@intel.com> + + * gcc.target/riscv/rvv/base/zvfh-over-zvfhmin.c: Add test cases. + * gcc.target/riscv/rvv/base/zvfhmin-intrinsic.c: Ditto. + +2023-06-12 Pan Li <pan2.li@intel.com> + + * gcc.target/riscv/rvv/base/zvfh-over-zvfhmin.c: Add new test cases. + * gcc.target/riscv/rvv/base/zvfhmin-intrinsic.c: Add new test cases. + 2023-06-11 Patrick Palka <ppalka@redhat.com> PR c++/110122 diff --git a/include/ChangeLog b/include/ChangeLog index 7ddfaeb7985be0c36c2341d6ac4d8be0cc22e506..cceb75fc5ff36677eb0e63b592f270dc49c04a6b 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2023-06-12 Tobias Burnus <tobias@codesourcery.com> + + * gomp-constants.h (enum gomp_map_kind): Change the enum values + GOMP_MAP_PRESENT_{TO,TOFROM,FROM,ALLOC} to be compiler only. + (GOMP_MAP_PRESENT_P): Update to include also GOMP_MAP_FORCE_PRESENT. + 2023-06-06 Kwok Cheung Yeung <kcy@codesourcery.com> Tobias Burnus <tobias@codesourcery.com> diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 7b355b9ad7f420163b34fdffa14ac555cb7bd1ec..2e73b0a12e5430b58997777fc02220f70fe516da 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,19 @@ +2023-06-12 Tobias Burnus <tobias@codesourcery.com> + + * target.c (gomp_to_device_kind_p, gomp_map_vars_internal): Replace + GOMP_MAP_PRESENT_{FROM,TO,TOFROM,ACLLOC} by GOMP_MAP_FORCE_PRESENT. + (gomp_map_vars_internal, gomp_update): Likewise; unify and improve + error message. + * testsuite/libgomp.c-c++-common/target-present-2.c: Update for + changed error message. + * testsuite/libgomp.fortran/target-present-1.f90: Likewise. + * testsuite/libgomp.fortran/target-present-2.f90: Likewise. + * testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise. + * testsuite/libgomp.c-c++-common/target-present-1.c: Likewise and + extend testcase to check that data is copied when needed. + * testsuite/libgomp.c-c++-common/target-present-3.c: Likewise. + * testsuite/libgomp.fortran/target-present-3.f90: Likewise. + 2023-06-07 Thomas Schwinge <thomas@codesourcery.com> Tobias Burnus <tobias@codesourcery.com>