]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 1 Jun 2023 00:16:46 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 1 Jun 2023 00:16:46 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index 394e12d6c6a7cef3c2f8a2195ef9f8acdfa81b36..734bb4eee9c95e2633d4e2d2dafae5b23f6a0eed 100644 (file)
@@ -1,3 +1,240 @@
+2023-06-01  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * 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  <roger@nextmovesoftware.com>
+           Richard Sandiford  <richard.sandiford@arm.com>
+
+       * fold-const-call.cc (fold_const_call_ss) <CFN_BUILT_IN_BSWAP*>:
+       Update call to wi::bswap.
+       * simplify-rtx.cc (simplify_const_unary_operation) <case BSWAP>:
+       Update call to wi::bswap.
+       * tree-ssa-ccp.cc (evaluate_stmt) <case BUILT_IN_BSWAP*>:
+       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  <kyrylo.tkachov@arm.com>
+
+       PR target/99195
+       * config/aarch64/aarch64-simd.md (<sur>dot_prod<vsi2qi>): Rename to...
+       (<sur>dot_prod<vsi2qi><vczle><vczbe>): ... This.
+       (usdot_prod<vsi2qi>): Rename to...
+       (usdot_prod<vsi2qi><vczle><vczbe>): ... This.
+       (aarch64_<sur>dot_lane<vsi2qi>): Rename to...
+       (aarch64_<sur>dot_lane<vsi2qi><vczle><vczbe>): ... This.
+       (aarch64_<sur>dot_laneq<vsi2qi>): Rename to...
+       (aarch64_<sur>dot_laneq<vsi2qi><vczle><vczbe>): ... This.
+       (aarch64_<DOTPROD_I8MM:sur>dot_lane<VB:isquadop><VS:vsi2qi>): Rename to...
+       (aarch64_<DOTPROD_I8MM:sur>dot_lane<VB:isquadop><VS:vsi2qi><vczle><vczbe>):
+       ... This.
+
+2023-05-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       PR target/99195
+       * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh<mode>): Rename to...
+       (aarch64_sq<r>dmulh<mode><vczle><vczbe>): ... This.
+       (aarch64_sq<r>dmulh_n<mode>): Rename to...
+       (aarch64_sq<r>dmulh_n<mode><vczle><vczbe>): ... This.
+       (aarch64_sq<r>dmulh_lane<mode>): Rename to...
+       (aarch64_sq<r>dmulh_lane<mode><vczle><vczbe>): ... This.
+       (aarch64_sq<r>dmulh_laneq<mode>): Rename to...
+       (aarch64_sq<r>dmulh_laneq<mode><vczle><vczbe>): ... This.
+       (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h<mode>): Rename to...
+       (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h<mode><vczle><vczbe>): ... This.
+       (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_lane<mode>): Rename to...
+       (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_lane<mode><vczle><vczbe>): ... This.
+       (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_laneq<mode>): Rename to...
+       (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_laneq<mode><vczle><vczbe>): ... This.
+
+2023-05-31  David Faust  <david.faust@oracle.com>
+
+       * 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  <david.faust@oracle.com>
+
+       * 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  <ubizjak@gmail.com>
+
+       * 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  <ubizjak@gmail.com>
+
+       * 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  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/autovec.md (<optab><v_double_trunc><mode>2): Change
+       expand into define_insn_and_split.
+
+2023-05-31  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/vector.md: Remove FRM.
+
+2023-05-31  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/vector.md: Remove FRM.
+
+2023-05-31  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/vector.md: Remove FRM.
+
+2023-05-31  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       PR target/110039
+       * config/aarch64/aarch64.md (aarch64_rev16si2_alt3): New
+       pattern.
+
+2023-05-31  Richard Biener  <rguenther@suse.de>
+
+       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  <rguenther@suse.de>
+
+       * 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  <kyrylo.tkachov@arm.com>
+
+       * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<VDMOV:mode>): Rewrite
+       output template to avoid explicit switch on which_alternative.
+       (*aarch64_simd_mov<VQMOV:mode>): Likewise.
+       (and<mode>3): Likewise.
+       (ior<mode>3): Likewise.
+       * config/aarch64/aarch64.md (*mov<mode>_aarch64): Likewise.
+
+2023-05-31  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
+
+       * config/xtensa/predicates.md (xtensa_bit_join_operator):
+       New predicate.
+       * config/xtensa/xtensa.md (ior_op): Remove.
+       (*shlrd_reg): Rename from "*shlrd_reg_<code>", 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  <lili.cui@intel.com>
+
+       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  <pan2.li@intel.com>
+
+       * 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  <hongtao.liu@intel.com>
 
        PR tree-optimization/108804
index 748e702e080389e1fd0ca346b0870e1ea525431d..e171f9ed053dda5d5afb7b5d7a1d762490bde67c 100644 (file)
@@ -1 +1 @@
-20230531
+20230601
index a5a5bd1981c6e4a4518da4b9eaee4476693d0294..43e2270b316382a0def51946c8bffa098245f4f8 100644 (file)
@@ -1,3 +1,81 @@
+2023-06-01  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.target/riscv/rvv/base/frm-1.c: New test.
+
+2023-05-31  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
+
+       * 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  <kyrylo.tkachov@arm.com>
+
+       PR target/99195
+       * gcc.target/aarch64/simd/pr99195_11.c: New test.
+
+2023-05-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       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  <david.faust@oracle.com>
+
+       * 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  <juzhe.zhong@rivai.ai>
+
+       * 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  <juzhe.zhong@rivai.ai>
+
+       * 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  <lili.cui@intel.com>
+
+       PR tree-optimization/110038
+       * gcc.dg/pr110038.c: New test.
+
+2023-05-31  Pan Li  <pan2.li@intel.com>
+
+       * gcc.target/riscv/arch-21.c: New test.
+       * gcc.target/riscv/predef-27.c: New test.
+
+2023-05-31  Pan Li  <pan2.li@intel.com>
+
+       * gcc.target/riscv/rvv/autovec/vls-vlmax/init-repeat-sequence-run-1.c:
+       Remove debug code.
+
 2023-05-30  liuhongt  <hongtao.liu@intel.com>
 
        * gcc.target/i386/pr108804.c: New test.
index 63c9a4e2c3958922147bd016cb31f402208cde23..c684e3430d02217c8f73c1a05992d8ade17aafb7 100644 (file)
@@ -1,3 +1,119 @@
+2023-05-31  Jonathan Wakely  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
+
+       * include/bits/unique_lock.h: Include <bits/error_constants.h>
+       here for std::errc constants.
+       * include/std/mutex: Do not include <bits/error_constants.h> and
+       <exception> here.
+
+2023-05-31  Jonathan Wakely  <jwakely@redhat.com>
+
+       * configure.ac: Replace use of -o operator for test.
+       * configure: Regenerate.
+
+2023-05-31  Jonathan Wakely  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
+
+       PR libstdc++/104772
+       * include/std/limits (numeric_limits<__float128>): Define.
+       * testsuite/18_support/numeric_limits/128bit.cc: New test.
+
+2023-05-31  Jonathan Wakely  <jwakely@redhat.com>
+
+       * acinclude.m4 (GLIBCXX_ZONEINFO_DIR): Extend logic for avr and
+       msp430 to all 16-bit targets.
+       * configure: Regenerate.
+
+2023-05-31  Jonathan Wakely  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       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  <oliva@adacore.com>
 
        * testsuite/20_util/from_chars/4.cc: Skip long double test06