+2024-09-23 Saurabh Jha <saurabh.jha@arm.com>
+
+ * MAINTAINERS: Fix sort order and add username.
+
+2024-09-23 Saurabh Jha <saurabh.jha@arm.com>
+
+ * MAINTAINERS: Add myself to write after approval.
+
+2024-09-23 Aldy Hernandez <aldy@quesejoda.com>
+
+ * MAINTAINERS: Update email and add myself to DCO.
+
2024-09-18 Andrew Kreimer <algonell@gmail.com>
* configure.ac: Fix typos.
+2024-09-23 Saurabh Jha <saurabh.jha@arm.com>
+
+ * 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 <saurabh.jha@arm.com>
+
+ * 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_<faminmax_uns_op><mode>): 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 <matthieu.longo@arm.com>
+
+ * 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 <matthieu.longo@arm.com>
+
+ * 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 <matthieu.longo@arm.com>
+
+ * 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 <tburnus@baylibre.com>
+
+ * 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 <claziss@gmail.com>
+
+ 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 <rguenther@suse.de>
+
+ PR tree-optimization/116810
+ * tree-vect-slp.cc (vect_build_slp_instance): Onlu force
+ splitting for group_size > 1.
+
+2024-09-23 Richard Biener <rguenther@suse.de>
+
+ 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 <tamar.christina@arm.com>
+
+ PR tree-optimization/116812
+ * tree-vect-slp.cc (vect_slp_region): Fix insertion.
+
+2024-09-23 Richard Biener <rguenther@suse.de>
+
+ 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 <tburnus@baylibre.com>
+
+ * 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 <pan2.li@intel.com>
+
+ 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 <quic_apinski@quicinc.com>
+
+ * 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 <quic_apinski@quicinc.com>
+
+ * gimple.h (remove_pointer): Remove.
+ (GIMPLE_CHECK2): Use std::remove_pointer instead of custom one.
+
+2024-09-23 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * tree-ssa-operands.h (PHI_ARG_DEF): Remove definition.
+
+2024-09-23 Pan Li <pan2.li@intel.com>
+
+ * match.pd: Add the case 3 for signed .SAT_ADD matching.
+
2024-09-22 Tamar Christina <tamar.christina@arm.com>
* tree-vect-patterns.cc (append_inv_pattern_def_seq): New.
+2024-09-23 Marek Polacek <polacek@redhat.com>
+
+ PR c++/116798
+ * parser.cc (cp_parser_parameter_declaration): Detect an explicit
+ object parameter in a requires expression.
+
+2024-09-23 Simon Martin <simon@nasilyan.com>
+
+ 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 <simon@nasilyan.com>
+
+ 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 <dmalcolm@redhat.com>
PR other/116613
+2024-09-23 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * 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 <gaiusmod2@gmail.com>
* gm2-compiler/M2Comp.mod (GenerateDependencies): Remove
+2024-09-23 Marek Polacek <polacek@redhat.com>
+
+ PR c++/116798
+ * g++.dg/cpp23/explicit-obj-diagnostics12.C: New test.
+
+2024-09-23 Saurabh Jha <saurabh.jha@arm.com>
+
+ * 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 <saurabh.jha@arm.com>
+
+ * 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 <matthieu.longo@arm.com>
+
+ * g++.target/aarch64/pr94515-1.C: Improve test documentation.
+ * g++.target/aarch64/pr94515-2.C: Same.
+
+2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
+
+ * 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 <simon@nasilyan.com>
+
+ 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 <simon@nasilyan.com>
+
+ PR c++/116722
+ * g++.dg/cpp0x/constexpr-ctor22.C: New test.
+
+2024-09-23 Tamar Christina <tamar.christina@arm.com>
+
+ PR tree-optimization/116812
+ * gcc.dg/vect/pr116812.c: New test.
+
+2024-09-23 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116791
+ * gcc.dg/vect/pr116791.c: New testcase.
+
+2024-09-23 Pan Li <pan2.li@intel.com>
+
+ PR target/116795
+ * gcc.dg/torture/pr116795-1.c: New test.
+
+2024-09-23 Pan Li <pan2.li@intel.com>
+
+ * 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 <hp@axis.com>
+
+ PR testsuite/116701
+ * gfortran.dg/unsigned_22.f90: Add missing close with delete.
+
2024-09-22 Pan Li <pan2.li@intel.com>
* gcc.target/riscv/sat_arith.h: Add test helper macros.
+2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
+
+ * dwarf2.h (enum dwarf_call_frame_info): specify underlying
+
2024-09-20 Tobias Burnus <tburnus@baylibre.com>
* cuda/cuda.h (cuDeviceGetUuid): Declare.
+2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
+
+ * include/ffi_cfi.h (cfi_negate_ra_state): Declare AArch64 cfi
+ directive.
+
2024-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libffi/115681
+2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
+
+ * config/aarch64/aarch64-asm.h (PACIASP): Replace SPARC CFI
+ directive by AArch64 one.
+ (AUTIASP): Same.
+
+2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
+
+ * 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 <matthieu.longo@arm.com>
+
+ * 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 <matthieu.longo@arm.com>
+
+ * 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 <iain@sandoe.co.uk>
* config.host: From macOS 11, limit earliest macOS support
+2024-09-23 Tobias Burnus <tburnus@baylibre.com>
+
+ * 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 <tburnus@baylibre.com>
* config/gcn/target.c (omp_get_uid_from_device,
+2024-09-23 Matthieu Longo <matthieu.longo@arm.com>
+
+ * config/aarch64/sjlj.S: Replace SPARC CFI directive by
+ AArch64 one.
+
2024-09-02 Alex Coplan <alex.coplan@arm.com>
* testsuite/lib/libitm.exp: Load scanltrans.exp instead of
+2024-09-23 Andrew Kreimer <algonell@gmail.com>
+
+ * 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 <quic_apinski@quicinc.com>
PR libobjc/89586
+2024-09-23 Jason Merrill <jason@redhat.com>
+
+ * include/bits/c++config: Don't try to disable -Wc++??-extensions
+ when compiling as C.
+
+2024-09-23 Jason Merrill <jason@redhat.com>
+
+ * libsupc++/new: Add _GLIBCXX_TXN_SAFE.
+
2024-09-22 Jonathan Wakely <jwakely@redhat.com>
* include/std/format (__format::__is_formattable_integer): New