diff --git a/ChangeLog b/ChangeLog index 7b4f57db401..cc47b3037a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2024-09-23 Saurabh Jha + + * MAINTAINERS: Fix sort order and add username. + +2024-09-23 Saurabh Jha + + * MAINTAINERS: Add myself to write after approval. + +2024-09-23 Aldy Hernandez + + * MAINTAINERS: Update email and add myself to DCO. + 2024-09-18 Andrew Kreimer * configure.ac: Fix typos. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95470dbd207..1942219f0b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,182 @@ +2024-09-23 Saurabh Jha + + * config/aarch64/aarch64-simd.md + (*aarch64_faminmax_fused): Instruction pattern for faminmax + codegen. + * config/aarch64/iterators.md: Attribute for faminmax codegen. + +2024-09-23 Saurabh Jha + + * config/aarch64/aarch64-builtins.cc + (ENTRY): Macro to parse the contents of + aarch64-simd-pragma-builtins.def. + (ENTRY_VHSDF): Macro to parse the contents of + aarch64-simd-pragma-builtins.def. + (enum aarch64_builtins): New enum values for faminmax builtins + via aarch64-simd-pragma-builtins.def. + (enum class aarch64_builtin_signatures): Enum class to specify + the number of operands a builtin will take. + (struct aarch64_pragma_builtins_data): Struct to hold data from + aarch64-simd-pragma-builtins.def. + (aarch64_fntype): New function to define function types of + intrinsics given an object of type aarch64_pragma_builtins_data. + (aarch64_init_pragma_builtins): New function to define pragma + builtins. + (aarch64_get_pragma_builtin): New function to get a row of + aarch64_pragma_builtins, given code. + (handle_arm_neon_h): Modify to call + aarch64_init_pragma_builtins. + (aarch64_general_check_builtin_call): Modify to check whether + required flag is being used for pragma builtins. + (aarch64_expand_pragma_builtin): New function to emit + instructions of pragma_builtin. + (aarch64_general_expand_builtin): Modify to call + aarch64_expand_pragma_builtin. + * config/aarch64/aarch64-option-extensions.def + (AARCH64_OPT_EXTENSION): Introduce new flag for this extension. + * config/aarch64/aarch64-simd.md + (@aarch64_): Instruction pattern for + faminmax intrinsics. + * config/aarch64/aarch64.h + (TARGET_FAMINMAX): Introduce new flag for this extension. + * config/aarch64/iterators.md: New iterators and unspecs. + * doc/invoke.texi: Document extension in AArch64 Options. + * config/aarch64/aarch64-simd-pragma-builtins.def: New file to + list pragma builtins. + +2024-09-23 Matthieu Longo + + * dwarf2cfi.cc + (struct dw_cfi_row): Declare a new enum type to replace ra_mangled. + (cfi_row_equal_p): Use ra_state instead of ra_mangled. + (dwarf2out_frame_debug_cfa_negate_ra_state): Same. + (change_cfi_row): Same. + +2024-09-23 Matthieu Longo + + * config/aarch64/aarch64.cc + (aarch64_output_cfi_directive): New hook for CFI directives. + (aarch64_dw_cfi_oprnd1_desc): Same. + (TARGET_OUTPUT_CFI_DIRECTIVE): Hook for output_cfi_directive. + (TARGET_DW_CFI_OPRND1_DESC): Hook for dw_cfi_oprnd1_desc. + * config/sparc/sparc.cc + (sparc_output_cfi_directive): New hook for CFI directives. + (sparc_dw_cfi_oprnd1_desc): Same. + (TARGET_OUTPUT_CFI_DIRECTIVE): Hook for output_cfi_directive. + (TARGET_DW_CFI_OPRND1_DESC): Hook for dw_cfi_oprnd1_desc. + * coretypes.h + (struct dw_cfi_node): Forward declaration of CFI type from + gcc/dwarf2out.h. + (enum dw_cfi_oprnd_type): Same. + (enum dwarf_call_frame_info): Same. + * doc/tm.texi: Regenerated from doc/tm.texi.in. + * doc/tm.texi.in: Add doc for new target hooks. + type of enum to allow forward declaration. + * dwarf2cfi.cc + (struct dw_cfi_row): Update the description for window_save + and ra_mangled. + (dwarf2out_frame_debug_cfa_negate_ra_state): Use AArch64 CFI + directive instead of the SPARC one. + (change_cfi_row): Use the right CFI directive's name for RA + mangling. + (output_cfi): Remove explicit architecture-specific CFI + directive DW_CFA_GNU_window_save that falls into default case. + (output_cfi_directive): Use target hook as default. + * dwarf2out.cc (dw_cfi_oprnd1_desc): Use target hook as default. + * dwarf2out.h (enum dw_cfi_oprnd_type): specify underlying type + of enum to allow forward declaration. + (dw_cfi_oprnd1_desc): Call target hook. + (output_cfi_directive): Use dw_cfi_ref instead of struct + dw_cfi_node *. + * hooks.cc + (hook_bool_dwcfi_dwcfioprndtyperef_false): New. + (hook_bool_FILEptr_dwcfiptr_false): New. + * hooks.h + (hook_bool_dwcfi_dwcfioprndtyperef_false): New. + (hook_bool_FILEptr_dwcfiptr_false): New. + * target.def: Documentation for new hooks. + +2024-09-23 Matthieu Longo + + * combine-stack-adj.cc + (no_unhandled_cfa): Rename. + * config/aarch64/aarch64.cc + (aarch64_expand_prologue): Rename. + (aarch64_expand_epilogue): Rename. + * dwarf2cfi.cc + (dwarf2out_frame_debug_cfa_toggle_ra_mangle): Rename this... + (dwarf2out_frame_debug_cfa_negate_ra_state): To this. + (dwarf2out_frame_debug): Rename. + * reg-notes.def (REG_CFA_NOTE): Rename REG_CFA_TOGGLE_RA_MANGLE. + +2024-09-23 Tobias Burnus + + * omp-general.cc (omp_runtime_api_procname): Strip "omp_" from + string; move get_device_from_uid as now a '_' suffix exists. + +2024-09-23 Claudiu Zissulescu + + PR target/113954 + * config/arc/arc.cc (TARGET_LRA_P): Always return true. + (arc_lra_p): Remove. + * config/arc/arc.h (TARGET_LRA): Remove. + * config/arc/arc.opt (mlra): Change it to do nothing. + * doc/invoke.texi (mlra): Update option description. + +2024-09-23 Richard Biener + + PR tree-optimization/116810 + * tree-vect-slp.cc (vect_build_slp_instance): Onlu force + splitting for group_size > 1. + +2024-09-23 Richard Biener + + PR tree-optimization/116796 + * cfgloopmanip.cc (fix_loop_placements): Get LC-SSA-invalidated + bitmap and pass it on. + (remove_path): Pass LC-SSA-invalidated to fix_loop_placements. + +2024-09-23 Tamar Christina + + PR tree-optimization/116812 + * tree-vect-slp.cc (vect_slp_region): Fix insertion. + +2024-09-23 Richard Biener + + PR tree-optimization/116791 + * tree-vect-stmts.cc (get_group_load_store_type): Only + fall back to elementwise access for single-lane SLP, restore + hard failure mode for other cases. + +2024-09-23 Tobias Burnus + + * config/gcn/mkoffload.cc (process_asm): (Re)add the fprintf + lines for stdlib.h/stdbool.h inclusion if gcn_stack_size is used. + +2024-09-23 Pan Li + + PR target/116795 + * gimple-match-head.cc (match_cond_with_binary_phi): Fix the + incorrect cfg check as b0->b1 in above example. + +2024-09-23 Andrew Pinski + + * gimple-iterator.h (gimple_seq_nondebug_singleton_p): + Rewrite to be simplely, gsi_start_nondebug/gsi_one_nondebug_before_end_p. + +2024-09-23 Andrew Pinski + + * gimple.h (remove_pointer): Remove. + (GIMPLE_CHECK2): Use std::remove_pointer instead of custom one. + +2024-09-23 Andrew Pinski + + * tree-ssa-operands.h (PHI_ARG_DEF): Remove definition. + +2024-09-23 Pan Li + + * match.pd: Add the case 3 for signed .SAT_ADD matching. + 2024-09-22 Tamar Christina * tree-vect-patterns.cc (append_inv_pattern_def_seq): New. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 37e5425b64e..f4255371a62 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240923 +20240924 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 470fbd99f2c..f2637d9ceb4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,23 @@ +2024-09-23 Marek Polacek + + PR c++/116798 + * parser.cc (cp_parser_parameter_declaration): Detect an explicit + object parameter in a requires expression. + +2024-09-23 Simon Martin + + PR c++/109790 + PR c++/100632 + * mangle.cc (write_member_name): Handle members whose type is an + anonymous union member. Write missing "on" marker for operators + when ABI version is at least 16. + +2024-09-23 Simon Martin + + PR c++/116722 + * constexpr.cc (cxx_bind_parameters_in_call): Leave early for + {con,de}structors of classes with virtual bases. + 2024-09-20 David Malcolm PR other/116613 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index a5d45ac3c44..2635bddd451 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,10 @@ +2024-09-23 Gaius Mulley + + * Make-lang.in (m2/gm2-libs-boot/M2RTS.o): Remove + --suppress-noreturn. + * gm2-libs/M2RTS.mod (HaltC): Add noreturn attribute. + * gm2-libs-min/M2RTS.mod (HALT): Add LOOP END. + 2024-09-21 Gaius Mulley * gm2-compiler/M2Comp.mod (GenerateDependencies): Remove diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1a055adaa95..998dde8065a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,77 @@ +2024-09-23 Marek Polacek + + PR c++/116798 + * g++.dg/cpp23/explicit-obj-diagnostics12.C: New test. + +2024-09-23 Saurabh Jha + + * gcc.target/aarch64/simd/faminmax-codegen-no-flag.c: New test. + * gcc.target/aarch64/simd/faminmax-codegen.c: New test. + * gcc.target/aarch64/simd/faminmax-no-codegen.c: New test. + +2024-09-23 Saurabh Jha + + * gcc.target/aarch64/simd/faminmax-builtins-no-flag.c: New test. + * gcc.target/aarch64/simd/faminmax-builtins.c: New test. + +2024-09-23 Matthieu Longo + + * g++.target/aarch64/pr94515-1.C: Improve test documentation. + * g++.target/aarch64/pr94515-2.C: Same. + +2024-09-23 Matthieu Longo + + * g++.target/aarch64/pr94515-1.C: Replace SPARC CFI directive by + AArch64 one. + * g++.target/aarch64/pr94515-2.C: Same. + +2024-09-23 Simon Martin + + PR c++/109790 + PR c++/100632 + * g++.dg/cpp0x/decltype83.C: New test. + * g++.dg/cpp0x/decltype83a.C: New test. + * g++.dg/cpp1y/lambda-ice3.C: New test. + * g++.dg/cpp1y/lambda-ice3a.C: New test. + * g++.dg/cpp2a/nontype-class67.C: New test. + +2024-09-23 Simon Martin + + PR c++/116722 + * g++.dg/cpp0x/constexpr-ctor22.C: New test. + +2024-09-23 Tamar Christina + + PR tree-optimization/116812 + * gcc.dg/vect/pr116812.c: New test. + +2024-09-23 Richard Biener + + PR tree-optimization/116791 + * gcc.dg/vect/pr116791.c: New testcase. + +2024-09-23 Pan Li + + PR target/116795 + * gcc.dg/torture/pr116795-1.c: New test. + +2024-09-23 Pan Li + + * gcc.target/riscv/rvv/autovec/vec_sat_arith.h: Add test helper macro. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-5.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-6.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-7.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-8.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-5.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-6.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-7.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-8.c: New test. + +2024-09-23 Hans-Peter Nilsson + + PR testsuite/116701 + * gfortran.dg/unsigned_22.f90: Add missing close with delete. + 2024-09-22 Pan Li * gcc.target/riscv/sat_arith.h: Add test helper macros. diff --git a/include/ChangeLog b/include/ChangeLog index 6ea6bf53e35..c8ccd9383f4 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2024-09-23 Matthieu Longo + + * dwarf2.h (enum dwarf_call_frame_info): specify underlying + 2024-09-20 Tobias Burnus * cuda/cuda.h (cuDeviceGetUuid): Declare. diff --git a/libffi/ChangeLog b/libffi/ChangeLog index b50ae4b0eba..5cc054554ae 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2024-09-23 Matthieu Longo + + * include/ffi_cfi.h (cfi_negate_ra_state): Declare AArch64 cfi + directive. + 2024-07-01 Rainer Orth PR libffi/115681 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 0b62c93bafc..c862f15eff7 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,77 @@ +2024-09-23 Matthieu Longo + + * config/aarch64/aarch64-asm.h (PACIASP): Replace SPARC CFI + directive by AArch64 one. + (AUTIASP): Same. + +2024-09-23 Matthieu Longo + + * Makefile.in: New target for symbolic link to md-unwind-def.h + * config.host: New parameter md_unwind_def_header. Set it to + aarch64/aarch64-unwind-def.h for AArch64 targets, or no-unwind.h + by default. + * config/aarch64/aarch64-unwind.h + (aarch64_pointer_auth_key): Move to aarch64-unwind-def.h + (aarch64_cie_aug_handler): Update. + (aarch64_arch_extension_frame_init): Update. + (aarch64_demangle_return_addr): Update. + * configure.ac: New substitute variable md_unwind_def_header. + * unwind-dw2.h (defined): MD_ARCH_FRAME_STATE_T. + * config/aarch64/aarch64-unwind-def.h: New file. + * configure: Regenerate. + * config/no-unwind.h: Updated comment + +2024-09-23 Matthieu Longo + + * config/aarch64/aarch64-unwind.h + (MD_FRAME_LOCAL_REGISTER_P): new handler checking whether a register + from the current context needs to be skipped before installation into + the target context. + (aarch64_frame_local_register): Likewise. + * unwind-dw2.c (uw_install_context_1): use MD_FRAME_LOCAL_REGISTER_P. + +2024-09-23 Matthieu Longo + + * config/aarch64/aarch64-unwind.h + (AARCH64_DWARF_RA_STATE_MASK): The mask for RA state register. + (aarch64_ra_signing_method_t): The diversifiers used to sign a + function's return address. + (aarch64_pointer_auth_key): The key used to sign a function's + return address. + (aarch64_cie_signed_with_b_key): Deleted as the signing key is + available now in _Unwind_FrameState. + (MD_ARCH_EXTENSION_CIE_AUG_HANDLER): New CIE augmentation string + handler for architecture extensions. + (MD_ARCH_EXTENSION_FRAME_INIT): New architecture-extension + initialization routine for DWARF frame state and context before + execution of DWARF instructions. + (aarch64_context_ra_state_get): Read RA state register from CONTEXT. + (aarch64_ra_state_get): Read RA state register from FS. + (aarch64_ra_state_set): Write RA state register into FS. + (aarch64_ra_state_toggle): Toggle RA state register in FS. + (aarch64_cie_aug_handler): Handler AArch64 augmentation strings. + (aarch64_arch_extension_frame_init): Initialize defaults for the + signing key (PAUTH_KEY_A), and RA state register (RA_no_signing). + (aarch64_demangle_return_addr): Rely on the frame registers and + the signing_key attribute in _Unwind_FrameState. + * unwind-dw2-execute_cfa.h: + Use the right alias DW_CFA_AARCH64_negate_ra_state for __aarch64__ + instead of DW_CFA_GNU_window_save. + (DW_CFA_AARCH64_negate_ra_state): Save the signing method in RA + state register. Toggle RA state register without resetting 'how' + to REG_UNSAVED. + * unwind-dw2.c: + (extract_cie_info): Save the signing key in the current + _Unwind_FrameState while parsing the augmentation data. + (uw_frame_state_for): Reset some attributes related to architecture + extensions in _Unwind_FrameState. + (uw_update_context): Move authentication code to AArch64 unwinding. + * unwind-dw2.h (enum register_rule): Give a name to the existing + enum for the register rules, and replace 'unsigned char' by 'enum + register_rule' to facilitate debugging in GDB. + (_Unwind_FrameState): Add a new architecture-extension attribute + to store the signing key. + 2024-09-22 Iain Sandoe * config.host: From macOS 11, limit earliest macOS support diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 214239e75ee..24ba876e2cb 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,16 @@ +2024-09-23 Tobias Burnus + + * fortran.c (omp_get_device_from_uid_): New function. + * libgomp.map (GOMP_6.0): Add it. + * oacc-host.c (host_dispatch): Init '.uid' and '.get_uid_func'. + * omp_lib.f90.in: Make it used by removing bind(C). + * omp_lib.h.in: Likewise. + * target.c (omp_get_device_from_uid): Ensure the device is initialized. + * plugin/plugin-gcn.c (GOMP_OFFLOAD_get_uid): Add function comment; + return NULL in case of an error. + * plugin/plugin-nvptx.c (GOMP_OFFLOAD_get_uid): Likewise. + * testsuite/libgomp.fortran/device_uid.f90: Update to test substrings. + 2024-09-20 Tobias Burnus * config/gcn/target.c (omp_get_uid_from_device, diff --git a/libitm/ChangeLog b/libitm/ChangeLog index 08286dc5582..faaeb7e22c5 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,8 @@ +2024-09-23 Matthieu Longo + + * config/aarch64/sjlj.S: Replace SPARC CFI directive by + AArch64 one. + 2024-09-02 Alex Coplan * testsuite/lib/libitm.exp: Load scanltrans.exp instead of diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index f1397a4318b..bbaa4ed269f 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,17 @@ +2024-09-23 Andrew Kreimer + + * Makefile.in: s/overrridden/overridden. + * encoding.c (_darwin_rs6000_special_round_type_align): Fix typo + in comment. + (rs6000_special_round_type_align): Likewise. + * exception.c (is_kind_of_exception_matcher): Likewise. + (PERSONALITY_FUNCTION): Likewise. + * hash.c (objc_hash_next): Likewise. + * init.c (__objc_create_classes_tree): Likewise. + * objc-private/objc-list.h (list_remove_head): Likewise. + * sendmsg.c (__objc_install_dtable_for_class): Likewise. + * thr.c (objc_thread_yield): Likewise. + 2024-08-31 Andrew Pinski PR libobjc/89586 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1ad45767009..9cd71b015cf 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2024-09-23 Jason Merrill + + * include/bits/c++config: Don't try to disable -Wc++??-extensions + when compiling as C. + +2024-09-23 Jason Merrill + + * libsupc++/new: Add _GLIBCXX_TXN_SAFE. + 2024-09-22 Jonathan Wakely * include/std/format (__format::__is_formattable_integer): New