From d508d70836117fe519cb76d8ad38e096fbd26d49 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Thu, 9 May 2024 10:58:01 +0000 Subject: [PATCH] Daily bump. --- c++tools/ChangeLog | 9 + contrib/ChangeLog | 16 + fixincludes/ChangeLog | 4 + gcc/ChangeLog | 614 ++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 295 ++++++++++++++ gcc/c-family/ChangeLog | 24 ++ gcc/cp/ChangeLog | 68 ++++ gcc/objcp/ChangeLog | 4 + gcc/testsuite/ChangeLog | 248 ++++++++++++ libatomic/ChangeLog | 11 + libffi/ChangeLog | 7 + libgcc/ChangeLog | 27 ++ libgcc/config/avr/libf7/ChangeLog | 8 + libgfortran/ChangeLog | 7 + libgomp/ChangeLog | 7 + libitm/ChangeLog | 7 + libquadmath/ChangeLog | 7 + libssp/ChangeLog | 7 + libstdc++-v3/ChangeLog | 70 ++++ 20 files changed, 1441 insertions(+), 1 deletion(-) diff --git a/c++tools/ChangeLog b/c++tools/ChangeLog index 3fb2bc31b01..8f914531c4f 100644 --- a/c++tools/ChangeLog +++ b/c++tools/ChangeLog @@ -1,3 +1,12 @@ +2024-05-07 Rainer Orth + + * configure.ac (ax_lib_socket_nsl.m4): Don't sinclude. + (AX_LIB_SOCKET_NSL): Don't call. + (NETLIBS): Remove. + * configure: Regenerate. + * Makefile.in (NETLIBS): Remove. + (g++-mapper-server$(exeext)): Remove $(NETLIBS). + 2023-06-22 Marek Polacek * configure.ac (--enable-host-bind-now): New check. diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 7463efb9b77..c97aac8ddcd 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,19 @@ +2024-05-09 Jakub Jelinek + + * gcc-changelog/git_update_version.py: Add + 9dbff9c05520a74e6cd337578f27b56c941f64f3 to IGNORED_COMMITS. + +2024-05-07 Rainer Orth + + * make_sunver.pl: Use File::Basename; + Skip -lLIB args. + Convert libtool object/archive names to underlying + objects/archives. + +2024-05-07 Jakub Jelinek + + * gennews (files): Add files for GCC 14. + 2024-05-06 Ken Matsui * gcc-changelog/git_check_commit.py: Implement --num-commits. diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 7fbb6115fc9..37403c66be0 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,7 @@ +2024-05-07 Zac Walker + + * mkfixinc.sh: Extend for *-mingw32* targets. + 2023-11-22 Francois-Xavier Coudert * configure: Regenerated. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4575b7f4940..12a7d754b23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,617 @@ +2024-05-09 YunQiang Su + + * config/mips/constraints.md: Add new constraint 'w'. + +2024-05-09 Hu, Lin1 + + PR target/84508 + * config/i386/emmintrin.h + (_mm_load_sd): Remove alignment requirement. + (_mm_store_sd): Ditto. + (_mm_loadh_pd): Ditto. + (_mm_loadl_pd): Ditto. + (_mm_storel_pd): Add alignment requirement. + * config/i386/xmmintrin.h + (_mm_loadh_pi): Remove alignment requirement. + (_mm_loadl_pi): Ditto. + (_mm_load_ss): Ditto. + (_mm_store_ss): Ditto. + +2024-05-09 Aldy Hernandez + + PR tree-optimization/114912 + * value-range.h (class Value_Range): Use a union. + +2024-05-09 Aldy Hernandez + + * range-op.cc (range_op_handler::discriminator_fail): Reword error + message. + +2024-05-09 konglin1 + + * config/i386/i386.cc (ix86_hardreg_mov_ok): Relax + hard reg mov restriction when lra in progress. + +2024-05-08 Xiao Zeng + + * config/riscv/riscv.cc (riscv_legitimize_move): Expand movbf + with Nan-boxing value. + * config/riscv/riscv.md (*movbf_softfloat_boxing): New pattern. + +2024-05-08 Jeff Law + + * config/riscv/riscv.cc (riscv_build_integer_1): Fix incorrect + if-then-else nesting of Zbs code. + +2024-05-08 Vladimir N. Makarov + + PR target/114810 + * lra-constraints.cc (process_alt_operands): Calculate union reg + class for the alternative, peak matched regs and required reload + regs. Recognize alternatives with lack of available registers and + make them costly. Add debug print about this case. + +2024-05-08 Andrew Pinski + + PR tree-optimization/112392 + * match.pd (`x CMP nonnegative ? x : ABS`): New pattern; + where CMP is ==, > and >=. + (`x CMP nonnegative@y ? y : ABS`): New pattern. + +2024-05-08 Ajit Kumar Agarwal + + PR tree-optimization/81953 + * tree-ssa-sink.cc (statement_sink_location):Sink statements at + the begining of the basic block after labels. + +2024-05-08 Christoph Müllner + + * config/riscv/iterators.md (ashiftrt): New code attribute + 'extract_shift' and adding extractions to optab. + * config/riscv/riscv.md (*lshr3_zero_extend_4): Rename to... + (*3):...this and add support for + sign-extensions. + +2024-05-08 Christoph Müllner + + PR target/111501 + * config/riscv/riscv.md (*lshr3_zero_extend_4): New + pattern for zero-extraction. + +2024-05-08 Christoph Müllner + + * config/riscv/iterators.md (sraiw): New code iterator 'any_extract'. + New code attribute 'extract_sidi_shift'. + * config/riscv/riscv.md (*lshrsi3_zero_extend_2): Rename to... + (*lshrsi3_extend_2):...this and add support for sign-extensions. + +2024-05-08 Richard Biener + + * tree-vect-loop.cc (get_initial_defs_for_reduction): Convert + initial value to the vector component type. + +2024-05-08 Richard Biener + + * tree-vect-data-refs.cc (vect_enhance_data_refs_alignment): + Properly guard DR_GROUP_SIZE access with STMT_VINFO_GROUPED_ACCESS. + +2024-05-08 Alex Coplan + + PR target/114936 + * config/aarch64/aarch64-ldp-fusion.cc (combine_reg_notes): + Ensure insn iN has its REG_FRAME_RELATED_EXPR (if any) stored in + FR_EXPR[N-1], thus matching the correspondence expected by the + copy_rtx calls. + +2024-05-08 Stefan Schulze Frielinghaus + + * tree-ssa-loop-prefetch.cc (determine_unroll_factor): Honour + -fno-unroll-loops. + +2024-05-08 Georg-Johann Lay + + PR target/114975 + * config/avr/avr.md: Add combine pattern for + 8-bit parity detection. + +2024-05-08 Georg-Johann Lay + + PR target/114975 + * config/avr/avr.md: Add combine pattern for + 8-bit popcount detection. + +2024-05-08 Richard Biener + + * tree-into-ssa.cc (insert_updated_phi_nodes_for): Skip + pruning when the nearest common dominator is the successor + of ENTRY_BLOCK. Do not copy IDF but prune it directly. + +2024-05-08 Jakub Jelinek + + PR tree-optimization/114965 + * tree-ssa-reassoc.cc (optimize_range_tests_to_bit_test): Don't try to + optimize away exp - lowi subtraction from shift count unless entry + test is emitted or unless r.upper_bound () is smaller than prec. + +2024-05-08 Eric Botcazou + + * expmed.h (choose_multiplier): Tweak description and remove last + parameter. + * expmed.cc (choose_multiplier): Likewise. Add assertion for the + third parameter and adds details to various comments. + (invert_mod2n): Tweak description and add assertion for the first + parameter. + (expand_divmod): Adjust calls to choose_multiplier. + * tree-vect-generic.cc (expand_vector_divmod): Likewise. + * tree-vect-patterns.cc (vect_recog_divmod_pattern): Likewise. + +2024-05-08 konglin1 + + PR target/109549 + * config/i386/i386.cc (ix86_rtx_costs): The XEXP (x, 0) for cmov + is an operator do not need to compute cost. + +2024-05-08 Aldy Hernandez + + * gimple-range-cache.cc (sbr_sparse_bitmap::sbr_sparse_bitmap): + Change irange to prange. + * gimple-range-fold.cc (fold_using_range::fold_stmt): Same. + (fold_using_range::range_of_address): Same. + * gimple-range-fold.h (range_of_address): Same. + * gimple-range-infer.cc (gimple_infer_range::add_nonzero): Same. + * gimple-range-op.cc (class cfn_strlen): Same. + * gimple-range-path.cc + (path_range_query::adjust_for_non_null_uses): Same. + * gimple-ssa-warn-access.cc (pass_waccess::check_pointer_uses): Same. + * tree-ssa-structalias.cc (find_what_p_points_to): Same. + * range-op-ptr.cc (range_op_table::initialize_pointer_ops): Remove + hybrid entries in table. + * range-op.cc (range_op_table::range_op_table): Add pointer + entries for bitwise and/or and min/max. + * value-range.cc (irange::verify_range): Add assert. + * value-range.h (irange::varying_compatible_p): Remove check for + error_mark_node. + (irange::supports_p): Remove pointer support. + * ipa-cp.h (ipa_supports_p): Add prange support. + +2024-05-07 Andrew Pinski + + PR tree-optimization/19661 + * tree-ssa-dce.cc (is_cxa_atexit): New function. + (is_removable_cxa_atexit_call): New function. + (mark_stmt_if_obviously_necessary): Don't mark removable + cxa_at_exit calls. + (mark_all_reaching_defs_necessary_1): Likewise. + (propagate_necessity): Likewise. + +2024-05-07 Andrew Pinski + + PR tree-optimization/114894 + * match.pd (`a != 0 ? a / b : 0`): New pattern. + (`a != 0 ? a * b : 0`): New pattern. + (`a != 0 ? a & b : 0`): New pattern. + +2024-05-07 Jeff Law + + * config/riscv/riscv.cc (generic_ooo_tune_info): Turn on + overlap_op_by_pieces. + +2024-05-07 Christoph Müllner + + * config/riscv/riscv.cc (struct riscv_tune_param): Add new + "overlap_op_by_pieces" field. + (rocket_tune_info, sifive_7_tune_info): Set it. + (sifive_p400_tune_info, sifive_p600_tune_info): Likewise. + (thead_c906_tune_info, xiangshan_nanhu_tune_info): Likewise. + (generic_ooo_tune_info, optimize_size_tune_info): Likewise. + (riscv_overlap_op_by_pieces): New function. + (TARGET_OVERLAP_OP_BY_PIECES_P): define. + +2024-05-07 Jakub Jelinek + + PR middle-end/114907 + * expr.cc (convert_mode_scalar): Use trunc_optab rather than + sext_optab for HF->BF conversions. + * optabs-libfuncs.cc (gen_trunc_conv_libfunc): Likewise. + +2024-05-07 Jakub Jelinek + + PR sanitizer/114956 + * tree-inline.cc: Include asan.h. + (copy_bb): Remove also .ASAN_MARK calls if id->dst_fn has asan/hwasan + sanitization disabled. + +2024-05-07 Jeff Law + + * config/riscv/riscv-string.cc (riscv_expand_strcmp): Do not inline + strncmp with zero size. + (emit_strcmp_scalar_compare_subword): Adjust rotation for rv32 vs rv64. + * config/riscv/riscv.opt (var_inline_strcmp): Enable by default. + (vriscv_inline_strncmp, riscv_inline_strlen): Likewise. + +2024-05-07 Zac Walker + + * config.gcc: Build and add objects for Cygwin and MinGW. Add Cygwin + and MinGW options to the target. + +2024-05-07 Zac Walker + + * config/i386/mingw-w64.opt.urls: Rename options' name and + regenerate option URLs. + * config/lynx.opt.urls: Likewise. + * config/mingw/cygming.opt.urls: Likewise. + * config/mingw/mingw.opt.urls: Likewise. + * doc/invoke.texi: Likewise. + +2024-05-07 Zac Walker + + * config/aarch64/aarch64.h (struct seh_frame_state): Declare SEH + structure in machine_function. + (GTY): Add SEH field. + +2024-05-07 Zac Walker + + * config.gcc: Add Cygwin and MinGW difinitions. + * config/aarch64/aarch64-protos.h + (mingw_pe_maybe_record_exported_symbol): Declare functions + which are used in Cygwin and MinGW environment. + (mingw_pe_section_type_flags): Likewise. + (mingw_pe_unique_section): Likewise. + (mingw_pe_encode_section_info): Likewise. + * config/aarch64/cygming.h: New file. + +2024-05-07 Zac Walker + + * config.gcc: Define TARGET_AARCH64_MS_ABI. + * config/mingw/mingw-stdint.h (INTPTR_TYPE): Use + TARGET_AARCH64_MS_ABI to adjust MinGW headers for + AArch64 MS ABI. + (UINTPTR_TYPE): Likewise. + (defined): Likewise. + * config/mingw/mingw32.h (DEFAULT_ABI): Likewise. + (defined): Likewise. + * config/mingw/winnt.cc (defined): Use TARGET_ARM64_MS_ABI to + exclude ix86_get_callcvt. + (i386_pe_maybe_mangle_decl_assembler_name): Likewise. + (i386_pe_mangle_decl_assembler_name): Likewise. + +2024-05-07 Zac Walker + + * config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): + Rename functions in mingw folder which will be reused for + aarch64. + (TARGET_ASM_UNIQUE_SECTION): Likewise. + (TARGET_ASM_NAMED_SECTION): Likewise. + (TARGET_SECTION_TYPE_FLAGS): Likewise. + (ASM_DECLARE_COLD_FUNCTION_NAME): Likewise. + (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. + * config/i386/i386-protos.h (i386_pe_unique_section): + Rename into ... + (mingw_pe_unique_section): ... this. + (i386_pe_declare_function_type): Rename into ... + (mingw_pe_declare_function_type): ... this. + (i386_pe_encode_section_info): Rename into ... + (mingw_pe_encode_section_info): ... this. + (i386_pe_maybe_record_exported_symbol): Rename into ... + (mingw_pe_maybe_record_exported_symbol): ... this. + (i386_pe_section_type_flags): Rename into ... + (mingw_pe_section_type_flags): ... this. + (i386_pe_asm_named_section): Rename into ... + (mingw_pe_asm_named_section): ... this. + * config/mingw/winnt.cc (i386_pe_encode_section_info): + Rename into ... + (mingw_pe_encode_section_info): ... this. + (i386_pe_unique_section): Rename into ... + (mingw_pe_unique_section): ... this. + (i386_pe_section_type_flags): Rename into ... + (mingw_pe_section_type_flags): ... this. + (i386_pe_asm_named_section): Rename into ... + (mingw_pe_asm_named_section): ... this. + (i386_pe_asm_output_aligned_decl_common): Likewise. + (i386_pe_declare_function_type): Rename into ... + (mingw_pe_declare_function_type): ... this. + (i386_pe_maybe_record_exported_symbol): Rename into ... + (mingw_pe_maybe_record_exported_symbol): ... this. + (i386_pe_start_function): Likewise. + * varasm.cc (switch_to_comdat_section): Likewise. + +2024-05-07 Zac Walker + + * config.gcc: Adjust targets after moving MinGW related files + from i386 to mingw folder. + * config/i386/cygming.opt: Move to... + * config/mingw/cygming.opt: ...here. + * config/i386/cygming.opt.urls: Move to... + * config/mingw/cygming.opt.urls: ...here. + * config/i386/cygwin-d.cc: Move to... + * config/mingw/cygwin-d.cc: ...here. + * config/i386/mingw-stdint.h: Move to... + * config/mingw/mingw-stdint.h: ...here. + * config/i386/mingw.opt: Move to... + * config/mingw/mingw.opt: ...here. + * config/i386/mingw.opt.urls: Move to... + * config/mingw/mingw.opt.urls: ...here. + * config/i386/mingw32.h: Move to... + * config/mingw/mingw32.h: ...here. + * config/i386/msformat-c.cc: Move to... + * config/mingw/msformat-c.cc: ...here. + * config/i386/t-cygming: Move to... + * config/mingw/t-cygming: ...here and updated. + * config/i386/winnt-cxx.cc: Move to... + * config/mingw/winnt-cxx.cc: ...here. + * config/i386/winnt-d.cc: Move to... + * config/mingw/winnt-d.cc: ...here. + * config/i386/winnt-stubs.cc: Move to... + * config/mingw/winnt-stubs.cc: ...here. + * config/i386/winnt.cc: Move to... + * config/mingw/winnt.cc: ...here. + +2024-05-07 Zac Walker + + * config.gcc: Add COFF format support definitions. + * config/aarch64/aarch64-coff.h: New file. + +2024-05-07 Zac Walker + + * config.gcc: Define TARGET_AARCH64_MS_ABI when + AArch64 MS ABI is used. + * config/aarch64/aarch64.h (FIXED_X18): Adjust + FIXED_REGISTERS, CALL_REALLY_USED_REGISTERS and + STATIC_CHAIN_REGNUM for AArch64 MS ABI. + (CALL_USED_X18): Likewise. + (FIXED_REGISTERS): Likewise. + * config/aarch64/aarch64-abi-ms.h: New file. + +2024-05-07 Zac Walker + + * config.gcc: Add aarch64-w64-mingw32 target. + +2024-05-07 Alex Coplan + + PR target/114674 + * config/aarch64/aarch64-ldp-fusion.cc (ldp_bb_info::fuse_pair): + Use replace_equiv_address_nv on a change of base instead of + adjust_address_nv on the other access. + +2024-05-07 Richard Biener + + * tree-into-ssa.cc (insert_updated_phi_nodes_for): Fix block + index check. + +2024-05-07 Richard Biener + + * tree-ssa-live.cc (init_var_map): Pre-allocate vec_bbs vector + to the correct size and use quick_push. + +2024-05-07 Richard Biener + + PR middle-end/27800 + * gimplify.cc (gimplify_modify_expr_rhs): For a COND_EXPR + avoid a temporary from gimplify_cond_expr when the LHS is + a register by pushing the assignment into the COND_EXPR arms. + +2024-05-07 Richard Biener + + * gimplify.cc (gimplify_hasher::equal): Remove redundant + checking. + +2024-05-07 Stefan Schulze Frielinghaus + + PR tree-optimization/110490 + * tree-scalar-evolution.cc (expression_expensive_p): Also + consider mode widening for popcount, clz, and ctz. + +2024-05-07 Richard Biener + + * cfgexpand.cc (stack_var::representative): Use 'unsigned' + for stack var indexes instead of 'size_t'. + (stack_var::next): Likewise. + (EOC): Likewise. + (stack_vars_alloc): Likewise. + (stack_vars_num): Likewise. + (decl_to_stack_part): Likewise. + (stack_vars_sorted): Likewise. + (add_stack_var): Likewise. + (add_stack_var_conflict): Likewise. + (stack_var_conflict_p): Likewise. + (visit_op): Likewise. + (visit_conflict): Likewise. + (add_scope_conflicts_1): Likewise. + (stack_var_cmp): Likewise. + (part_hashmap): Likewise. + (update_alias_info_with_stack_vars): Likewise. + (union_stack_vars): Likewise. + (partition_stack_vars): Likewise. + (dump_stack_var_partition): Likewise. + (expand_stack_vars): Likewise. + (account_stack_vars): Likewise. + (stack_protect_decl_phase_1): Likewise. + (stack_protect_decl_phase_2): Likewise. + (asan_decl_phase_3): Likewise. + (init_vars_expansion): Likewise. + (estimated_stack_frame_size): Likewise. + +2024-05-07 Richard Biener + + PR middle-end/114931 + * tree.cc (type_hash_canon_hash): Hash TYPE_STRUCTURAL_EQUALITY_P. + (type_cache_hasher::equal): Compare TYPE_STRUCTURAL_EQUALITY_P. + (build_array_type_1): Set TYPE_STRUCTURAL_EQUALITY_P before + probing with type_hash_canon. + (build_function_type): Likewise. + (build_method_type_directly): Likewise. + (build_offset_type): Likewise. + (build_complex_type): Likewise. + * attribs.cc (build_type_attribute_qual_variant): Likewise. + +2024-05-07 Aldy Hernandez + + * ipa-cp.cc (ipa_vr_operation_and_type_effects): Use ipa_supports_p. + (ipa_value_range_from_jfunc): Change Value_Range type. + (propagate_vr_across_jump_function): Same. + * ipa-cp.h (ipa_supports_p): New. + * ipa-fnsummary.cc (evaluate_conditions_for_known_args): Change Value_Range type. + * ipa-prop.cc (ipa_compute_jump_functions_for_edge): Use ipa_supports_p. + (ipcp_get_parm_bits): Same. + +2024-05-07 Rainer Orth + + * config.gcc: Move *-*-solaris2.11.[0-3]* to unsupported list. + <*-*-solaris2*> (default_use_cxa_atexit): Set unconditionally. + * configure.ac (AX_LIB_SOCKET_NSL): Don't call. + (NETLIBS): Remove. + (gcc_cv_ld_aligned_shf_merge): Remove. + (hidden_linkonce) : Remove. + (gcc_cv_target_dl_iterate_phdr) <*-*-solaris2*>: Always set to yes. + * Makefile.in (NETLIBS): Remove. + * configure, config.in, aclocal.m4: Regenerate. + * config/sol2.h: Don't check HAVE_SOLARIS_CRTS. + (STARTFILE_SPEC): Remove !HAVE_SOLARIS_CRTS case. + [USE_GLD] (LINK_EH_SPEC): Remove TARGET_DL_ITERATE_PHDR guard. + * config/i386/i386.cc (USE_HIDDEN_LINKONCE): Remove guard. + * varasm.cc (mergeable_string_section): Remove + HAVE_LD_ALIGNED_SHF_MERGE handling. + (mergeable_constant_section): Likewise. + * doc/install.texi (Specific,i?86-*-solaris2*): Reference Solaris + 11.4 only. + (Specific, *-*-solaris2*): Document Solaris 11.3 removal. Remove + 11.3 references and caveats. Update for 11.4. + +2024-05-07 Andrew Pinski + + PR middle-end/97263 + * doc/invoke.texi(fmath-errno): Document it is turned on + with -Ofast. + (funsafe-math-optimizations): Likewise. + (ffinite-math-only): Likewise. + (fno-trapping-math): Likewise and use less strong language. + +2024-05-07 liuhongt + + * config/i386/sse.md (usdot_prodv*qi): Extend to VI1_AVX512 + with vpmaddwd when avxvnni/avx512vnni is not available. + +2024-05-07 liuhongt + + PR target/113079 + * config/i386/mmx.md (usdot_prodv8qi): New expander. + (sdot_prodv8qi): Ditto. + (udot_prodv8qi): Ditto. + (usdot_prodv4hi): Ditto. + (udot_prodv4hi): Ditto. + (sdot_prodv4hi): Ditto. + +2024-05-07 liuhongt + + PR target/113090 + * config/i386/i386-expand.cc + (expand_vec_perm_punpckldq_pshuf): New function. + (ix86_expand_vec_perm_const_1): Try + expand_vec_perm_punpckldq_pshuf for sequence of 2 + instructions. + +2024-05-07 Dimitar Dimitrov + + * config/pru/pru-passes.cc (class pass_pru_minrt_check): New + pass. + (pass_pru_minrt_check::execute): New method. + (make_pru_minrt_check): New function. + * config/pru/pru-passes.def (INSERT_PASS_AFTER): Register the + minrt check pass. + * config/pru/pru-protos.h (make_pru_minrt_check): Add + declaration. + +2024-05-07 Dimitar Dimitrov + + * config/pru/pru-passes.cc (class pass_tiabi_check): Rename to + add "pru_" prefix. + (class pass_pru_tiabi_check): Ditto. + (pass_tiabi_check::execute): Ditto. + (pass_pru_tiabi_check::execute): Ditto. + (make_pru_tiabi_check): Ditto. + (pru_register_abicheck_pass): Remove. + * config/pru/pru-protos.h (pru_register_abicheck_pass): Remove. + (make_pru_tiabi_check): Add declaration. + * config/pru/pru.cc (pru_option_override): Remove explicit pass + registration. + * config/pru/t-pru: Register PRU passes definition file. + * config/pru/pru-passes.def: New file. + +2024-05-07 Dimitar Dimitrov + + * config/pru/pru.md (lshrdi3): Use HOST_WIDE_INT_1U macro. + (ashldi3): Ditto. + +2024-05-07 Dimitar Dimitrov + + * config/pru/pru-passes.cc: Drop ATTRIBUTE_UNUSED and remove + argument's name. + * config/pru/pru-pragma.cc (pru_pragma_ctable_entry): Ditto. + * config/pru/pru.cc (pru_function_profiler): Ditto. + (pru_can_eliminate): Ditto. + (pru_rtx_costs): Ditto. + (pru_insert_attributes): Ditto. + (pru_function_value): Ditto. + (pru_libcall_value): Ditto. + (pru_return_in_memory): Ditto. + (pru_builtin_decl): Ditto. + (pru_expand_builtin): Ditto. + +2024-05-07 Dimitar Dimitrov + + * config/pru/pru.cc (prologue_saved_reg_p): Skip saving + if function will not return. + +2024-05-07 Dimitar Dimitrov + + * config/pru/alu-zext.md (_noz0): New subst attribute. + (_impl): Allow zero-extending the destination. + (): Remove unified pattern + (ashl_impl): New distinct pattern. + (lshr_impl): Ditto. + (alu3_zext_op0_subst): New subst iterator to zero-extend the + destination register. + +2024-05-07 Dimitar Dimitrov + + * config/pru/pru.md (extzv): Make it an expand pattern, + handle efficiently zero-positioned bit-fields. + (insv): New expand pattern. + +2024-05-07 Dimitar Dimitrov + + * config/pru/pru.md: New pattern alternative for zero-filling + 64-bit registers. + +2024-05-07 Dimitar Dimitrov + + * config/pru/pru.cc (pru_address_cost): Implement address cost + calculation. + (TARGET_ADDRESS_COST): Define for PRU. + +2024-05-07 Richard Biener + + PR tree-optimization/114921 + * tree-vect-stmts.cc (vectorizable_assignment): Use + tree_nop_conversion_p to identify converts we can vectorize + with a simple assignment. + +2024-05-07 Roger Sayle + Hongtao Liu + + PR target/106060 + * config/i386/i386-expand.cc (enum ix86_vec_bcast_alg): New. + (struct ix86_vec_bcast_map_simode_t): New type for table below. + (ix86_vec_bcast_map_simode): Table of SImode constants that may + be efficiently synthesized by a ix86_vec_bcast_alg method. + (ix86_vec_bcast_map_simode_cmp): New comparator for bsearch. + (ix86_vector_duplicate_simode_const): Efficiently synthesize + V4SImode and V8SImode constants that duplicate special constants. + (ix86_vector_duplicate_value): Attempt to synthesize "special" + vector constants using ix86_vector_duplicate_simode_const. + * config/i386/i386.cc (ix86_rtx_costs) : ABS of a + vector integer mode costs with a single SSE instruction. + 2024-05-06 Xiao Zeng * common/config/riscv/riscv-common.cc (riscv_implied_info): zfbfmin diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 3745142efd0..73da64a4ae1 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240507 +20240509 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 3c3459c2908..db414f25452 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,298 @@ +2024-05-07 Piotr Trojanek + + * sem_util.adb (Number_Of_Elements_In_Array): Fix counting of + elements in null arrays; remove redundant parenthesis; avoid + run-time conversion of 1 to universal integer. + +2024-05-07 Piotr Trojanek + + * lib.ads, lib.adb (Primary_Stack_Count, Sec_Stack_Count, + Increment_Primary_Stack_Count, Increment_Sec_Stack_Count, + Unit_Record): Stack counts are never negative. + * ali.ads (Unit_Record): Likewise. + * bindgen.adb (Num_Primary_Stacks, Num_Sec_Stacks): Likewise. + * exp_ch3.adb (Count_Default_Sized_Task_Stacks): Likewise. + * sem_util.ads, sem_util.adb (Number_Of_Elements_In_Array): + Likewise. + +2024-05-07 Piotr Trojanek + + * exp_ch3.adb (Count_Default_Sized_Task_Stacks): Do not look for + tasks inside record discriminants; remove avoid repeated call to + Has_Task that happened for record components. + (Expand_N_Object_Declaration): Use high-level routine to detect + array types and subtypes; remove unused initial values. + +2024-05-07 Piotr Trojanek + + * exp_aggr.ads (Static_Array_Aggregate): Fix typo in comment. + +2024-05-07 Piotr Trojanek + + * inline.adb (Has_Single_Return): Remove redundant check for + empty list, because First works also for empty list. + +2024-05-07 Piotr Trojanek + + * exp_ch4.adb (Useful): Remove redundant check for empty list, + because iteration with First works also for empty list; rename + local variable from L to Action. + +2024-05-07 Piotr Trojanek + + * inline.adb (Has_Formal_With_Per_Object_Constrained_Component): + Use flag Has_Per_Object_Constraint which is set by analysis; + rename for consistency. + +2024-05-07 Piotr Trojanek + + * sem_attr.adb (Analyze_Access_Attribute): Replace loop with + Current_Scope_No_Loops. + +2024-05-07 Piotr Trojanek + + * sem_attr.adb (Analyze_Access_Attribute): Move code to IF + branch where its result is used. + +2024-05-07 Piotr Trojanek + + * sem_attr.adb (Analyze_Access_Attribute): Prevent search from + going too far. + * sem_ch3.adb (Analyze_Component_Declaration): Remove + Contains_POC; reuse Has_Discriminant_Dependent_Constraint. + +2024-05-07 Eric Botcazou + + * einfo.ads (Pending_Access_Types): Delete. + * exp_ch3.adb (Freeze_Type.Process_Pending_Access_Types): Likewise. + (Freeze_Type): Do not call Process_Pending_Access_Types. + * exp_ch7.ads (Make_Set_Finalize_Address_Call): Delete. + * exp_ch7.adb (Build_Finalization_Master.Add_Pending_Access_Type): + Delete. + (Build_Finalization_Master): Do not set Finalize_Address on the + master or call Add_Pending_Access_Type. + (Make_Set_Finalize_Address_Call): Delete. + * gen_il-fields.ads (Opt_Field_Enum): Remove Pending_Access_Types. + * gen_il-gen-gen_entities.adb (Type_Kind): Likewise. + * rtsfind.ads (RE_Id): Remove RE_Set_Finalize_Address. + (RE_Unit_Table): Likewise. + * sem_ch3.adb (Analyze_Full_Type_Declaration): Do not deal with + pending access types. + * libgnat/s-finmas.ads (Attach_Unprotected): Add Finalize_Address + second parameter. + (Delete_Finalize_Address_Unprotected): Delete. + (Finalize_Address): Likewise. + (Finalize_Address_Unprotected): Likewise. + (Is_Homogeneous): Likewise. + (Set_Finalize_Address): Likewise. + (Set_Finalize_Address_Unprotected): Likewise. + (Set_Heterogeneous_Finalize_Address_Unprotected): Likewise. + (Set_Is_Heterogeneous): Likewise. + (FM_Node): Add Finalize_Address component. + (Finalization_Master): Remove Is_Homogeneous and Finalize_Address + components. + * libgnat/s-finmas.adb: Remove with & use clauses for System.HTable. + (Finalize_Address_Table): Delete. + (Attach_Unprotected): Add Finalize_Address second parameter and save + its value in the Finalize_Address field of the node. + (Delete_Finalize_Address_Unprotected): Delete. + (Finalize): Call Finalize_Address saved in the nodes. + (Finalize_Address): Delete. + (Finalize_Address_Unprotected): Likewise. + (Hash): Likewise. + (Is_Homogeneous): Likewise. + (Print_Master): Adjust. + (Set_Finalize_Address): Delete. + (Set_Finalize_Address_Unprotected): Likewise. + (Set_Heterogeneous_Finalize_Address_Unprotected): Likewise. + (Set_Is_Heterogeneous): Likewise. + * libgnat/s-stposu.adb (Finalize_Address_Table_In_Use): Likewise. + (Allocate_Any_Controlled): Pass Fin_Address to Attach_Unprotected + and remove obsolete processing. + (Deallocate_Any_Controlled): Remove obsolete processing. + (Set_Pool_Of_Subpool): Do not call Set_Is_Heterogeneous. + +2024-05-07 Joffrey Huguet + + * libgnat/a-ngelfu.ads (Sqrt): Add Global contracts. + (Log): Likewise. + (Exp): Likewise. + ("**"): Likewise. + (Sin): Likewise. + (Cos): Likewise. + (Tan): Likewise. + (Cot): Likewise. + (Arcsin): Likewise. + (Arccos): Likewise. + (Arctan): Likewise. + (Arccot): Likewise. + (Sinh): Likewise. + (Cosh): Likewise. + (Tanh): Likewise. + (Coth): Likewise. + (Arcsinh): Likewise. + (Arccosh): Likewise. + (Arctanh): Likewise. + (Arccoth): Likewise. + +2024-05-07 Eric Botcazou + + * einfo.ads (Postconditions_Proc): Delete. + * gen_il-fields.ads (Opt_Field_Enum): Remove Postconditions_Proc. + * gen_il-gen-gen_entities.adb (E_Function): Likewise. + (E_Procedure): Likewise. + (E_Entry): Likewise. + (E_Entry_Family): Likewise. + +2024-05-07 Ronan Desplanques + + * sinfo.ads: Fix typo. + +2024-05-07 Bob Duff + + * exp_attr.adb (Attribute_Old): The 'Old attribute we are + processing here is in a postcondition, which cannot be inside the + "Wrapped_Statements" of the subprogram with that postcondition. So + remove the loop labeled "Climb the parent chain looking for + subprogram _Wrapped_Statements". The only way this loop could find + a Subp is if we are nested inside a subprogram that also has a + postcondition, and in that case we would find the wrong (outer) + one. In any case, Subp is set to Empty after the loop, so all + subsequent tests for Present (Subp) are necessarily False; remove + them and the corresponding code. Set Ins_Node unconditionally (to + the right thing). Remove obsolete comments. + * sem_util.adb (Determining_Expressions): Fix assertion; + Pragma_Test_Case was missing. + (Eligible_For_Conditional_Evaluation): Fix assert that could fail + in case of errors. + * libgnat/s-valspe.ads: Remove pragma Unevaluated_Use_Of_Old; + there are no uses of 'Old in this package. + +2024-05-07 Yannick Moy + + * libgnat/a-strsea.adb (Index): Add assertions. + * libgnat/a-strsup.ads ("="): Remove useless precondition. + * libgnat/s-aridou.adb (Prove_Rounding_Case): Add assertions. + (Lemma_Shift_Right): Add call to lemma. + * libgnat/s-arit32.adb (Prove_Rounding_Case): Add assertion. + (Prove_ Signs): Add assertions. + (Scaled_Divide32): Add assertions. + +2024-05-07 Steve Baird + + * sem_prag.adb (Analyze_Pragma): Restructure the loop over + possible resolutions of a No_Return pragma's argument so that + functions (and generic functions) are not processed until after it + is known whether there is a non-function candidate resolution. For + a pre-2022 Ada version, terminate the iteration before processing + functions if a non-function resolution is found. + +2024-05-07 Eric Botcazou + + * libgnat/g-socthi.ads (C_Bind): Turn into inline function. + (C_Getpeername): Likewise. + (C_Getsockname): Likewise. + (C_Getsockopt): Likewise. + (C_Setsockopt): Likewise. + (Nonreentrant_Gethostbyaddr): Likewise. + * libgnat/g-socthi.adb (Syscall_Accept): Adjust profile. + (Syscall_Connect): Likewise. + (Syscall_Recvfrom): Likewise. + (Syscall_Sendto): Likewise. + (C_Bind): New function. + (C_Accept): Adjust to above change for profiles. + (C_Connect): Likewise. + (C_Getpeername): New function. + (C_Getsockname): Likewise. + (C_Getsockopt): Likewise. + (C_Recvfrom): Adjust to above change for profiles. + (C_Setsockopt): New function. + (Nonreentrant_Gethostbyaddr): Likewise. + +2024-05-07 Bob Duff + + * par-ch3.adb (P_Component_Items): Move P_Aspect_Specifications + into the loop, so aspects can be attached to multiple component + declarations. + (P_Type_Declaration, P_Subtype_Declaration) + (P_Known_Discriminant_Part_Opt): Remove default for Semicolon in + calls to P_Aspect_Specifications. + * gen_il-gen-gen_nodes.adb (N_Discriminant_Specification): Add + Aspect_Specifications field to N_Discriminant_Specification, which + was missing. + * aspects.adb (Has_Aspect_Specifications_Flag): Make it True for + N_Discriminant_Specification. + * par-ch13.adb: Remove default for Semicolon in calls to + P_Aspect_Specifications. + (Get_Aspect_Specifications): Misc cleanup. + (P_Aspect_Specifications): Remove comment. It's not clear what + "the flag" is referring to, but anyway the first part of the + comment is obvious, and the second part is apparently obsolete. + Misc cleanup. + * par.adb (P_Aspect_Specifications, Get_Aspect_Specifications): + Remove default for Semicolon; calls are more readable that way. + Improve comments. + * par-ch12.adb: Remove default for Semicolon in calls to + P_Aspect_Specifications. + * par-ch6.adb: Likewise. + * par-ch7.adb: Likewise. + * par-ch9.adb: Likewise. + * par-endh.adb: Likewise. + +2024-05-07 Justin Squirek + + * sem_prag.adb (Defer_Compile_Time_Warning_Error_To_BE): Better + handle itypes such that the tree copy required for the expansion + of the pragma doesn't cause ordering problems with internal names. + +2024-05-07 Yannick Moy + + * sem_res.adb (Resolve_Actuals): Add range check flag. + +2024-05-07 Yannick Moy + + * sem_util.adb (Find_Placement_In_State_Space): Stop search for + placement when reaching the public state of a generic package. + +2024-05-07 Javier Miranda + + * sem_ch3.adb (Check_Return_Subtype_Indication): Add missing check + on statically compatible subtypes. + * sem_eval.adb (Subtypes_Statically_Compatible): Ensure that both + types are either scalar types or access types to evaluate this + predicate. + +2024-05-07 Bob Duff + + * sem_ch13.adb (Resolve_Name): Clarify comment. + +2024-05-07 Bob Duff + + * sem_ch13.adb (Resolve_Name): This is called only for names in + aspect_specifications. If the name is an overloaded + selected_component, reset the Entity. Note that this was already + done for N_Identifier in the code just below. + +2024-05-07 Eric Botcazou + + * repinfo.adb (List_Record_Info.List_Structural_Record_Layout): Add + another guard for private types after retrieving the parent in the + extension case. + +2024-05-07 Yannick Moy + + * sem_util.adb (Is_Volatile_Function): Return True on functions + with side effects. + +2024-05-07 Piotr Trojanek + + * sem_prag.adb (Analyze_Global_Item): Handle side-effect + functions like procedures. + +2024-05-07 Piotr Trojanek + + * sem_prag.adb (Collect_Global_Item): Update comment. + 2024-05-06 Piotr Trojanek * sem_prag.adb (Collect_Global_Item): Handle functions with diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 88b2058bd8f..adcfc2ebae7 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,27 @@ +2024-05-08 Marek Polacek + + PR c++/113582 + * c-warn.cc (warn_for_unused_label): Don't warn if -Wunused-label has + been suppressed for the label. + +2024-05-07 Andrew Pinski + + PR c++/89224 + * c-common.cc (convert_vector_to_array_for_subscript): Call build_qualified_type + for the inner type. + +2024-05-07 Jakub Jelinek + + PR c++/114459 + * c-cppbuiltin.cc (c_cpp_builtins): Predefine + __cpp_variadic_friend=202403L for C++26. + +2024-05-07 Richard Biener + + PR middle-end/114931 + * c-common.cc (complete_array_type): Set TYPE_STRUCTURAL_EQUALITY_P + before probing with type_hash_canon. + 2024-05-02 Jakub Jelinek PR c++/114458 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 398504f23b5..616b1f73cb3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,71 @@ +2024-05-08 Marek Polacek + + PR c++/113582 + * parser.cc (cp_parser_label_for_labeled_statement): suppress_warning + if it's not enabled at input_location. + * pt.cc (tsubst_stmt): Call copy_warning. + +2024-05-07 Nathaniel Shead + + PR c++/114856 + * call.cc (make_temporary_var_for_ref_to_temp): Set context for + temporaries with linkage. + * init.cc (create_temporary_var): Revert to only set context + when in a function decl. + +2024-05-07 Andrew Pinski + + PR c++/89224 + * constexpr.cc (cxx_eval_array_reference): Compare main variants + for the vector/array types instead of the types directly. + +2024-05-07 Jakub Jelinek + + PR c++/114459 + * parser.cc (cp_parser_member_declaration): Implement C++26 + P2893R3 - Variadic friends. Parse friend type declarations + with ... or with more than one friend type specifier. + * friend.cc (make_friend_class): Allow TYPE_PACK_EXPANSION. + * pt.cc (instantiate_class_template): Handle PACK_EXPANSION_P + in friend classes. + +2024-05-07 Marek Polacek + + * decl.cc (duplicate_decls): Don't check VAR_P before + DECL_DECOMPOSITION_P. + * init.cc (build_aggr_init): Likewise. + * parser.cc (cp_parser_range_for): Likewise. + (do_range_for_auto_deduction): Likewise. + (cp_convert_range_for): Likewise. + (cp_convert_omp_range_for): Likewise. + (cp_finish_omp_range_for): Likewise. + * pt.cc (extract_locals_r): Likewise. + (tsubst_omp_for_iterator): Likewise. + (tsubst_decomp_names): Likewise. + (tsubst_stmt): Likewise. + * typeck.cc (maybe_warn_about_returning_address_of_local): Likewise. + +2024-05-07 Rainer Orth + + * Make-lang.in (cc1plus$(exeext)): Remove $(NETLIBS). + +2024-05-07 Nathaniel Shead + + PR c++/114954 + * cp-tree.h (IS_FAKE_BASE_TYPE): Also apply to unions. + +2024-05-07 Nathaniel Shead + + PR c++/114275 + * cp-tree.h (remove_defining_module): Declare. + * decl.cc (duplicate_decls): Call remove_defining_module on + to-be-freed newdecl. + * module.cc (imported_temploid_friends): Mark as GTY root... + (init_modules): ...and allocate from ggc. + (trees_in::decl_value): Only track for declarations that won't + be discarded. + (remove_defining_module): New function. + 2024-05-06 Qing Zhao PR c/53548 diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index 83f8d840c2f..a0d407e9636 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,7 @@ +2024-05-07 Rainer Orth + + * Make-lang.in (cc1objplus$(exeext)): Remove $(NETLIBS). + 2023-11-27 Alex Coplan Iain Sandoe diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 850d16ba70e..fa115f8fd42 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,251 @@ +2024-05-09 Pan Li + + * gcc.target/riscv/rvv/autovec/vls-vlmax/full-vec-move1.c: + Introduce extern func use to get rid of ccp4 optimization. + +2024-05-09 Jakub Jelinek + + PR c++/89224 + * g++.dg/torture/vector-subaccess-1.C: Add -Wno-psabi as additional + options. + +2024-05-09 YunQiang Su + + * gcc.target/mips/msa-inline-asm.c: New test. + +2024-05-09 Christoph Müllner + + * gcc.target/riscv/cpymemsi-1.c: New test. + * gcc.target/riscv/cpymemsi-2.c: New test. + * gcc.target/riscv/cpymemsi-3.c: New test. + * gcc.target/riscv/cpymemsi.c: New test. + +2024-05-09 Hu, Lin1 + + PR target/84508 + * gcc.target/i386/pr84508-1.c: New test. + * gcc.target/i386/pr84508-2.c: Ditto. + +2024-05-08 Xiao Zeng + + * gcc.target/riscv/_Bfloat16-nanboxing.c: New test. + +2024-05-08 Georg-Johann Lay + + PR target/114981 + * gcc.target/avr/pr114981-powil.c: New test. + +2024-05-08 Marek Polacek + + PR c++/113582 + * g++.dg/warn/Wunused-label-4.C: New test. + +2024-05-08 Andrew Pinski + + PR tree-optimization/112392 + * gcc.dg/tree-ssa/phi-opt-41.c: New test. + +2024-05-08 Ajit Kumar Agarwal + + PR tree-optimization/81953 + * gcc.dg/tree-ssa/ssa-sink-21.c: New test. + +2024-05-08 Christoph Müllner + + * gcc.target/riscv/extend-shift-helpers.h: Add helpers for + sign-extension. + * gcc.target/riscv/sign-extend-rshift-32.c: New test. + * gcc.target/riscv/sign-extend-rshift-64.c: New test. + * gcc.target/riscv/sign-extend-rshift.c: New test. + +2024-05-08 Christoph Müllner + + PR target/111501 + * gcc.target/riscv/extend-shift-helpers.h: New test. + * gcc.target/riscv/pr111501.c: New test. + * gcc.target/riscv/zero-extend-rshift-32.c: New test. + * gcc.target/riscv/zero-extend-rshift-64.c: New test. + * gcc.target/riscv/zero-extend-rshift.c: New test. + +2024-05-08 Christoph Müllner + + * gcc.target/riscv/sign-extend-1.c: Test sraiw 24 and sraiw 16. + +2024-05-08 Christoph Müllner + + * gcc.target/riscv/sign-extend-1.c: New test. + +2024-05-08 Georg-Johann Lay + + PR target/114975 + * gcc.target/avr/pr114975-parity.c: New test. + +2024-05-08 Georg-Johann Lay + + PR target/114975 + * gcc.target/avr/pr114975-popcount.c: New test. + +2024-05-08 Jakub Jelinek + + PR tree-optimization/114965 + * gcc.c-torture/execute/pr114965.c: New test. + +2024-05-08 konglin1 + + * gcc.target/i386/cmov6.c: Fixed. + +2024-05-07 Nathaniel Shead + + PR c++/114856 + * g++.dg/modules/pr114856.h: New test. + * g++.dg/modules/pr114856_a.H: New test. + * g++.dg/modules/pr114856_b.C: New test. + +2024-05-07 Andrew Pinski + + PR c++/89224 + * g++.dg/torture/vector-subaccess-1.C: New test. + * gcc.dg/pr83415.c: Change warning to error. + +2024-05-07 Andrew Pinski + + PR tree-optimization/19661 + * g++.dg/tree-ssa/cxa_atexit-1.C: New test. + * g++.dg/tree-ssa/cxa_atexit-2.C: New test. + * g++.dg/tree-ssa/cxa_atexit-3.C: New test. + * g++.dg/tree-ssa/cxa_atexit-4.C: New test. + * g++.dg/tree-ssa/cxa_atexit-5.C: New test. + * g++.dg/tree-ssa/cxa_atexit-6.C: New test. + +2024-05-07 Andrew Pinski + + PR tree-optimization/114894 + * gcc.dg/tree-ssa/phi-opt-value-5.c: New test. + +2024-05-07 Christoph Müllner + + * gcc.target/riscv/memcpy-nonoverlapping.c: New test. + * gcc.target/riscv/memset-nonoverlapping.c: New test. + +2024-05-07 Jakub Jelinek + + PR c++/114459 + * g++.dg/cpp26/feat-cxx26.C (__cpp_variadic_friend): Add test. + * g++.dg/cpp26/variadic-friend1.C: New test. + +2024-05-07 Jakub Jelinek + + PR middle-end/114907 + * gcc.dg/pr114907.c: New test. + +2024-05-07 Jakub Jelinek + + PR sanitizer/114956 + * gcc.dg/asan/pr114956.c: New test. + +2024-05-07 Gaius Mulley + + PR modula2/114133 + * gm2/extensions/run/pass/callingc10.mod: Convert constant + literal numbers into INTEGER. + * gm2/extensions/run/pass/callingc11.mod: Ditto. + * gm2/extensions/run/pass/vararg2.mod: Ditto. + * gm2/iso/run/pass/packed.mod: Emit a printf as a runtime + diagnostic. + +2024-05-07 Jeff Law + + * gcc.target/riscv/zbb-strlen-disabled-2.c: Turn off inlining. + +2024-05-07 Alex Coplan + + PR target/114674 + * gcc.target/aarch64/pr114674.c: New test. + +2024-05-07 Richard Biener + + PR middle-end/27800 + * gcc.dg/pr27800.c: New testcase. + +2024-05-07 Richard Biener + + PR middle-end/114931 + * gcc.dg/pr114931.c: New testcase. + +2024-05-07 Rainer Orth + + * lib/target-supports.exp (check_effective_target_pie): Always + enable on *-*-solaris2*. + +2024-05-07 liuhongt + + * gcc.target/i386/pr113079.c: New test. + * gcc.target/i386/pr113079-2.c: New test. + * gcc.target/i386/sse4-pr113079-2.c: New test. + +2024-05-07 liuhongt + + * gcc.target/i386/pr113090.c: New test. + +2024-05-07 Dimitar Dimitrov + + * g++.target/pru/minrt-1.cc: New test. + * g++.target/pru/minrt-2.cc: New test. + * g++.target/pru/minrt-3.cc: New test. + * g++.target/pru/pru.exp: New test. + * gcc.target/pru/minrt-1.c: New test. + * gcc.target/pru/minrt-2.c: New test. + * gcc.target/pru/minrt-3.c: New test. + +2024-05-07 Dimitar Dimitrov + + * gcc.target/pru/noreturn-prologue-1.c: New test. + * gcc.target/pru/noreturn-prologue-2.c: New test. + +2024-05-07 Dimitar Dimitrov + + * gcc.target/pru/extzv-1.c: Update to mark the new more + efficient generated code sequence. + * gcc.target/pru/extzv-2.c: Ditto. + * gcc.target/pru/extzv-3.c: Ditto. + * gcc.target/pru/zero_extend-op0.c: New test. + +2024-05-07 Dimitar Dimitrov + + * gcc.target/pru/ashiftrt.c: Minor update due to new (but + equivalent) generated code sequence. + * gcc.target/pru/extzv-1.c: New test. + * gcc.target/pru/extzv-2.c: New test. + * gcc.target/pru/extzv-3.c: New test. + * gcc.target/pru/insv-1.c: New test. + * gcc.target/pru/insv-2.c: New test. + * gcc.target/pru/insv-3.c: New test. + * gcc.target/pru/insv-4.c: New test. + +2024-05-07 Dimitar Dimitrov + + * gcc.target/pru/mov-0.c: New test. + +2024-05-07 Roger Sayle + Hongtao Liu + + PR target/106060 + * gcc.target/i386/auto-init-8.c: Update test case. + * gcc.target/i386/avx512fp16-13.c: Likewise. + * gcc.target/i386/pr100865-9a.c: Likewise. + * gcc.target/i386/pr101796-1.c: Likewise. + * gcc.target/i386/pr106060-1.c: New test case. + * gcc.target/i386/pr106060-2.c: Likewise. + * gcc.target/i386/pr106060-3.c: Likewise. + * gcc.target/i386/pr70314.c: Update test case. + * gcc.target/i386/vect-shiftv4qi.c: Likewise. + * gcc.target/i386/vect-shiftv8qi.c: Likewise. + +2024-05-07 Nathaniel Shead + + PR c++/114954 + * g++.dg/modules/pr114954.C: New test. + 2024-05-06 Xiao Zeng * gcc.target/riscv/arch-35.c: New test. diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 6056af6a0d6..4fc33d74853 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,14 @@ +2024-05-07 Zac Walker + + * configure.tgt: Add aarch64-w64-mingw32 target. + +2024-05-07 Rainer Orth + + * Makefile.am [LIBAT_BUILD_VERSIONED_SHLIB_SUN] + (libatomic.map-sun): Pass $(libatomic_la_OBJECTS), + $(libatomic_la_LIBADD) to make_sunver.pl unmodified. + * Makefile.in: Regenerate. + 2024-04-26 Wilco Dijkstra * config/linux/aarch64/atomic_16.S: Add __libat_ prefix in the diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 21111cab0f9..02f658be5b8 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,10 @@ +2024-05-07 Rainer Orth + + * Makefile.am [LIBFFI_BUILD_VERSIONED_SHLIB_SUN] (libffi.map-sun): + Pass $(libffi_la_OBJECTS), $(libffi_la_LIBADD) to make_sunver.pl + unmodified. + * Makefile.in: Regenerate. + 2023-10-26 Thomas Schwinge PR testsuite/109951 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 379f2f515fa..b41b8f0186b 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,30 @@ +2024-05-07 Zac Walker + + * config.host: Add aarch64-w64-mingw32 target. Adjust targets + after moving MinGW files. + * config/i386/t-gthr-win32: Move to... + * config/mingw/t-gthr-win32: ...here. + * config/i386/t-mingw-pthread: Move to... + * config/mingw/t-mingw-pthread: ...here. + * config/aarch64/t-no-eh: New file. EH is not yet implemented for + the target, and the default definition should be disabled. + +2024-05-07 Wolfgang Hospital + + PR target/114835 + * config/avr/lib1funcs.S (__popcountqi2): Use code that + is one instruction shorter / faster. + +2024-05-07 Rainer Orth + + * configure.ac <*-*-solaris2*> (libgcc_cv_solaris_crts): Remove. + * config.host <*-*-solaris2*>: Remove !libgcc_cv_solaris_crts + support. + * configure, config.in: Regenerate. + * config/sol2/gmon.c (internal_mcount) [!HAVE_SOLARIS_CRTS]: Remove. + * config/i386/sol2-c1.S, config/sparc/sol2-c1.S: Remove. + * config/sol2/t-sol2 (crt1.o, gcrt1.o): Remove. + 2024-05-06 Xiao Zeng Jin Ma diff --git a/libgcc/config/avr/libf7/ChangeLog b/libgcc/config/avr/libf7/ChangeLog index d161a10e5a3..0351fae9c91 100644 --- a/libgcc/config/avr/libf7/ChangeLog +++ b/libgcc/config/avr/libf7/ChangeLog @@ -1,3 +1,11 @@ +2024-05-08 Georg-Johann Lay + + PR target/114981 + * libf7-common.mk (F7_ASM_PARTS): Add D_powi + * libf7-asm.sx (F7MOD_D_powi_, __powidf2): New module and function. + * libf7.c (f7_powi): Fix last (wrong) statement. + Tweak trivial multiplications with 1.0. + 2023-11-14 Georg-Johann Lay * libf7-const.def [F7MOD_sinh_]: Add MiniMax polynomial. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 030bad57700..79147b12f14 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,10 @@ +2024-05-07 Rainer Orth + + * Makefile.am [LIBGFOR_USE_SYMVER_SUN} (gfortran.ver-sun): Pass + $(libgfortran_la_OBJECTS), $(libgfortran_la_LIBADD) to + make_sunver.pl unmodified. + * Makefile.in: Regenerate. + 2024-05-06 David Edelsohn * config/t-aix (all-local, libcaf_single): Explicitly reference diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 54cfa8b3c05..84ce85ce263 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2024-05-07 Rainer Orth + + * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN] + (libgomp.ver-sun): Pass $(libgomp_la_OBJECTS), + $(libgomp_la_LIBADD) to make_sunver.pl unmodified. + * Makefile.in: Regenerate. + 2024-05-02 Jakub Jelinek * testsuite/libgomp.c/declare-variant-4.h (gfx90c, gfx1036, gfx1103): diff --git a/libitm/ChangeLog b/libitm/ChangeLog index f1ccb64c404..de97a7ae38d 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,10 @@ +2024-05-07 Rainer Orth + + * Makefile.am [LIBITM_BUILD_VERSIONED_SHLIB_SUN] (libitm.map-sun): + Pass $(libitm_la_OBJECTS), $(libitm_la_LIBADD) to make_sunver.pl + unmodified. + * Makefile.in: Regenerate. + 2024-04-02 Jakub Jelinek * beginend.cc (GTM::gtm_thread::begin_transaction): Fix duplicated diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 5731270b9f1..11e15a0ff86 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,10 @@ +2024-05-07 Rainer Orth + + * Makefile.am [LIBQUAD_USE_SYMVER_SUN] (quadmath.map-sun): Pass + $(libquadmath_la_OBJECTS), $(libquadmath_la_LIBADD) to + make_sunver.pl unmodified. + * Makefile.in: Regenerate. + 2024-04-09 Jakub Jelinek * sfp-machine.h (__LITTLE_ENDIAN, __BIG_ENDIAN, __BYTE_ORDER): Define diff --git a/libssp/ChangeLog b/libssp/ChangeLog index 1ad0600e9d5..d66e9f6fb65 100644 --- a/libssp/ChangeLog +++ b/libssp/ChangeLog @@ -1,3 +1,10 @@ +2024-05-07 Rainer Orth + + * Makefile.am [LIBSSP_USE_SYMVER_SUN] (ssp.map-sun): Pass + $(libssp_la_OBJECTS), $(libssp_la_LIBADD) to make_sunver.pl + unmodified. + * Makefile.in: Regenerate. + 2024-02-06 Rainer Orth * configure.ac (AC_CHECK_DECLS): Check for gets. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e028271fb59..1fb87edfb3b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,73 @@ +2024-05-07 Jonathan Wakely + + * include/bits/unicode.h (_Unicode_view::_M_read_utf8): Ensure + count of characters consumed is correct when the end of the + input is reached unexpectedly. + * testsuite/ext/unicode/view.cc: Test incomplete UTF-8 + sequences. + +2024-05-07 Jonathan Wakely + + PR libstdc++/114866 + * include/bits/out_ptr.h [!_GLIBCXX_HOSTED]: Don't refer to + shared_ptr, __shared_ptr or __is_shred_ptr. + * testsuite/20_util/headers/memory/114866.cc: New test. + +2024-05-07 Jonathan Wakely + + * include/std/variant (_VARIANT_RELATION_FUNCTION_TEMPLATE): + Simplify. + +2024-05-07 Jonathan Wakely + + * include/bits/stl_pair.h (operator==): Add constraint. + * include/bits/version.def (constrained_equality): Define. + * include/bits/version.h: Regenerate. + * include/std/optional: Define feature test macro. + (__optional_rep_op_t): Use is_convertible_v instead of + is_convertible. + * include/std/tuple: Define feature test macro. + (operator==, __tuple_cmp, operator<=>): Reimplement C++20 + comparisons using lambdas. Add constraints. + * include/std/utility: Define feature test macro. + * include/std/variant: Define feature test macro. + (_VARIANT_RELATION_FUNCTION_TEMPLATE): Add constraints. + (variant): Remove unnecessary friend declarations for comparison + operators. + * testsuite/20_util/optional/relops/constrained.cc: New test. + * testsuite/20_util/pair/comparison_operators/constrained.cc: + New test. + * testsuite/20_util/tuple/comparison_operators/constrained.cc: + New test. + * testsuite/20_util/variant/relops/constrained.cc: New test. + * testsuite/20_util/tuple/comparison_operators/overloaded.cc: + Disable for C++20 and later. + * testsuite/20_util/tuple/comparison_operators/overloaded2.cc: + Remove dg-error line for target c++20. + +2024-05-07 Jonathan Wakely + + * include/backward/auto_ptr.h: Use https for URL in comment. + * include/bits/basic_ios.h: Likewise. + * include/std/iostream: Likewise. + +2024-05-07 Jonathan Wakely + + * testsuite/util/testsuite_abi.cc: Update latest versions to + new versions that should be used in future. + +2024-05-07 Rainer Orth + + * src/Makefile.am [ENABLE_SYMVERS_SUN] + (libstdc++-symbols.ver-sun): Pass $(libstdc___la_OBJECTS), + $(libstdc___la_LIBADD) to make_sunver.pl unmodified. + * src/Makefile.in: Regenerate. + +2024-05-07 Rainer Orth + + * testsuite/lib/dg-options.exp (add_options_for_net_ts) + <*-*-solaris2*>: Don't link with -lsocket -lnsl. + 2024-05-03 Andreas Schwab * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update.