diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-12-14 00:18:00 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-12-14 00:18:00 +0000 |
commit | e8018ccff9aa9686d00a4bfe42448d517c699964 (patch) | |
tree | b310641ef28eafb3f589499dea552218f9cc6a5f /gcc | |
parent | 3333a064e4925afa1ad5f2f8c1350c4f57d631ce (diff) | |
download | gcc-e8018ccff9aa9686d00a4bfe42448d517c699964.zip gcc-e8018ccff9aa9686d00a4bfe42448d517c699964.tar.gz gcc-e8018ccff9aa9686d00a4bfe42448d517c699964.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 305 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 40 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 26 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 121 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 25 | ||||
-rw-r--r-- | gcc/m2/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 272 |
8 files changed, 802 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bef20da..1ebf365 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,308 @@ +2023-12-13 Richard Ball <richard.ball@arm.com> + + * config.gcc: Adds new header to config. + * config/aarch64/aarch64-builtins.cc (enum aarch64_type_qualifiers): + Moved to header file. + (ENTRY): Likewise. + (enum aarch64_simd_type): Likewise. + (struct aarch64_simd_type_info): Remove static. + (GTY): Likewise. + * config/aarch64/aarch64-c.cc (aarch64_pragma_aarch64): + Defines pragma for arm_neon_sve_bridge.h. + * config/aarch64/aarch64-protos.h: + Add handle_arm_neon_sve_bridge_h + * config/aarch64/aarch64-sve-builtins-base.h: New intrinsics. + * config/aarch64/aarch64-sve-builtins-base.cc + (class svget_neonq_impl): New intrinsic implementation. + (class svset_neonq_impl): Likewise. + (class svdup_neonq_impl): Likewise. + (NEON_SVE_BRIDGE_FUNCTION): New intrinsics. + * config/aarch64/aarch64-sve-builtins-functions.h + (NEON_SVE_BRIDGE_FUNCTION): Defines macro for NEON_SVE_BRIDGE + functions. + * config/aarch64/aarch64-sve-builtins-shapes.h: New shapes. + * config/aarch64/aarch64-sve-builtins-shapes.cc + (parse_element_type): Add NEON element types. + (parse_type): Likewise. + (struct get_neonq_def): Defines function shape for get_neonq. + (struct set_neonq_def): Defines function shape for set_neonq. + (struct dup_neonq_def): Defines function shape for dup_neonq. + * config/aarch64/aarch64-sve-builtins.cc + (DEF_SVE_TYPE_SUFFIX): Changed to be called through + SVE_NEON macro. + (DEF_SVE_NEON_TYPE_SUFFIX): Defines + macro for NEON_SVE_BRIDGE type suffixes. + (DEF_NEON_SVE_FUNCTION): Defines + macro for NEON_SVE_BRIDGE functions. + (function_resolver::infer_neon128_vector_type): Infers type suffix + for overloaded functions. + (handle_arm_neon_sve_bridge_h): Handles #pragma arm_neon_sve_bridge.h. + * config/aarch64/aarch64-sve-builtins.def + (DEF_SVE_NEON_TYPE_SUFFIX): Macro for handling neon_sve type suffixes. + (bf16): Replace entry with neon-sve entry. + (f16): Likewise. + (f32): Likewise. + (f64): Likewise. + (s8): Likewise. + (s16): Likewise. + (s32): Likewise. + (s64): Likewise. + (u8): Likewise. + (u16): Likewise. + (u32): Likewise. + (u64): Likewise. + * config/aarch64/aarch64-sve-builtins.h + (GCC_AARCH64_SVE_BUILTINS_H): Include aarch64-builtins.h. + (ENTRY): Add aarch64_simd_type definiton. + (enum aarch64_simd_type): Add neon information to type_suffix_info. + (struct type_suffix_info): New function. + * config/aarch64/aarch64-sve.md + (@aarch64_sve_get_neonq_<mode>): New intrinsic insn for big endian. + (@aarch64_sve_set_neonq_<mode>): Likewise. + * config/aarch64/iterators.md: Add UNSPEC_SET_NEONQ. + * config/aarch64/aarch64-builtins.h: New file. + * config/aarch64/aarch64-neon-sve-bridge-builtins.def: New file. + * config/aarch64/arm_neon_sve_bridge.h: New file. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + * doc/invoke.texi (C++ Dialect Options): Document + -fdiagnostics-all-candidates. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * gimplify.cc (omp_map_clause_descriptor_p): New function. + (build_omp_struct_comp_nodes, omp_get_attachment, omp_group_base): Use + above function. + (omp_tsort_mapping_groups): Process nodes that have + OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P set after those that don't. Add + enter_exit_data parameter. + (omp_resolve_clause_dependencies): Remove GOMP_MAP_TO_PSET mappings if + we're mapping the whole containing derived-type variable. + (omp_accumulate_sibling_list): Adjust GOMP_MAP_TO_PSET handling. + Remove GOMP_MAP_ALWAYS_POINTER handling. + (gimplify_scan_omp_clauses): Pass enter_exit argument to + omp_tsort_mapping_groups. Don't adjust/remove GOMP_MAP_TO_PSET + mappings for derived-type components here. + * tree.h (OMP_CLAUSE_RELEASE_DESCRIPTOR): New macro. + * tree-pretty-print.cc (dump_omp_clause): Show + OMP_CLAUSE_RELEASE_DESCRIPTOR in dump output (with + GOMP_MAP_TO_PSET-like syntax). + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * gimplify.cc (build_struct_comp_nodes): Don't process + GOMP_MAP_ATTACH_DETACH "middle" nodes here. + (omp_mapping_group): Add REPROCESS_STRUCT and FRAGILE booleans for + nested struct handling. + (omp_strip_components_and_deref, omp_strip_indirections): Remove + functions. + (omp_get_attachment): Handle GOMP_MAP_DETACH here. + (omp_group_last): Handle GOMP_MAP_*, GOMP_MAP_DETACH, + GOMP_MAP_ATTACH_DETACH groups for "exit data" of reference-to-pointer + component array sections. + (omp_gather_mapping_groups_1): Initialise reprocess_struct and fragile + fields. + (omp_group_base): Handle GOMP_MAP_ATTACH_DETACH after GOMP_MAP_STRUCT. + (omp_index_mapping_groups_1): Skip reprocess_struct groups. + (omp_get_nonfirstprivate_group, omp_directive_maps_explicitly, + omp_resolve_clause_dependencies, omp_first_chained_access_token): New + functions. + (omp_check_mapping_compatibility): Adjust accepted node combinations + for "from" clauses using release instead of alloc. + (omp_accumulate_sibling_list): Add GROUP_MAP, ADDR_TOKENS, FRAGILE_P, + REPROCESSING_STRUCT, ADDED_TAIL parameters. Use OMP address tokenizer + to analyze addresses. Reimplement nested struct handling, and + implement "fragile groups". + (omp_build_struct_sibling_lists): Adjust for changes to + omp_accumulate_sibling_list. Recalculate bias for ATTACH_DETACH nodes + after GOMP_MAP_STRUCT nodes. + (gimplify_scan_omp_clauses): Call omp_resolve_clause_dependencies. Use + OMP address tokenizer. + (gimplify_adjust_omp_clauses_1): Use build_fold_indirect_ref_loc + instead of build_simple_mem_ref_loc. + * omp-general.cc (omp-general.h, tree-pretty-print.h): Include. + (omp_addr_tokenizer): New namespace. + (omp_addr_tokenizer::omp_addr_token): New. + (omp_addr_tokenizer::omp_parse_component_selector, + omp_addr_tokenizer::omp_parse_ref, + omp_addr_tokenizer::omp_parse_pointer, + omp_addr_tokenizer::omp_parse_access_method, + omp_addr_tokenizer::omp_parse_access_methods, + omp_addr_tokenizer::omp_parse_structure_base, + omp_addr_tokenizer::omp_parse_structured_expr, + omp_addr_tokenizer::omp_parse_array_expr, + omp_addr_tokenizer::omp_access_chain_p, + omp_addr_tokenizer::omp_accessed_addr): New functions. + (omp_parse_expr, debug_omp_tokenized_addr): New functions. + * omp-general.h (omp_addr_tokenizer::access_method_kinds, + omp_addr_tokenizer::structure_base_kinds, + omp_addr_tokenizer::token_type, + omp_addr_tokenizer::omp_addr_token, + omp_addr_tokenizer::omp_access_chain_p, + omp_addr_tokenizer::omp_accessed_addr): New. + (omp_addr_token, omp_parse_expr): New. + * omp-low.cc (scan_sharing_clauses): Skip error check for references + to pointers. + * tree.h (OMP_CLAUSE_ATTACHMENT_MAPPING_ERASED): New macro. + +2023-12-13 Andrew Stubbs <ams@codesourcery.com> + + * config/gcn/gcn-hsa.h (NO_XNACK): Change the defaults. + * config/gcn/gcn-opts.h (enum hsaco_attr_type): Add HSACO_ATTR_DEFAULT. + * config/gcn/gcn.cc (gcn_option_override): Set the default flag_xnack. + * config/gcn/gcn.opt: Add -mxnack=default. + * doc/invoke.texi: Document the -mxnack default. + +2023-12-13 Andrew Stubbs <ams@codesourcery.com> + + * config/gcn/gcn-hsa.h (NO_XNACK): Ignore missing -march. + (XNACKOPT): Match on/off; ignore any. + * config/gcn/gcn-valu.md (gather<mode>_insn_1offset<exec>): + Add xnack compatible alternatives. + (gather<mode>_insn_2offsets<exec>): Likewise. + * config/gcn/gcn.cc (gcn_option_override): Permit -mxnack for devices + other than Fiji and gfx1030. + (gcn_expand_epilogue): Remove early-clobber problems. + (gcn_hsa_declare_function_name): Obey -mxnack setting. + * config/gcn/gcn.md (xnack): New attribute. + (enabled): Rework to include "xnack" attribute. + (*movbi): Add xnack compatible alternatives. + (*mov<mode>_insn): Likewise. + (*mov<mode>_insn): Likewise. + (*mov<mode>_insn): Likewise. + (*movti_insn): Likewise. + * config/gcn/gcn.opt (-mxnack): Change the default to "any". + * doc/invoke.texi: Remove placeholder notice for -mxnack. + +2023-12-13 Andrew Carlotti <andrew.carlotti@arm.com> + + * config/aarch64/x-aarch64: Add missing dependencies. + +2023-12-13 Roger Sayle <roger@nextmovesoftware.com> + Jeff Law <jlaw@ventanamicro.com> + + * config/arc/arc.md (*extvsi_n_0): New define_insn_and_split to + implement SImode sign extract using a AND, XOR and MINUS sequence. + +2023-12-13 Feng Wang <wangfeng@eswincomputing.com> + + * common/config/riscv/riscv-common.cc: Modify implied ISA info. + * config/riscv/arch-canonicalize: Add crypto vector implied info. + +2023-12-13 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + PR target/112929 + PR target/112988 + * config/riscv/riscv-vsetvl.cc + (pre_vsetvl::compute_lcm_local_properties): Remove full available. + (pre_vsetvl::pre_global_vsetvl_info): Add full available optimization. + +2023-12-13 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + PR target/111317 + * tree-vect-loop.cc (vect_estimate_min_profitable_iters): Adjust for COST for decrement IV. + +2023-12-13 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/112940 + * gimple-lower-bitint.cc (struct bitint_large_huge): Add another + argument to prepare_data_in_out method defaulted to NULL_TREE. + (bitint_large_huge::handle_operand): Pass another argument to + prepare_data_in_out instead of emitting an assignment to set it. + (bitint_large_huge::prepare_data_in_out): Add VAL_OUT argument. + If non-NULL, use it as PHI argument instead of creating a new + SSA_NAME. + (bitint_large_huge::handle_cast): Pass rext as another argument + to 2 prepare_data_in_out calls instead of emitting assignments + to set them. + +2023-12-13 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/112953 + * attribs.cc (free_attr_data): Use delete x rather than delete[] x. + +2023-12-13 Jakub Jelinek <jakub@redhat.com> + + PR target/112962 + * config/i386/i386.cc (ix86_gimple_fold_builtin): For shifts + and abs without lhs replace with nop. + +2023-12-13 Richard Biener <rguenther@suse.de> + + * emit-rtl.cc (set_mem_attributes_minus_bitpos): Preserve + the offset when rewriting an exising MEM_REF base for + stack slot sharing. + +2023-12-13 Richard Biener <rguenther@suse.de> + + PR tree-optimization/112991 + PR tree-optimization/112961 + * tree-ssa-sccvn.h (do_rpo_vn): Add skip_entry_phis argument. + * tree-ssa-sccvn.cc (do_rpo_vn): Likewise. + (do_rpo_vn_1): Likewise, merge with auto-processing. + (run_rpo_vn): Adjust. + (pass_fre::execute): Likewise. + * tree-if-conv.cc (tree_if_conversion): Revert last change. + Value-number latch block but disable value-numbering of + entry PHIs. + * tree-ssa-uninit.cc (execute_early_warn_uninitialized): Adjust. + +2023-12-13 Richard Biener <rguenther@suse.de> + + PR tree-optimization/112990 + * match.pd (bit_insert @0 (BIT_FIELD_REF @1 ..) ..): + Restrict to vector modes after lowering. + +2023-12-13 Richard Biener <rguenther@suse.de> + + PR middle-end/111591 + * cfgexpand.cc (update_alias_info_with_stack_vars): Document + why not adjusting TBAA info on accesses is OK. + +2023-12-13 Alexandre Oliva <oliva@adacore.com> + + * doc/invoke.texi (multiflags): Drop extraneous period, use + @pxref instead. + +2023-12-13 Victor Do Nascimento <victor.donascimento@arm.com> + + * config/aarch64/aarch64-builtins.cc: + (AARCH64_PLD): New enum aarch64_builtins entry. + (AARCH64_PLDX): Likewise. + (AARCH64_PLI): Likewise. + (AARCH64_PLIX): Likewise. + (aarch64_init_prefetch_builtin): New. + (aarch64_general_init_builtins): Call prefetch init function. + (aarch64_expand_prefetch_builtin): New. + (aarch64_general_expand_builtin): Add prefetch expansion. + (require_const_argument): New. + * config/aarch64/aarch64.md (UNSPEC_PLDX): New. + (aarch64_pldx): Likewise. + * config/aarch64/arm_acle.h (__pld): Likewise. + (__pli): Likewise. + (__plix): Likewise. + (__pldx): Likewise. + +2023-12-13 Kewen Lin <linkw@linux.ibm.com> + + PR tree-optimization/112788 + * value-range.h (range_compatible_p): Workaround same type mode but + different type precision issue for rs6000 scalar float types + _Float128 and long double. + +2023-12-13 Jiufu Guo <guojiufu@linux.ibm.com> + + * config/rs6000/rs6000.cc (rs6000_emit_set_long_const): Add code to use + pli for 34bit constant. + +2023-12-13 Jiufu Guo <guojiufu@linux.ibm.com> + + * config/rs6000/rs6000.cc (rs6000_emit_set_long_const): Add new + parameter to record number of instructions to build the constant. + (num_insns_constant_gpr): Call rs6000_emit_set_long_const to compute + num_insn. + 2023-12-12 Juzhe-Zhong <juzhe.zhong@rivai.ai> * config/riscv/riscv-vector-costs.cc (costs::analyze_loop_vinfo): New function. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index ffab835..e01b297 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20231213 +20231214 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index c676896..d7667cb 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,43 @@ +2023-12-13 Patrick Palka <ppalka@redhat.com> + + * c.opt: Add -fdiagnostics-all-candidates. + +2023-12-13 Jason Merrill <jason@redhat.com> + + * c-warn.cc (check_address_or_pointer_of_packed_member): + Rename to check_address_of_packed_member. + (check_and_warn_address_or_pointer_of_packed_member): + Rename to check_and_warn_address_of_packed_member. + (warn_for_address_or_pointer_of_packed_member): + Rename to warn_for_address_of_packed_member. + * c-common.h: Adjust. + +2023-12-13 Jason Merrill <jason@redhat.com> + + * c-warn.cc (check_address_or_pointer_of_packed_member): + Remove warning based on TYPE_PACKED. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * c-common.h (c_omp_region_type): Add C_ORT_EXIT_DATA, + C_ORT_OMP_EXIT_DATA and C_ORT_ACC_TARGET. + (omp_addr_token): Add forward declaration. + (c_omp_address_inspector): New class. + * c-omp.cc (c_omp_adjust_map_clauses): Mark decls addressable here, but + do not change any mapping node types. + (c_omp_address_inspector::unconverted_ref_origin, + c_omp_address_inspector::component_access_p, + c_omp_address_inspector::check_clause, + c_omp_address_inspector::get_root_term, + c_omp_address_inspector::map_supported_p, + c_omp_address_inspector::get_origin, + c_omp_address_inspector::maybe_unconvert_ref, + c_omp_address_inspector::maybe_zero_length_array_section, + c_omp_address_inspector::expand_array_base, + c_omp_address_inspector::expand_component_selector, + c_omp_address_inspector::expand_map_clause): New methods. + (omp_expand_access_chain): New function. + 2023-12-12 Richard Biener <rguenther@suse.de> PR ipa/92606 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index a96e65b..4cf122b 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,29 @@ +2023-12-13 Jason Merrill <jason@redhat.com> + + * c-typeck.cc (convert_for_assignment): Adjust call to + warn_for_address_of_packed_member. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * c-parser.cc (c_parser_oacc_all_clauses): Add TARGET_P parameter. Use + to select region type for c_finish_omp_clauses call. + (c_parser_oacc_loop): Update calls to c_parser_oacc_all_clauses. + (c_parser_oacc_compute): Likewise. + (c_parser_omp_target_data, c_parser_omp_target_enter_data): Support + ATTACH kind. + (c_parser_omp_target_exit_data): Support DETACH kind. + (check_clauses): Handle GOMP_MAP_POINTER and GOMP_MAP_ATTACH here. + * c-typeck.cc (handle_omp_array_sections_1, + handle_omp_array_sections, c_finish_omp_clauses): Use + c_omp_address_inspector class and OMP address tokenizer to analyze and + expand map clause expressions. Fix some diagnostics. Fix "is OpenACC" + condition for C_ORT_ACC_TARGET addition. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * c-typeck.cc (c_finish_omp_clauses): Add braces and reindent + OMP_CLAUSE_TO/OMP_CLAUSE_FROM/OMP_CLAUSE__CACHE_ stanza. + 2023-12-11 Martin Uecker <uecker@tugraz.at> PR c/112488 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5aec649..88d6047 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,124 @@ +2023-12-13 Patrick Palka <ppalka@redhat.com> + + * call.cc (print_z_candidates): Only print ignored candidates + when -fdiagnostics-all-candidates is set, otherwise suggest + the flag. + (build_over_call): When diagnosing deletedness, note + other candidates only if -fdiagnostics-all-candidates is + set, otherwise suggest the flag. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + * call.cc (enum rejection_reason_code): Add rr_ignored. + (add_ignored_candidate): Define. + (ignored_candidate_p): Define. + (add_template_candidate_real): Do add_ignored_candidate + instead of returning NULL. + (splice_viable): Put ignored (non-viable) candidates last. + (print_z_candidate): Handle ignored candidates. + (build_new_function_call): Refine shortcut that calls + cp_build_function_call_vec now that non-templates can + appear in the candidate list for a template-id call. + (add_candidates): Replace 'bad_fns' overload with 'bad_cands' + candidate list. When not considering a candidate, add it + to the list as an ignored candidate. Add all 'bad_cands' + to the overload set as well. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + * call.cc: Include "tristate.h". + (splice_viable): Sort the candidate list according to viability. + Don't remove non-viable candidates from the list. + (print_z_candidates): Add defaulted only_viable_p parameter. + By default only print non-viable candidates if there is no + viable candidate. + (tourney): Ignore non-viable candidates. Move the true champ to + the front of the candidates list, and update 'candidates' to + point to the front. Rename champ_compared_to_predecessor to + previous_worse_champ. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + PR c++/99186 + PR c++/104867 + * pt.cc (unify) <case INTEGER_CST>: Compare types as well. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + PR c++/93740 + * pt.cc (unify) <case FUNCTION_DECL>: Handle it like FIELD_DECL + and TEMPLATE_DECL. + +2023-12-13 Jason Merrill <jason@redhat.com> + + * call.cc (convert_for_arg_passing) + * typeck.cc (convert_for_assignment): Adjust call to + warn_for_address_of_packed_member. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * parser.cc (cp_parser_oacc_all_clauses): Add TARGET_P parameter. Use + to select region type for finish_omp_clauses call. + (cp_parser_omp_target_data, cp_parser_omp_target_enter_data): Support + GOMP_MAP_ATTACH kind. + (cp_parser_omp_target_exit_data): Support GOMP_MAP_DETACH kind. + (cp_parser_oacc_declare): Update call to cp_parser_oacc_all_clauses. + (cp_parser_oacc_loop): Update calls to cp_parser_oacc_all_clauses. + (cp_parser_oacc_compute): Likewise. + * pt.cc (tsubst_expr): Use C_ORT_ACC_TARGET for call to + tsubst_omp_clauses for OpenACC compute regions. + * semantics.cc (cp_omp_address_inspector): New class, derived from + c_omp_address_inspector. + (handle_omp_array_sections_1, handle_omp_array_sections, + finish_omp_clauses): Use cp_omp_address_inspector class and OMP address + tokenizer to analyze and expand OpenMP map clause expressions. Fix + some diagnostics. Support C_ORT_ACC_TARGET. + (finish_omp_target): Handle GOMP_MAP_POINTER. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * semantics.cc (finish_omp_clause): Add braces and reindent + OMP_CLAUSE_TO/OMP_CLAUSE_FROM/OMP_CLAUSE__CACHE_ stanza. + +2023-12-13 Jason Merrill <jason@redhat.com> + + PR c++/96997 + * tree.cc (bot_manip): Check data.clear_location for TARGET_EXPR. + +2023-12-13 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/71093 + * constexpr.cc (constexpr_global_ctx::get_value_ptr): Don't + return NULL_TREE for objects we're initializing. + (constexpr_global_ctx::destroy_value): Rename from remove_value. + Only mark real variables as outside lifetime. + (constexpr_global_ctx::clear_value): New function. + (destroy_value_checked): New function. + (cxx_eval_call_expression): Defer complaining about non-constant + arg0 for operator delete. Use remove_value_safe. + (cxx_fold_indirect_ref_1): Handle conversion to 'as base' type. + (outside_lifetime_error): Include name of object we're + accessing. + (cxx_eval_store_expression): Handle clobbers. Improve error + messages. + (cxx_eval_constant_expression): Use remove_value_safe. Clear + bind variables before entering body. + +2023-12-13 Jason Merrill <jason@redhat.com> + + * constexpr.cc (cxx_eval_call_expression): Handle missing in-charge + argument. + +2023-12-13 Jason Merrill <jason@redhat.com> + + PR c++/108243 + * constexpr.cc (cxx_eval_outermost_constant_expr): Turn + a constructor CALL_EXPR into a TARGET_EXPR. + +2023-12-13 Jason Merrill <jason@redhat.com> + + * tree.cc (build_aggr_init_expr): Copy EXPR_LOCATION. + 2023-12-12 Jason Merrill <jason@redhat.com> Jason Xu <rxu@DRWHoldings.com> diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 0a1eae4..366463e 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,28 @@ +2023-12-13 Julian Brown <julian@codesourcery.com> + + * dependency.cc (gfc_omp_expr_prefix_same): New function. + * dependency.h (gfc_omp_expr_prefix_same): Add prototype. + * gfortran.h (gfc_omp_namelist): Add "duplicate_of" field to "u2" + union. + * trans-openmp.cc (dependency.h): Include. + (gfc_trans_omp_array_section): Adjust mapping node arrangement for + array descriptors. Use GOMP_MAP_TO_PSET or + GOMP_MAP_RELEASE/GOMP_MAP_DELETE with the OMP_CLAUSE_RELEASE_DESCRIPTOR + flag set. + (gfc_symbol_rooted_namelist): New function. + (gfc_trans_omp_clauses): Check subcomponent and subarray/element + accesses elsewhere in the clause list for pointers to derived types or + array descriptors, and adjust or drop mapping nodes appropriately. + Adjust for changes to mapping node arrangement. + (gfc_trans_oacc_executable_directive): Pass code op through. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * trans-openmp.cc (gfc_trans_omp_array_section): Add OPENMP parameter. + Use GOMP_MAP_ATTACH_DETACH instead of GOMP_MAP_ALWAYS_POINTER for + derived type components. + (gfc_trans_omp_clauses): Update calls to gfc_trans_omp_array_section. + 2023-12-11 Thomas Schwinge <thomas@codesourcery.com> * trans-openmp.cc (gfc_omp_call_is_alloc): Resolve ICE. diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 2e479e4..ead3c77 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,15 @@ +2023-12-13 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/112921 + * gm2-libs-iso/ConvStringShort.def: New file. + * gm2-libs-iso/ConvStringShort.mod: New file. + * gm2-libs-iso/ShortConv.def: New file. + * gm2-libs-iso/ShortConv.mod: New file. + * gm2-libs-iso/ShortMath.def: New file. + * gm2-libs-iso/ShortMath.mod: New file. + * gm2-libs-iso/ShortStr.def: New file. + * gm2-libs-iso/ShortStr.mod: New file. + 2023-12-12 Gaius Mulley <gaiusmod2@gmail.com> PR modula2/112984 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 551015f..a3fe36d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,275 @@ +2023-12-13 Marek Polacek <polacek@redhat.com> + + * g++.dg/cpp0x/constexpr-ex1.C: Adjust expected diagnostic line. + +2023-12-13 Richard Ball <richard.ball@arm.com> + + * gcc.target/aarch64/sve/acle/asm/test_sve_acle.h: Add include + arm_neon_sve_bridge header file + * gcc.dg/torture/neon-sve-bridge.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_bf16.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_f16.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_f32.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_f64.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_s16.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_s32.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_s64.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_s8.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_u16.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_u32.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_u64.c: New test. + * gcc.target/aarch64/sve/acle/asm/dup_neonq_u8.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_bf16.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_f16.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_f32.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_f64.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_s16.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_s32.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_s64.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_s8.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_u16.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_u32.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_u64.c: New test. + * gcc.target/aarch64/sve/acle/asm/get_neonq_u8.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_bf16.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_f16.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_f32.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_f64.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_s16.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_s32.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_s64.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_s8.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_u16.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_u32.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_u64.c: New test. + * gcc.target/aarch64/sve/acle/asm/set_neonq_u8.c: New test. + * gcc.target/aarch64/sve/acle/general-c/dup_neonq_1.c: New test. + * gcc.target/aarch64/sve/acle/general-c/get_neonq_1.c: New test. + * gcc.target/aarch64/sve/acle/general-c/set_neonq_1.c: New test. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + * g++.dg/overload/error6.C: Pass -fdiagnostics-all-candidates. + * g++.dg/cpp0x/deleted16.C: New test. + * g++.dg/cpp0x/deleted16a.C: New test. + * g++.dg/overload/error6a.C: New test. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + * g++.dg/diagnostic/param-type-mismatch-2.C: Rename template + function test_7 that (maybe accidentally) shares the same name + as its non-template callee. + * g++.dg/overload/error6.C: New test. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + * g++.dg/overload/error5.C: New test. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + PR c++/99186 + PR c++/104867 + * g++.dg/cpp1z/nontype-auto23.C: New test. + * g++.dg/cpp1z/nontype-auto24.C: New test. + +2023-12-13 Patrick Palka <ppalka@redhat.com> + + PR c++/93740 + * g++.dg/template/ptrmem34.C: New test. + +2023-12-13 Jason Merrill <jason@redhat.com> + + * c-c++-common/Waddress-of-packed-member-1.c: Don't expect + a warning on the cast cases. + * c-c++-common/pr51628-35.c: Use -Wcast-align=strict. + * g++.dg/warn/Waddress-of-packed-member3.C: Likewise. + * gcc.dg/pr88928.c: Likewise. + * gcc.dg/pr51628-20.c: Removed. + * gcc.dg/pr51628-21.c: Removed. + * gcc.dg/pr51628-25.c: Removed. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * gfortran.dg/goacc/enter-exit-data-2.f90: New test. + * gfortran.dg/goacc/finalize-1.f: Adjust scan output. + * gfortran.dg/gomp/map-9.f90: Adjust scan output. + * gfortran.dg/gomp/map-subarray-2.f90: New test. + * gfortran.dg/gomp/map-subarray.f90: New test. + * gfortran.dg/gomp/target-enter-exit-data.f90: New test. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * c-c++-common/gomp/clauses-2.c: Fix error output. + * c-c++-common/gomp/target-implicit-map-2.c: Adjust scan output. + * c-c++-common/gomp/target-50.c: Adjust scan output. + * c-c++-common/gomp/target-enter-data-1.c: Adjust scan output. + * g++.dg/gomp/static-component-1.C: New test. + * gcc.dg/gomp/target-3.c: Adjust scan output. + * gfortran.dg/gomp/map-9.f90: Adjust scan output. + +2023-12-13 Jason Merrill <jason@redhat.com> + + PR c++/96997 + * g++.dg/debug/cleanup2.C: New test. + +2023-12-13 Jason Merrill <jason@redhat.com> + + Revert: + 2023-12-13 Jason Merrill <jason@redhat.com> + + * g++.dg/pr112822.C: Require C++17. + +2023-12-13 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/112921 + * gm2/iso/run/pass/shorttest.mod: New test. + +2023-12-13 Nathaniel Shead <nathanieloshead@gmail.com> + + PR c++/71093 + * g++.dg/cpp1y/constexpr-lifetime1.C: Improve error message. + * g++.dg/cpp1y/constexpr-lifetime2.C: Likewise. + * g++.dg/cpp1y/constexpr-lifetime3.C: Likewise. + * g++.dg/cpp1y/constexpr-lifetime4.C: Likewise. + * g++.dg/cpp2a/bitfield2.C: Likewise. + * g++.dg/cpp2a/constexpr-new3.C: Likewise. New check. + * g++.dg/cpp1y/constexpr-lifetime7.C: New test. + * g++.dg/cpp2a/constexpr-lifetime1.C: New test. + * g++.dg/cpp2a/constexpr-lifetime2.C: New test. + +2023-12-13 Jason Merrill <jason@redhat.com> + + PR c++/108243 + * g++.dg/cpp2a/consteval-prop6.C: Adjust diagnostic. + * g++.dg/opt/is_constant_evaluated3.C: Remove xfails. + +2023-12-13 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp1y/constexpr-nsdmi7b.C: Adjust line. + * g++.dg/template/copy1.C: Likewise. + +2023-12-13 Jason Merrill <jason@redhat.com> + + * g++.dg/pr112822.C: Require C++17. + +2023-12-13 Andrew Carlotti <andrew.carlotti@arm.com> + + * gcc.target/aarch64/cpunative/native_cpu_18.c: Add \+nopauth\n + * gcc.target/aarch64/options_set_7.c: Add \+crc\n + * gcc.target/aarch64/options_set_8.c: Add \+crc\+nodotprod\n + * gcc.target/aarch64/cpunative/native_cpu_0.c: Add \n + * gcc.target/aarch64/cpunative/native_cpu_1.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_2.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_3.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_4.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_5.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_6.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_7.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_8.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_9.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_10.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_11.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_12.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_13.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_14.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_15.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_16.c: Ditto. + * gcc.target/aarch64/cpunative/native_cpu_17.c: Ditto. + * gcc.target/aarch64/options_set_1.c: Ditto. + * gcc.target/aarch64/options_set_2.c: Ditto. + * gcc.target/aarch64/options_set_3.c: Ditto. + * gcc.target/aarch64/options_set_5.c: Ditto. + * gcc.target/aarch64/options_set_6.c: Ditto. + * gcc.target/aarch64/options_set_9.c: Ditto. + * gcc.target/aarch64/options_set_11.c: Ditto. + * gcc.target/aarch64/options_set_12.c: Ditto. + * gcc.target/aarch64/options_set_13.c: Ditto. + * gcc.target/aarch64/options_set_14.c: Ditto. + * gcc.target/aarch64/options_set_15.c: Ditto. + * gcc.target/aarch64/options_set_16.c: Ditto. + * gcc.target/aarch64/options_set_17.c: Ditto. + * gcc.target/aarch64/options_set_18.c: Ditto. + * gcc.target/aarch64/options_set_19.c: Ditto. + * gcc.target/aarch64/options_set_20.c: Ditto. + * gcc.target/aarch64/options_set_21.c: Ditto. + * gcc.target/aarch64/options_set_22.c: Ditto. + * gcc.target/aarch64/options_set_23.c: Ditto. + * gcc.target/aarch64/options_set_24.c: Ditto. + * gcc.target/aarch64/options_set_25.c: Ditto. + * gcc.target/aarch64/options_set_26.c: Ditto. + +2023-12-13 Peter Bergner <bergner@linux.ibm.com> + + PR tree-optimization/112822 + * g++.dg/pr112822.C: Add dg-do compile target c++17 directive. + +2023-12-13 Pan Li <pan2.li@intel.com> + + PR target/112929 + PR target/112988 + * gcc.target/riscv/rvv/vsetvl/pr112929.c: Moved to... + * gcc.target/riscv/rvv/vsetvl/pr112929-1.c: ...here. + * gcc.target/riscv/rvv/vsetvl/pr112988.c: Moved to... + * gcc.target/riscv/rvv/vsetvl/pr112988-1.c: ...here. + * gcc.target/riscv/rvv/vsetvl/pr112929-2.c: New test. + * gcc.target/riscv/rvv/vsetvl/pr112988-2.c: New test. + +2023-12-13 Andrew Carlotti <andrew.carlotti@arm.com> + + * g++.target/aarch64/sve/aarch64-ssve.exp: + +2023-12-13 Roger Sayle <roger@nextmovesoftware.com> + Jeff Law <jlaw@ventanamicro.com> + + * gcc.target/arc/extvsi-1.c: New test case. + * gcc.target/arc/extvsi-2.c: Likewise. + +2023-12-13 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + PR target/112929 + PR target/112988 + * gcc.target/riscv/rvv/vsetvl/pr112929.c: New test. + * gcc.target/riscv/rvv/vsetvl/pr112988.c: New test. + +2023-12-13 demin.han <demin.han@starfivetech.com> + + * gcc.dg/vect/costmodel/riscv/rvv/riscv_vector.h: New file. + +2023-12-13 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + PR target/111317 + * gcc.dg/vect/costmodel/riscv/rvv/pr111317.c: New test. + +2023-12-13 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/112940 + * gcc.dg/bitint-53.c: New test. + +2023-12-13 Jakub Jelinek <jakub@redhat.com> + + PR target/112962 + * gcc.target/i386/pr112962.c: New test. + +2023-12-13 Richard Biener <rguenther@suse.de> + + PR tree-optimization/112991 + PR tree-optimization/112961 + * gcc.dg/torture/pr112991.c: New testcase. + +2023-12-13 Victor Do Nascimento <victor.donascimento@arm.com> + + * gcc.target/aarch64/builtin_pld_pli.c: New. + * gcc.target/aarch64/builtin_pld_pli_illegal.c: New. + +2023-12-13 Haochen Jiang <haochen.jiang@intel.com> + + * gcc.target/i386/pr110790-2.c: Change scan-assembler from shrq + to shr\[qx\]. + +2023-12-13 Jiufu Guo <guojiufu@linux.ibm.com> + + * gcc.target/powerpc/const-build-1.c: New test. + 2023-12-12 Jason Merrill <jason@redhat.com> Jason Xu <rxu@DRWHoldings.com> |