From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 095993858C5E; Fri, 3 Feb 2023 00:17:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 095993858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675383448; bh=uIpseAhHGZP3eMUWgOlYITSAPYSUW2ScJ0EdPyTvu5E=; h=From:To:Subject:Date:From; b=iSDAEzltx8592gsbx2RzI9woiQKXAL9ckuEHkAIWPrlumklkw7dEkZjcKPjybks/V xM9rGIWFLNzjhB2RV60KidGSEZW2FwNASaWrQcgactYZgR/SPMpqAeRrD30/IJql3d PncU9Mqdx9Q5SHqw40soTjB6tMjDsCORFVWHz5gU= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-5668] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 0b8693fc87b1453bdacfa5910091be15da671d2a X-Git-Newrev: a37a0cb303da35ee3b20fd25ad1592d03550ac17 Message-Id: <20230203001728.095993858C5E@sourceware.org> Date: Fri, 3 Feb 2023 00:17:27 +0000 (GMT) List-Id: https://gcc.gnu.org/g:a37a0cb303da35ee3b20fd25ad1592d03550ac17 commit r13-5668-ga37a0cb303da35ee3b20fd25ad1592d03550ac17 Author: GCC Administrator Date: Fri Feb 3 00:16:44 2023 +0000 Daily bump. Diff: --- gcc/ChangeLog | 204 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 8 ++ gcc/c/ChangeLog | 15 ++++ gcc/testsuite/ChangeLog | 101 ++++++++++++++++++++++++ include/ChangeLog | 4 + libgomp/ChangeLog | 39 +++++++++ libstdc++-v3/ChangeLog | 58 ++++++++++++++ 8 files changed, 430 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 11c0f4677cd..43a630f723e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,207 @@ +2023-02-02 Iain Sandoe + + * toplev.cc (toplev::main): Only print the version information header + from toplevel main(). + +2023-02-02 Paul-Antoine Arras + + * config/gcn/gcn-valu.md (cond_): Add + cond_{ashl|ashr|lshr} + +2023-02-02 Richard Sandiford + + PR rtl-optimization/108086 + * rtl-ssa/insns.h (insn_info): Make m_num_defs a full unsigned int. + Adjust size-related commentary accordingly. + +2023-02-02 Richard Sandiford + + PR rtl-optimization/108508 + * rtl-ssa/accesses.cc (function_info::split_clobber_group): When + the splay tree search gives the first clobber in the second group, + make sure that the root of the first clobber group is updated + correctly. Enter the new clobber group into the definition splay + tree. + +2023-02-02 Jin Ma + + * common/config/riscv/riscv-common.cc (riscv_compute_multilib): + Fix finding best match score. + +2023-02-02 Jakub Jelinek + + PR debug/106746 + PR rtl-optimization/108463 + PR target/108484 + * cselib.cc (cselib_current_insn): Move declaration earlier. + (cselib_hasher::equal): For debug only locs, temporarily override + cselib_current_insn to their l->setting_insn for the + rtx_equal_for_cselib_1 call, so that unsuccessful comparisons don't + promote some debug locs. + * sched-deps.cc (sched_analyze_2) : For MEMs in DEBUG_INSNs + when using cselib call cselib_lookup_from_insn on the address but + don't substitute it. + +2023-02-02 Richard Biener + + PR middle-end/108625 + * genmatch.cc (expr::gen_transform): Also disallow resimplification + from pushing to lseq with force_leaf. + (dt_simplify::gen_1): Likewise. + +2023-02-02 Andrew Stubbs + + * config/gcn/gcn-run.cc: Include libgomp-gcn.h. + (struct kernargs): Replace the common content with kernargs_abi. + (struct heap): Delete. + (main): Read GCN_STACK_SIZE envvar. + Allocate space for the device stacks. + Write the new kernargs fields. + * config/gcn/gcn.cc (gcn_option_override): Remove stack_size_opt. + (default_requested_args): Remove PRIVATE_SEGMENT_BUFFER_ARG and + PRIVATE_SEGMENT_WAVE_OFFSET_ARG. + (gcn_addr_space_convert): Mask the QUEUE_PTR_ARG content. + (gcn_expand_prologue): Move the TARGET_PACKED_WORK_ITEMS to the top. + Set up the stacks from the values in the kernargs, not private. + (gcn_expand_builtin_1): Match the stack configuration in the prologue. + (gcn_hsa_declare_function_name): Turn off the private segment. + (gcn_conditional_register_usage): Ensure QUEUE_PTR is fixed. + * config/gcn/gcn.h (FIXED_REGISTERS): Fix the QUEUE_PTR register. + * config/gcn/gcn.opt (mstack-size): Change the description. + +2023-02-02 Andre Vieira + + PR target/108443 + * config/arm/arm.h (VALID_MVE_PRED_MODE): Add V2QI. + * config/arm/arm.cc (thumb2_legitimate_address_p): Use HImode for + addressing MVE predicate modes. + (mve_bool_vec_to_const): Change to represent correct MVE predicate + format. + (arm_hard_regno_mode_ok): Use VALID_MVE_PRED_MODE instead of checking + modes. + (arm_vector_mode_supported_p): Likewise. + (arm_mode_to_pred_mode): Add V2QI. + * config/arm/arm-builtins.cc (UNOP_PRED_UNONE_QUALIFIERS): New + qualifier. + (UNOP_PRED_PRED_QUALIFIERS): New qualifier + (BINOP_PRED_UNONE_PRED_QUALIFIERS): New qualifier. + (v2qi_UP): New macro. + (v4bi_UP): New macro. + (v8bi_UP): New macro. + (v16bi_UP): New macro. + (arm_expand_builtin_args): Make it able to expand the new predicate + modes. + * config/arm/arm-modes.def (V2QI): New mode. + * config/arm/arm-simd-builtin-types.def (Pred1x16_t, Pred2x8_t + Pred4x4_t): Remove unused predicate builtin types. + * config/arm/arm_mve.h (__arm_vctp16q, __arm_vctp32q, __arm_vctp64q, + __arm_vctp8q, __arm_vpnot, __arm_vctp8q_m, __arm_vctp64q_m, + __arm_vctp32q_m, __arm_vctp16q_m): Use predicate modes. + * config/arm/arm_mve_builtins.def (vctp16q, vctp32q, vctp64q, vctp8q, + vpnot, vctp8q_m, vctp16q_m, vctp32q_m, vctp64q_m): Likewise. + * config/arm/constraints.md (DB): Check for VALID_MVE_PRED_MODE instead + of MODE_VECTOR_BOOL. + * config/arm/iterators.md (MVE_7, MVE_7_HI): Add V2QI + (MVE_VPRED): Likewise. + (MVE_vpred): Add V2QI and map upper case predicate modes to lower case. + (MVE_vctp): New mode attribute. + (mode1): Remove. + (VCTPQ): Remove. + (VCTPQ_M): Remove. + * config/arm/mve.md (mve_vctpqhi): Rename this... + (mve_vctpq): ... to this. And use new mode + attributes. + (mve_vpnothi): Rename this... + (mve_vpnotv16bi): ... to this. + (mve_vctpq_mhi): Rename this... + (mve_vctpq_m):... to this. + (mve_vldrdq_gather_base_z_v2di, + mve_vldrdq_gather_offset_z_v2di, + mve_vldrdq_gather_shifted_offset_z_v2di, + mve_vstrdq_scatter_base_p_v2di, + mve_vstrdq_scatter_offset_p_v2di, + mve_vstrdq_scatter_offset_p_v2di_insn, + mve_vstrdq_scatter_shifted_offset_p_v2di, + mve_vstrdq_scatter_shifted_offset_p_v2di_insn, + mve_vstrdq_scatter_base_wb_p_v2di, + mve_vldrdq_gather_base_wb_z_v2di, + mve_vldrdq_gather_base_nowb_z_v2di, + mve_vldrdq_gather_base_wb_z_v2di_insn): Use V2QI insead of HI for + predicates. + * config/arm/unspecs.md (VCTP8Q, VCTP16Q, VCTP32Q, VCTP64Q): Replace + these... + (VCTP): ... with this. + (VCTP8Q_M, VCTP16Q_M, VCTP32Q_M, VCTP64Q_M): Replace these... + (VCTP_M): ... with this. + * config/arm/vfp.md (*thumb2_movhi_vfp, *thumb2_movhi_fp16): Use + VALID_MVE_PRED_MODE instead of checking for MODE_VECTOR_BOOL class. + +2023-02-02 Andre Vieira + + PR target/107674 + * config/arm/arm.cc (arm_hard_regno_mode_ok): Use new MACRO. + (arm_modes_tieable_p): Make MVE predicate modes tieable. + * config/arm/arm.h (VALID_MVE_PRED_MODE): New define. + * simplify-rtx.cc (simplify_context::simplify_subreg): Teach + simplify_subreg to simplify subregs where the outermode is not scalar. + +2023-02-02 Andre Vieira + + PR target/107674 + * config/arm/arm-builtins.cc (arm_simd_builtin_type): Rewrite to use + new qualifiers parameter and use unsigned short type for MVE predicate. + (arm_init_builtin): Call arm_simd_builtin_type with qualifiers + parameter. + (arm_init_crypto_builtins): Likewise. + +2023-02-02 Jakub Jelinek + + PR ipa/107300 + * builtins.def (BUILT_IN_UNREACHABLE_TRAP): New builtin. + * internal-fn.def (TRAP): Remove. + * internal-fn.cc (expand_TRAP): Remove. + * tree.cc (build_common_builtin_nodes): Define + BUILT_IN_UNREACHABLE_TRAP if not yet defined. + (builtin_decl_unreachable): Use BUILT_IN_UNREACHABLE_TRAP + instead of BUILT_IN_TRAP. + * gimple.cc (gimple_build_builtin_unreachable): Remove + emitting internal function for BUILT_IN_TRAP. + * asan.cc (maybe_instrument_call): Handle BUILT_IN_UNREACHABLE_TRAP. + * cgraph.cc (cgraph_edge::verify_corresponds_to_fndecl): Handle + BUILT_IN_UNREACHABLE_TRAP instead of BUILT_IN_TRAP. + * ipa-devirt.cc (possible_polymorphic_call_target_p): Handle + BUILT_IN_UNREACHABLE_TRAP. + * builtins.cc (expand_builtin, is_inexpensive_builtin): Likewise. + * tree-cfg.cc (verify_gimple_call, + pass_warn_function_return::execute): Likewise. + * attribs.cc (decl_attributes): Don't report exclusions on + BUILT_IN_UNREACHABLE_TRAP either. + +2023-02-02 liuhongt + + PR tree-optimization/108601 + * tree-vectorizer.h (vect_can_peel_nonlinear_iv_p): Removed. + * tree-vect-loop.cc + (vectorizable_nonlinear_induction): Remove + vect_can_peel_nonlinear_iv_p. + (vect_can_peel_nonlinear_iv_p): Don't peel + nonlinear iv(mult or shift) for epilog when vf is not + constant and moved the defination to .. + * tree-vect-loop-manip.cc (vect_can_peel_nonlinear_iv_p): + .. Here. + +2023-02-02 Jakub Jelinek + + PR middle-end/108435 + * tree-nested.cc (convert_nonlocal_omp_clauses) + : If info->new_local_var_chain and *seq + is not a GIMPLE_BIND, wrap the sequence into a new GIMPLE_BIND + before calling declare_vars. + (convert_nonlocal_omp_clauses) : Merge + with the OMP_CLAUSE_LASTPRIVATE handling except for whether + seq is initialized to &OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ (clause) + or &OMP_CLAUSE_LINEAR_GIMPLE_SEQ (clause). + 2023-02-01 Tamar Christina * common/config/aarch64/aarch64-common.cc diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 05457af7293..12b84840cd1 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230202 +20230203 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index c0e514a7f1d..a2e2e340172 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,11 @@ +2023-02-02 David Malcolm + + PR analyzer/108633 + * sm-fd.cc (fd_state_machine::check_for_fd_attrs): Add missing + "continue". + (fd_state_machine::on_listen): Don't issue phase-mismatch or + type-mismatch warnings for the "invalid" state. + 2023-02-01 David Malcolm PR analyzer/108616 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index ca7e9b3c006..f8769e8c53a 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,18 @@ +2023-02-02 Joseph Myers + + * c-typeck.cc (build_binary_op): Allow comparisons between + pointers and nullptr_t values that are not null pointer constants. + +2023-02-02 Joseph Myers + + * c-typeck.cc: Include "realmpfr.h". + (constexpr_init_fits_real_type): Do not allow signaling NaN + conversions to different types with the same mode. Handle + conversions from binary to decimal types. + (check_constexpr_init): Do not disallow real initializers for + complex types. Do not disallow binary initializers for decimal + floating types. + 2023-01-31 Marek Polacek PR c++/107593 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 19e289b6dc3..b70bac0fb39 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,104 @@ +2023-02-02 Joseph Myers + + * gcc.dg/c2x-constexpr-3.c: Do not expect comparison of nullptr_t + and pointer to be disallowed. + * gcc.dg/c2x-nullptr-1.c: Test comparisons of nullptr_t and + pointers are allowed. + * gcc.dg/c2x-nullptr-3.c: Do not test that comparisons of + nullptr_t and pointers are disallowed. + +2023-02-02 Joseph Myers + + * gcc.dg/c2x-constexpr-1.c: Test constexpr initializers of complex + types with real initializers are allowed. + * gcc.dg/c2x-constexpr-3.c: Do not test for constexpr initializers + of complex types with real initializers being disallowed. + * gcc.dg/c2x-constexpr-8.c: Add tests of signaling NaN complex + initializers. + * gcc.dg/c2x-constexpr-9.c: Add more tests. + * gcc.dg/dfp/c2x-constexpr-dfp-1.c: Add tests of binary floating + initializers for decimal types. + * gcc.dg/dfp/c2x-constexpr-dfp-2.c: Change tests of binary + initializers for decimal types. Add more tests of decimal + initializers for binary types. + +2023-02-02 Paul-Antoine Arras + + * gcc.target/gcn/cond_shift_3.c: New test. + * gcc.target/gcn/cond_shift_3_run.c: New test. + * gcc.target/gcn/cond_shift_4.c: New test. + * gcc.target/gcn/cond_shift_4_run.c: New test. + * gcc.target/gcn/cond_shift_8.c: New test. + * gcc.target/gcn/cond_shift_8_run.c: New test. + * gcc.target/gcn/cond_shift_9.c: New test. + * gcc.target/gcn/cond_shift_9_run.c: New test. + +2023-02-02 Richard Sandiford + + PR rtl-optimization/108508 + * gcc.target/aarch64/pr108508.c: New test. + +2023-02-02 Richard Sandiford + + * g++.dg/tree-ssa/pr107876.C: Add --param case-values-threshold=4. + +2023-02-02 David Malcolm + + PR analyzer/108633 + * gcc.dg/analyzer/fd-pr108633.c: New test. + +2023-02-02 David Malcolm + + * gcc.dg/analyzer/deref-before-check-qemu-qtest_rsp_args.c: New test. + +2023-02-02 Jakub Jelinek + + PR debug/106746 + PR rtl-optimization/108463 + PR target/108484 + * gcc.dg/pr108463.c: New test. + +2023-02-02 Richard Biener + + PR middle-end/108625 + * gcc.dg/pr108625.c: New testcase. + +2023-02-02 Andrew Stubbs + + * gcc.c-torture/execute/pr47237.c: Xfail on amdgcn. + * gcc.dg/builtin-apply3.c: Xfail for amdgcn. + * gcc.dg/builtin-apply4.c: Xfail for amdgcn. + * gcc.dg/torture/stackalign/builtin-apply-3.c: Xfail for amdgcn. + * gcc.dg/torture/stackalign/builtin-apply-4.c: Xfail for amdgcn. + +2023-02-02 Andre Vieira + + * gcc.target/arm/mve/pr108443-run.c: New test. + * gcc.target/arm/mve/pr108443.c: New test. + +2023-02-02 Andre Vieira + + * gcc.target/arm/mve/mve_vpt.c: Change to remove unecessary zero-extend. + +2023-02-02 Andre Vieira + + PR target/107674 + * gcc.target/arm/mve/mve_vpt.c: New test. + +2023-02-02 Jakub Jelinek + + PR ipa/107300 + * gcc.dg/pr107300.c: New test. + +2023-02-02 liuhongt + + * gcc.target/aarch64/pr108601.c: New test. + +2023-02-02 Jakub Jelinek + + PR middle-end/108435 + * gcc.dg/gomp/pr108435.c: New test. + 2023-02-01 Harald Anlauf PR fortran/108609 diff --git a/include/ChangeLog b/include/ChangeLog index e520b8a9c66..37d18eb5521 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2023-02-02 Andrew Stubbs + + * gomp-constants.h (GOMP_VERSION_GCN): Bump. + 2022-12-21 Jason Merrill PR c++/84471 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index d277a2d546a..cf55107ddfd 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,42 @@ +2023-02-02 Andrew Stubbs + + * config/gcn/libgomp-gcn.h (DEFAULT_GCN_STACK_SIZE): New define. + (DEFAULT_TEAM_ARENA_SIZE): New define. + (struct heap): Move to this file. + (struct kernargs_abi): Likewise. + * config/gcn/team.c (gomp_gcn_enter_kernel): Use team arena size from + the kernargs. + * libgomp.h: Include libgomp-gcn.h. + (TEAM_ARENA_SIZE): Remove. + (team_malloc): Update the error message. + * plugin/plugin-gcn.c (struct kernargs): Move common content to + struct kernargs_abi. + (struct agent_info): Rename team arenas to ephemeral memories. + (struct team_arena_list): Rename .... + (struct ephemeral_memories_list): to this. + (struct heap): Delete. + (team_arena_size): New variable. + (stack_size): New variable. + (print_kernel_dispatch): Update debug messages. + (init_environment_variables): Read GCN_TEAM_ARENA_SIZE. + Read GCN_STACK_SIZE. + (get_team_arena): Rename ... + (configure_ephemeral_memories): ... to this, and set up stacks. + (release_team_arena): Rename ... + (release_ephemeral_memories): ... to this. + (destroy_team_arenas): Rename ... + (destroy_ephemeral_memories): ... to this. + (create_kernel_dispatch): Add num_threads parameter. + Adjust for kernargs_abi refactor and ephemeral memories. + (release_kernel_dispatch): Adjust for ephemeral memories. + (run_kernel): Pass thread-count to create_kernel_dispatch. + (GOMP_OFFLOAD_init_device): Adjust for ephemeral memories. + (GOMP_OFFLOAD_fini_device): Adjust for ephemeral memories. + +2023-02-02 Tobias Burnus + + * libgomp.texi (OpenMP TR11): Fix item for 'strict' modifier. + 2023-02-01 Tobias Burnus * testsuite/libgomp.fortran/allocate-3.f90: Fix ALIGN diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d3dd0c73284..26e56e27896 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,61 @@ +2023-02-02 Gerald Pfeifer + + * doc/xml/manual/abi.xml: Tweak link to ABIcheck project. + * doc/html/manual/abi.html: Regenerate. + +2023-02-02 Jonathan Wakely + + * src/filesystem/ops-common.h [AVR] (__unsupported): Always use + errc::function_not_supported instead of errc::not_supported. + +2023-02-02 Jonathan Wakely + + * include/std/sstream (basic_stringbuf::view): Define for old + std::string ABI. + (basic_istringstream::view, basic_0stringstream::view) + (basic_stringstream::view): Likewise. + * testsuite/27_io/basic_istringstream/view/char/1.cc: Remove + { dg-require-effective-target cxx11_abi }. + * testsuite/27_io/basic_istringstream/view/wchar_t/1.cc: + Likewise. + * testsuite/27_io/basic_ostringstream/view/char/1.cc: Likewise. + * testsuite/27_io/basic_ostringstream/view/wchar_t/1.cc: + Likewise. + * testsuite/27_io/basic_stringbuf/view/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/view/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringstream/view/char/1.cc: Likewise. + * testsuite/27_io/basic_stringstream/view/wchar_t/1.cc: + Likewise. + +2023-02-02 Jonathan Wakely + + PR libstdc++/108636 + * config/abi/pre/gnu.ver (GLIBCXX_3.4.31): Export shared_ptr + conversion operators for directory iterator comparisons with + std::default_sentinel_t. + * include/bits/fs_path.h (path::path(string_view, _Type)) + (path::_Cmpt::_Cmpt(string_view, _Type, size_t)): Move inline + definitions to ... + * src/c++17/fs_path.cc: ... here. + * testsuite/27_io/filesystem/path/108636.cc: New test. + +2023-02-02 Jonathan Wakely + + * include/std/variant (variant::operator=): Implement resolution + of LWG 3585. + * testsuite/20_util/variant/lwg3585.cc: New test. + +2023-02-02 Gerald Pfeifer + + * doc/xml/manual/using_exceptions.xml: Update a www.open-std.org + link to https. + * doc/html/manual/using_exceptions.html: Regenerate. + +2023-02-02 Gerald Pfeifer + + * doc/xml/manual/debug.xml: Fix link to online GDB manual. + * doc/html/manual/debug.html: Regenerate. + 2023-02-01 Jonathan Wakely * src/c++11/random.cc (random_device::_M_fini): Do not try to