From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 238073858CD1; Thu, 1 Jun 2023 00:17:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 238073858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685578629; bh=Lw1UrXI1XJ5B6N3WPfCJxsJQsbxsO+XqtExAgcU4RPM=; h=From:To:Subject:Date:From; b=epzhRbWJI2W1xLcA6wvPMhLwl/U6zqftKj4r7N6cd0seKiRdVR8Sr1UYIJgc1xPcI MCI2BdmERFwErZEpVTiQaWoUkIUU4JBQbiiQYXGO6BcKM/2GrHJaCVNtPdz3FKUDpU TPIxvkZ0kVnzoqZzkZNu8WVwJZPXRdLDGuKAn2h8= 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 r14-1457] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 443613caa80d807250e5fbcbee961442c0c2ffbb X-Git-Newrev: 09ff83d4bc1405c9af803fb84bfc49d6001da47b Message-Id: <20230601001709.238073858CD1@sourceware.org> Date: Thu, 1 Jun 2023 00:17:08 +0000 (GMT) List-Id: https://gcc.gnu.org/g:09ff83d4bc1405c9af803fb84bfc49d6001da47b commit r14-1457-g09ff83d4bc1405c9af803fb84bfc49d6001da47b Author: GCC Administrator Date: Thu Jun 1 00:16:46 2023 +0000 Daily bump. Diff: --- gcc/ChangeLog | 237 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/testsuite/ChangeLog | 78 ++++++++++++++++ libstdc++-v3/ChangeLog | 116 ++++++++++++++++++++++++ 4 files changed, 432 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 394e12d6c6a..734bb4eee9c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,240 @@ +2023-06-01 Juzhe-Zhong + + * config/riscv/riscv-vector-builtins.cc (register_frm): New function. + (DEF_RVV_FRM_ENUM): New macro. + (handle_pragma_vector): Add FRM enum + * config/riscv/riscv-vector-builtins.def (DEF_RVV_FRM_ENUM): New macro. + (RNE): Ditto. + (RTZ): Ditto. + (RDN): Ditto. + (RUP): Ditto. + (RMM): Ditto. + +2023-05-31 Roger Sayle + Richard Sandiford + + * fold-const-call.cc (fold_const_call_ss) : + Update call to wi::bswap. + * simplify-rtx.cc (simplify_const_unary_operation) : + Update call to wi::bswap. + * tree-ssa-ccp.cc (evaluate_stmt) : + Update calls to wi::bswap. + * wide-int.cc (wide_int_storage::bswap): Remove/rename to... + (wi::bswap_large): New function, with revised API. + * wide-int.h (wi::bswap): New (template) function prototype. + (wide_int_storage::bswap): Remove method. + (sext_large, zext_large): Consistent indentation/line wrapping. + (bswap_large): Prototype helper function containing implementation. + (wi::bswap): New template wrapper around bswap_large. + +2023-05-31 Kyrylo Tkachov + + PR target/99195 + * config/aarch64/aarch64-simd.md (dot_prod): Rename to... + (dot_prod): ... This. + (usdot_prod): Rename to... + (usdot_prod): ... This. + (aarch64_dot_lane): Rename to... + (aarch64_dot_lane): ... This. + (aarch64_dot_laneq): Rename to... + (aarch64_dot_laneq): ... This. + (aarch64_dot_lane): Rename to... + (aarch64_dot_lane): + ... This. + +2023-05-31 Kyrylo Tkachov + + PR target/99195 + * config/aarch64/aarch64-simd.md (aarch64_sqdmulh): Rename to... + (aarch64_sqdmulh): ... This. + (aarch64_sqdmulh_n): Rename to... + (aarch64_sqdmulh_n): ... This. + (aarch64_sqdmulh_lane): Rename to... + (aarch64_sqdmulh_lane): ... This. + (aarch64_sqdmulh_laneq): Rename to... + (aarch64_sqdmulh_laneq): ... This. + (aarch64_sqrdmlh): Rename to... + (aarch64_sqrdmlh): ... This. + (aarch64_sqrdmlh_lane): Rename to... + (aarch64_sqrdmlh_lane): ... This. + (aarch64_sqrdmlh_laneq): Rename to... + (aarch64_sqrdmlh_laneq): ... This. + +2023-05-31 David Faust + + * btfout.cc (btf_kind_names): New. + (btf_kind_name): New. + (btf_absolute_var_id): New utility function. + (btf_relative_var_id): Likewise. + (btf_relative_func_id): Likewise. + (btf_absolute_datasec_id): Likewise. + (btf_asm_type_ref): New. + (btf_asm_type): Update asm comments and use btf_asm_type_ref (). + (btf_asm_array): Likewise. Accept ctf_container_ref parameter. + (btf_asm_varent): Likewise. + (btf_asm_func_arg): Likewise. + (btf_asm_datasec_entry): Likewise. + (btf_asm_datasec_type): Likewise. + (btf_asm_func_type): Likewise. Add index parameter. + (btf_asm_enum_const): Likewise. + (btf_asm_sou_member): Likewise. + (output_btf_vars): Update btf_asm_* call accordingly. + (output_asm_btf_sou_fields): Likewise. + (output_asm_btf_enum_list): Likewise. + (output_asm_btf_func_args_list): Likewise. + (output_asm_btf_vlen_bytes): Likewise. + (output_btf_func_types): Add ctf_container_ref parameter. + Pass it to btf_asm_func_type. + (output_btf_datasec_types): Update btf_asm_datsec_type call similarly. + (btf_output): Update output_btf_func_types call similarly. + +2023-05-31 David Faust + + * btfout.cc (btf_asm_type): Add dedicated cases for BTF_KIND_ARRAY + and BTF_KIND_FWD which do not use the size/type field at all. + +2023-05-31 Uros Bizjak + + * rtl.h (subreg_lowpart_p): Change return type from int to bool. + (active_insn_p): Ditto. + (in_sequence_p): Ditto. + (unshare_all_rtl): Change return type from int to void. + * emit-rtl.h (mem_expr_equal_p): Change return type from int to bool. + * emit-rtl.cc (subreg_lowpart_p): Change return type from int to bool + and adjust function body accordingly. + (mem_expr_equal_p): Ditto. + (unshare_all_rtl): Change return type from int to void + and adjust function body accordingly. + (verify_rtx_sharing): Remove unneeded return. + (active_insn_p): Change return type from int to bool + and adjust function body accordingly. + (in_sequence_p): Ditto. + +2023-05-31 Uros Bizjak + + * rtl.h (true_dependence): Change return type from int to bool. + (canon_true_dependence): Ditto. + (read_dependence): Ditto. + (anti_dependence): Ditto. + (canon_anti_dependence): Ditto. + (output_dependence): Ditto. + (canon_output_dependence): Ditto. + (may_alias_p): Ditto. + * alias.h (alias_sets_conflict_p): Ditto. + (alias_sets_must_conflict_p): Ditto. + (objects_must_conflict_p): Ditto. + (nonoverlapping_memrefs_p): Ditto. + * alias.cc (rtx_equal_for_memref_p): Remove forward declaration. + (record_set): Ditto. + (base_alias_check): Ditto. + (find_base_value): Ditto. + (mems_in_disjoint_alias_sets_p): Ditto. + (get_alias_set_entry): Ditto. + (decl_for_component_ref): Ditto. + (write_dependence_p): Ditto. + (memory_modified_1): Ditto. + (mems_in_disjoint_alias_set_p): Change return type from int to bool + and adjust function body accordingly. + (alias_sets_conflict_p): Ditto. + (alias_sets_must_conflict_p): Ditto. + (objects_must_conflict_p): Ditto. + (rtx_equal_for_memref_p): Ditto. + (base_alias_check): Ditto. + (read_dependence): Ditto. + (nonoverlapping_memrefs_p): Ditto. + (true_dependence_1): Ditto. + (true_dependence): Ditto. + (canon_true_dependence): Ditto. + (write_dependence_p): Ditto. + (anti_dependence): Ditto. + (canon_anti_dependence): Ditto. + (output_dependence): Ditto. + (canon_output_dependence): Ditto. + (may_alias_p): Ditto. + (init_alias_analysis): Change "changed" variable to bool. + +2023-05-31 Juzhe-Zhong + + * config/riscv/autovec.md (2): Change + expand into define_insn_and_split. + +2023-05-31 Juzhe-Zhong + + * config/riscv/vector.md: Remove FRM. + +2023-05-31 Juzhe-Zhong + + * config/riscv/vector.md: Remove FRM. + +2023-05-31 Juzhe-Zhong + + * config/riscv/vector.md: Remove FRM. + +2023-05-31 Christophe Lyon + + PR target/110039 + * config/aarch64/aarch64.md (aarch64_rev16si2_alt3): New + pattern. + +2023-05-31 Richard Biener + + PR ipa/109983 + PR tree-optimization/109143 + * tree-ssa-structalias.cc (struct topo_info): Remove. + (init_topo_info): Likewise. + (free_topo_info): Likewise. + (compute_topo_order): Simplify API, put the component + with ESCAPED last so it's processed first. + (topo_visit): Adjust. + (solve_graph): Likewise. + +2023-05-31 Richard Biener + + * tree-ssa-structalias.cc (constraint_stats::num_avoided_edges): + New. + (add_graph_edge): Count redundant edges we avoid to create. + (dump_sa_stats): Dump them. + (ipa_pta_execute): Do not dump generating constraints when + we are not dumping them. + +2023-05-31 Kyrylo Tkachov + + * config/aarch64/aarch64-simd.md (*aarch64_simd_mov): Rewrite + output template to avoid explicit switch on which_alternative. + (*aarch64_simd_mov): Likewise. + (and3): Likewise. + (ior3): Likewise. + * config/aarch64/aarch64.md (*mov_aarch64): Likewise. + +2023-05-31 Takayuki 'January June' Suwa + + * config/xtensa/predicates.md (xtensa_bit_join_operator): + New predicate. + * config/xtensa/xtensa.md (ior_op): Remove. + (*shlrd_reg): Rename from "*shlrd_reg_", and add the + insn_and_split pattern of the same name to express and capture + the bit-combining operation with both sides swapped. + In addition, replace use of code iterator with new operator + predicate. + (*shlrd_const, *shlrd_per_byte): + Likewise regarding the code iterator. + +2023-05-31 Cui, Lili + + PR tree-optimization/110038 + * params.opt: Add a limit on tree-reassoc-width. + * tree-ssa-reassoc.cc + (rewrite_expr_tree_parallel): Add width limit. + +2023-05-31 Pan Li + + * common/config/riscv/riscv-common.cc: + (riscv_implied_info): Add zvfh item. + (riscv_ext_version_table): Ditto. + (riscv_ext_flag_table): Ditto. + * config/riscv/riscv-opts.h (MASK_ZVFH): New macro. + (TARGET_ZVFH): Ditto. + 2023-05-30 liuhongt PR tree-optimization/108804 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 748e702e080..e171f9ed053 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230531 +20230601 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a5a5bd1981c..43e2270b316 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,81 @@ +2023-06-01 Juzhe-Zhong + + * gcc.target/riscv/rvv/base/frm-1.c: New test. + +2023-05-31 Bernhard Reutner-Fischer + + * lib/gcc-dg.exp: Rename gcc_force_conventional_output to + gcc_set_required_options. + * lib/target-supports.exp: Rename force_conventional_output_for + to set_required_options_for. + * lib/scanasm.exp: Adjust callers. + * lib/scanrtl.exp: Same. + +2023-05-31 Kyrylo Tkachov + + PR target/99195 + * gcc.target/aarch64/simd/pr99195_11.c: New test. + +2023-05-31 Kyrylo Tkachov + + PR target/99195 + * gcc.target/aarch64/simd/pr99195_1.c: Add tests for qdmulh, qrdmulh. + * gcc.target/aarch64/simd/pr99195_10.c: New test. + +2023-05-31 David Faust + + * gcc.dg/debug/btf/btf-array-1.c: Use new BTF asm comments + in scan-assembler expressions where useful. + * gcc.dg/debug/btf/btf-anonymous-struct-1.c: Likewise. + * gcc.dg/debug/btf/btf-anonymous-union-1.c: Likewise. + * gcc.dg/debug/btf/btf-bitfields-2.c: Likewise. + * gcc.dg/debug/btf/btf-bitfields-3.c: Likewise. + * gcc.dg/debug/btf/btf-datasec-2.c: Likewise. + * gcc.dg/debug/btf/btf-enum-1.c: Likewise. + * gcc.dg/debug/btf/btf-function-6.c: Likewise. + * gcc.dg/debug/btf/btf-pointers-1.c: Likewise. + * gcc.dg/debug/btf/btf-struct-1.c: Likewise. + * gcc.dg/debug/btf/btf-struct-2.c: Likewise. + * gcc.dg/debug/btf/btf-typedef-1.c: Likewise. + * gcc.dg/debug/btf/btf-union-1.c: Likewise. + * gcc.dg/debug/btf/btf-variables-1.c: Likewise. + * gcc.dg/debug/btf/btf-variables-2.c: Likewise. Update outdated comment. + * gcc.dg/debug/btf/btf-function-3.c: Update outdated comment. + +2023-05-31 Juzhe-Zhong + + * gcc.target/riscv/rvv/rvv.exp: + * gcc.target/riscv/rvv/autovec/widen/widen-1.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen-2.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen-3.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen-4.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run-1.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run-2.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run-3.c: New test. + * gcc.target/riscv/rvv/autovec/widen/widen_run-4.c: New test. + +2023-05-31 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/binop/vsub-run.c: Add vsub.vi. + * gcc.target/riscv/rvv/autovec/binop/vsub-rv32gcv.c: Ditto. + * gcc.target/riscv/rvv/autovec/binop/vsub-rv64gcv.c: Ditto. + * gcc.target/riscv/rvv/autovec/binop/vsub-template.h: Ditto. + +2023-05-31 Cui, Lili + + PR tree-optimization/110038 + * gcc.dg/pr110038.c: New test. + +2023-05-31 Pan Li + + * gcc.target/riscv/arch-21.c: New test. + * gcc.target/riscv/predef-27.c: New test. + +2023-05-31 Pan Li + + * gcc.target/riscv/rvv/autovec/vls-vlmax/init-repeat-sequence-run-1.c: + Remove debug code. + 2023-05-30 liuhongt * gcc.target/i386/pr108804.c: New test. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 63c9a4e2c39..c684e3430d0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,119 @@ +2023-05-31 Jonathan Wakely + + PR libstdc++/109818 + * acinclude.m4 (GLIBCXX_ENABLE_C99): Add separate check for + float_t and double_t and define HAVE_C99_FLT_EVAL_TYPES. + * config.h.in: Regenerate. + * configure: Regenerate. + * include/c_global/cmath (float_t, double_t): Guard using new + _GLIBCXX_HAVE_C99_FLT_EVAL_TYPES macro. + +2023-05-31 Jonathan Wakely + + * acinclude.m4 (GLIBCXX_ENABLE_C99): Add checks for C99 math + functions and define _GLIBCXX_USE_C99_MATH_FUNCS. Move checks + for C99 rounding functions to here. + (GLIBCXX_CHECK_C99_TR1): Remove checks for C99 rounding + functions from here. + * config.h.in: Regenerate. + * configure: Regenerate. + * include/bits/random.h: Use _GLIBCXX_USE_C99_MATH_FUNCS instead + of _GLIBCXX_USE_C99_MATH_TR1. + * include/bits/random.tcc: Likewise. + * include/c_compatibility/math.h: Likewise. + * include/c_global/cmath: Likewise. + * include/ext/random: Likewise. + * include/ext/random.tcc: Likewise. + * include/std/complex: Likewise. + * testsuite/20_util/from_chars/4.cc: Likewise. + * testsuite/20_util/from_chars/8.cc: Likewise. + * testsuite/26_numerics/complex/proj.cc: Likewise. + * testsuite/26_numerics/headers/cmath/60401.cc: Likewise. + * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: + Likewise. + * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): + Likewise. + * testsuite/util/testsuite_random.h: Likewise. + +2023-05-31 Jonathan Wakely + + * include/bits/stl_vector.h (_Vector_base::_M_invariant()): New + function. + (vector::size(), vector::capacity()): Call _M_invariant(). + * testsuite/23_containers/vector/capacity/invariant.cc: New test. + * testsuite/23_containers/vector/types/1.cc: Add suppression for + false positive warning (PR110060). + +2023-05-31 Jonathan Wakely + + PR libstdc++/109921 + * src/c++17/floating_from_chars.cc: Check __FLT128_MANT_DIG__ is + defined before trying to use _Float128. + +2023-05-31 Jonathan Wakely + + * acinclude.m4 (GLIBCXX_ZONEINFO_DIR): Fix for 32-bit pointers + to check __INT_PTR_WIDTH__ instead of sizeof(void*). + * configure: Regenerate. + +2023-05-31 Jonathan Wakely + + * include/bits/unique_lock.h: Include + here for std::errc constants. + * include/std/mutex: Do not include and + here. + +2023-05-31 Jonathan Wakely + + * configure.ac: Replace use of -o operator for test. + * configure: Regenerate. + +2023-05-31 Jonathan Wakely + + * include/std/scoped_allocator (scoped_allocator_adaptor): Add + noexcept to all constructors except the default constructor. + (scoped_allocator_adaptor::inner_allocator): Add noexcept. + (scoped_allocator_adaptor::outer_allocator): Likewise. + * testsuite/20_util/scoped_allocator/noexcept.cc: New test. + +2023-05-31 Jonathan Wakely + + PR libstdc++/104772 + * include/std/limits (numeric_limits<__float128>): Define. + * testsuite/18_support/numeric_limits/128bit.cc: New test. + +2023-05-31 Jonathan Wakely + + * acinclude.m4 (GLIBCXX_ZONEINFO_DIR): Extend logic for avr and + msp430 to all 16-bit targets. + * configure: Regenerate. + +2023-05-31 Jonathan Wakely + + PR libstdc++/109921 + * src/c++17/floating_from_chars.cc (USE_STRTOF128_FOR_FROM_CHARS): + Only define when USE_STRTOD_FOR_FROM_CHARS is also defined. + (USE_STRTOD_FOR_FROM_CHARS): Do not undefine when long double is + binary64. + (from_chars(const char*, const char*, double&, chars_format)): + Check __LDBL_MANT_DIG__ == __DBL_MANT_DIG__ here. + (from_chars(const char*, const char*, _Float128&, chars_format)) + Only use from_chars_strtod when USE_STRTOD_FOR_FROM_CHARS is + defined, otherwise parse a long double and convert to _Float128. + +2023-05-31 Jonathan Wakely + + PR libstdc++/109922 + * include/std/iomanip (operator>>(basic_istream&, _Setfill)): + Add deprecated attribute to non-standard overload. + * doc/xml/manual/evolution.xml: Document deprecation. + * doc/html/*: Regenerate. + * testsuite/27_io/manipulators/standard/char/1.cc: Add + dg-warning for expected deprecated warning. + * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. + * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise. + * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise. + 2023-05-30 Alexandre Oliva * testsuite/20_util/from_chars/4.cc: Skip long double test06