From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 333AC3858D39; Wed, 29 Mar 2023 00:17:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 333AC3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680049061; bh=rMHc9EdnVI6dI8U9mIyvVWgHvpCTgWVz2ENVWTALGGk=; h=From:To:Subject:Date:From; b=gDTkZZ7VolhFDK4FBYFwzNwHEsRUU5eQ2ATZPofz62cnOiHkRpXCICQOaDzPFvzu8 mWJCNxaf3wFZN3LAuam3d2xBouxS6d8xBclX/NZzNl2OZ0g87808KXIZDkqXbatLTp 3QBxa3PsC8/rvGw1+R/Xlu+5wZoJx4LNK5gbNOmU= 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-6920] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: f4698e9b4d61deac19be9276ac92d827998a9880 X-Git-Newrev: 579cdc1e44b316166ebfdfbcff14d41101003aec Message-Id: <20230329001741.333AC3858D39@sourceware.org> Date: Wed, 29 Mar 2023 00:17:41 +0000 (GMT) List-Id: https://gcc.gnu.org/g:579cdc1e44b316166ebfdfbcff14d41101003aec commit r13-6920-g579cdc1e44b316166ebfdfbcff14d41101003aec Author: GCC Administrator Date: Wed Mar 29 00:17:01 2023 +0000 Daily bump. Diff: --- fixincludes/ChangeLog | 8 +++ gcc/ChangeLog | 179 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 13 ++++ gcc/c/ChangeLog | 6 ++ gcc/cp/ChangeLog | 13 ++++ gcc/fortran/ChangeLog | 6 ++ gcc/po/ChangeLog | 4 ++ gcc/testsuite/ChangeLog | 75 ++++++++++++++++++++ libbacktrace/ChangeLog | 9 +++ libgomp/ChangeLog | 5 ++ libstdc++-v3/ChangeLog | 46 +++++++++++++ 12 files changed, 365 insertions(+), 1 deletion(-) diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 9d9b31a35d9..af6873a12c1 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,11 @@ +2023-03-28 Xi Ruoyao + + PR other/109293 + * configure.ac (AC_CHECK_DECLS): Add memmem. + * configure: Regenerate. + * config.h.in: Regenerate. + * system.h (memmem): Declare if HAVE_DECL_MEMMEM is zero. + 2023-02-17 Rainer Orth * inclhack.def (solaris_math_12): Add bypass. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1205dc3fdbb..09ad0faceec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,182 @@ +2023-03-28 David Malcolm + + PR c/107002 + * diagnostic-show-locus.cc (column_range::column_range): Factor + out assertion conditional into... + (column_range::valid_p): ...this new function. + (line_corrections::add_hint): Don't attempt to consolidate hints + if it would lead to invalid column_range instances. + +2023-03-28 Kito Cheng + + PR target/109312 + * config/riscv/riscv-c.cc (riscv_ext_version_value): New. + (riscv_cpu_cpp_builtins): Define __riscv_v_intrinsic and + minor refactor. + +2023-03-28 Alexander Monakov + + PR rtl-optimization/109187 + * haifa-sched.cc (autopref_rank_for_schedule): Avoid use of overflowing + subtraction in three-way comparison. + +2023-03-28 Andrew MacLeod + + PR tree-optimization/109265 + PR tree-optimization/109274 + * gimple-range-gori.cc (gori_compute::compute_operand_range): Do + not create a relation record is op1 and op2 are the same symbol. + (gori_compute::compute_operand1_range): Pass op1 == op2 to the + handler for this stmt, but create a new record only if this statement + generates a relation based on the ranges. + (gori_compute::compute_operand2_range): Ditto. + * value-relation.h (value_relation::set_relation): Always create the + record that is requested. + +2023-03-28 Richard Biener + + PR tree-optimization/107087 + * tree-ssa-forwprop.cc (pass_forwprop::execute): Track + executable regions to avoid useless work and to better + propagate degenerate PHIs. + +2023-03-28 Costas Argyris + + * config/i386/x-mingw32-utf8: update comments. + +2023-03-28 Richard Sandiford + + PR target/109072 + * config/aarch64/aarch64-protos.h (aarch64_vector_load_decl): Declare. + * config/aarch64/aarch64.h (machine_function::vector_load_decls): New + variable. + * config/aarch64/aarch64-builtins.cc (aarch64_record_vector_load_arg): + New function. + (aarch64_general_gimple_fold_builtin): Delay folding of vld1 until + after inlining. Record which decls are loaded from. Fix handling + of vops for loads and stores. + * config/aarch64/aarch64.cc (aarch64_vector_load_decl): New function. + (aarch64_accesses_vector_load_decl_p): Likewise. + (aarch64_vector_costs::m_stores_to_vector_load_decl): New member + variable. + (aarch64_vector_costs::add_stmt_cost): If the function has a vld1 + that loads from a decl, treat vector stores to those decls as + zero cost. + (aarch64_vector_costs::finish_cost): ...and in that case, + if the vector code does nothing more than a store, give the + prologue a zero cost as well. + +2023-03-28 Richard Biener + + PR bootstrap/84402 + PR tree-optimization/108129 + * genmatch.cc (lower_for): For (match ...) delay + substituting into the match operator if possible. + (dt_operand::gen_gimple_expr): For user_id look at the + first substitute for determining how to access operands. + (dt_operand::gen_generic_expr): Likewise. + (dt_node::gen_kids): Properly sort user_ids according + to their substitutes. + (dt_node::gen_kids_1): Code-generate user_id matching. + +2023-03-28 Jakub Jelinek + Jonathan Wakely + + * gcov-tool.cc (do_merge, do_merge_stream, do_rewrite, do_overlap): + Use subcommand rather than sub-command in function comments. + +2023-03-28 Jakub Jelinek + + PR tree-optimization/109154 + * value-range.h (frange::flush_denormals_to_zero): Make it public + rather than private. + * value-range.cc (frange::set): Don't call flush_denormals_to_zero + here. + * range-op-float.cc (range_operator_float::fold_range): Call + flush_denormals_to_zero. + +2023-03-28 Jakub Jelinek + + PR middle-end/106190 + * sanopt.cc (pass_sanopt::execute): Return TODO_cleanup_cfg if any + of the IFN_{UB,HWA,A}SAN_* internal fns are lowered. + +2023-03-28 Jakub Jelinek + + * range-op-float.cc (float_widen_lhs_range): Use pass get_nan_state + as 4th argument to set to avoid clear_nan and union_ calls. + +2023-03-28 Jakub Jelinek + + PR target/109276 + * config/i386/i386.cc (assign_386_stack_local): For DImode + with SLOT_FLOATxFDI_387 and -m32 -mpreferred-stack-boundary=2 pass + align 32 rather than 0 to assign_stack_local. + +2023-03-28 Eric Botcazou + + PR target/109140 + * config/sparc/sparc.cc (sparc_expand_vcond): Call signed_condition + on operand #3 to get the final condition code. Use std::swap. + * config/sparc/sparc.md (vcondv8qiv8qi): New VIS 4 expander. + (fucmp8_vis): Move around. + (fpcmpu_vis): Likewise. + (vcondu): New VIS 4 expander. + +2023-03-28 Eric Botcazou + + * doc/gm2.texi: Add missing Next, Previous and Top fields to most + top-level sections. + +2023-03-28 Costas Argyris + + * config.host: Pull in i386/x-mingw32-utf8 Makefile + fragment and reference utf8rc-mingw32.o explicitly + for mingw hosts. + * config/i386/sym-mingw32.cc: prevent name mangling of + stub symbol. + * config/i386/x-mingw32-utf8: Make utf8rc-mingw32.o + depend on manifest file explicitly. + +2023-03-28 Richard Biener + + Revert: + 2023-03-27 Richard Biener + + PR rtl-optimization/109237 + * cfgcleanup.cc (bb_is_just_return): Walk insns backwards. + +2023-03-28 Richard Biener + + * common.opt (gdwarf): Remove Negative(gdwarf-). + +2023-03-28 Richard Biener + + * common.opt (gdwarf): Add RejectNegative. + (gdwarf-): Likewise. + (ggdb): Likewise. + (gvms): Likewise. + +2023-03-28 Hans-Peter Nilsson + + * config/cris/constraints.md ("T"): Correct to + define_memory_constraint. + +2023-03-28 Hans-Peter Nilsson + + * config/cris/cris.md (BW2): New mode-iterator. + (lra_szext_decomposed, lra_szext_decomposed_indirect_with_offset): New + peephole2s. + +2023-03-28 Hans-Peter Nilsson + + * config/cris/cris.md ("*add3_addi"): Improve to bail only + for possible eliminable compares. + +2023-03-28 Hans-Peter Nilsson + + * config/cris/constraints.md ("R"): Remove unused constraint. + 2023-03-27 Jonathan Wakely PR gcov-profile/109297 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1f5084a2947..8696380a31a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230328 +20230329 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 929a95f6eaa..2fd0d5a3a3e 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,16 @@ +2023-03-28 David Malcolm + + PR c/107002 + * c-common.h (check_for_xor_used_as_pow): Add "rhs_loc" param. + * c-warn.cc (check_for_xor_used_as_pow): Add "rhs_loc" param. + Reject cases where involving macro expansions. + +2023-03-28 Jason Merrill + + PR c++/107163 + * c-common.cc (verify_tree): Don't use sequenced handling + for COMPONENT_REF. + 2023-03-17 Jakub Jelinek PR c/109151 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 11eca92b08b..f23b3ba65da 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2023-03-28 David Malcolm + + PR c/107002 + * c-typeck.cc (parser_build_binary_op): Update for new param of + check_for_xor_used_as_pow. + 2023-03-10 Jakub Jelinek PR c/108079 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 200404e6f8d..5f3cd10a557 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,16 @@ +2023-03-28 David Malcolm + + PR c/107002 + * parser.cc (cp_parser_binary_expression): Update for new param of + check_for_xor_used_as_pow. + +2023-03-28 Jakub Jelinek + + PR c++/109309 + * contracts.cc: Include intl.h. + (check_postcondition_result): Don't form diagnostics from two halves + of an English message to allow translations. + 2023-03-24 Patrick Palka PR c++/106969 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e93eeb51129..ff390554fac 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2023-03-28 Jakub Jelinek + + PR fortran/109314 + * openmp.cc (gfc_omp_absent_contains_clause): Fix typo in diagnostics + - composit -> composite. + 2023-03-25 Harald Anlauf PR fortran/104321 diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 5d12cafb0cd..9f01ee6349b 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2023-03-28 Joseph Myers + + * de.po: Update. + 2023-03-20 Joseph Myers * sv.po: Update. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0856603d5a0..21d4b9d25b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,78 @@ +2023-03-28 Thomas Schwinge + + * gfortran.dg/weak-2.f90: Enable for nvptx target. + +2023-03-28 David Malcolm + + PR c/107002 + * c-c++-common/Wxor-used-as-pow-1.c: Add macro test. + * c-c++-common/Wxor-used-as-pow-pr107002-0.c: New test. + * c-c++-common/Wxor-used-as-pow-pr107002-1.c: New test. + * c-c++-common/Wxor-used-as-pow-pr107002-2.c: New test. + +2023-03-28 Jason Merrill + + PR c++/107163 + * g++.dg/warn/Wsequence-point-5.C: New test. + +2023-03-28 Kito Cheng + + PR target/109312 + * gcc.target/riscv/predef-__riscv_v_intrinsic.c: New test. + +2023-03-28 Alexander Monakov + + PR rtl-optimization/109187 + * gcc.dg/pr109187.c: New test. + +2023-03-28 Andrew MacLeod + + PR tree-optimization/109265 + PR tree-optimization/109274 + * gcc.dg/pr109274.c: New. + * gfortran.dg/pr109265.f90: New. + +2023-03-28 Richard Biener + + PR tree-optimization/107087 + * g++.dg/pr107087.C: New testcase. + +2023-03-28 Richard Sandiford + + PR target/109072 + * gcc.target/aarch64/pr109072_1.c: New test. + * gcc.target/aarch64/pr109072_2.c: Likewise. + +2023-03-28 Jakub Jelinek + + PR middle-end/106190 + * gcc.dg/asan/pr106190.c: New test. + +2023-03-28 Eric Botcazou + + * gcc.target/sparc/20230328-1.c: New test. + * gcc.target/sparc/20230328-2.c: Likewise. + * gcc.target/sparc/20230328-3.c: Likewise. + * gcc.target/sparc/20230328-4.c: Likewise. + +2023-03-28 Jakub Jelinek + + PR target/109276 + * gcc.target/i386/pr109276.c: New test. + +2023-03-28 Eric Botcazou + + * gcc.target/sparc/20230328-1.c: New test. + * gcc.target/sparc/20230328-2.c: Likewise. + * gcc.target/sparc/20230328-3.c: Likewise. + * gcc.target/sparc/20230328-4.c: Likewise. + +2023-03-28 Rainer Orth + + * lib/target-supports.exp (add_options_for_weak_undefined): Escape + brackets. + * gcc.dg/visibility-22.c: Add weak_undefined options. + 2023-03-27 Richard Biener PR tree-optimization/54498 diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 73740ec3679..c2066eb28a4 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,12 @@ +2023-03-28 Ian Lance Taylor + + * elf.c (elf_zstd_read_fse): Call elf_fetch_bits after reading + bits, not before. Add unlikely for error case. + (elf_zstd_offset_table): Regenerate. + (elf_zstd_read_huff): Clear 13 entries in weight_mark, not 12. + (elf_zstd_read_literals): For a single stream adjust by + total_streams_size, not compressed_size. + 2023-01-20 Ian Lance Taylor * dwarf.c (struct function_addrs): Change low and high fields to diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e9f3073fee7..c50e5916f8f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2023-03-28 Rainer Orth + + * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2.c: Add + weak_undefined options. + 2023-03-24 Tobias Burnus * libgomp.texi (Offload-Target Specifics): Grammar fix. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 36e7f79f4ba..b628e1b5e09 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,49 @@ +2023-03-28 Jonathan Wakely + + PR libstdc++/103387 + * include/bits/istream.tcc (istream::_M_extract(ValueT&)): Use + std::use_facet instead of cached _M_num_get facet. + (istream::operator>>(short&)): Likewise. + (istream::operator>>(int&)): Likewise. + * include/bits/ostream.tcc (ostream::_M_insert(ValueT)): Use + std::use_facet instead of cached _M_num_put facet. + +2023-03-28 Jonathan Wakely + + * include/bits/char_traits.h (char_traits::copy): Return without + using memcpy if n==0. + (char_traits::assign): Likewise for memset. + +2023-03-28 Jonathan Wakely + + PR libstdc++/109299 + * include/bits/basic_string.h (basic_string::_M_is_local()): Add + hint for compiler that local strings fit in the local buffer. + +2023-03-28 Jonathan Wakely + + PR libstdc++/109288 + * include/std/chrono (__detail::__get_leap_second_info): Update + expiry date of hardcoded leapseconds list. + * src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds()): + Likewise. + * src/c++20/tzdata.zi: Import new file from 2023a release. + * testsuite/std/time/time_zone/get_info_local.cc: Only check + transitions for Egypt up to 2014. + +2023-03-28 Matthias Kretz + + * include/experimental/bits/simd.h (is_simd_flag_type): New. + (_IsSimdFlagType): New. + (copy_from, copy_to, load ctors): Constrain _Flags using + _IsSimdFlagType. + +2023-03-28 Matthias Kretz + + * include/experimental/bits/simd_x86.h (_SimdImplX86): Use + _Base::_S_divides if the optimized _S_divides function is hidden + via the preprocessor. + 2023-03-27 Jakub Jelinek * testsuite/experimental/net/timer/waitable/dest.cc: Avoid -Wformat