From e2554540460add5357aeadbe99fb709aebbb415a Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 2 Feb 2024 00:18:18 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 62 +++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 7 +++ gcc/cp/ChangeLog | 23 ++++++++ gcc/testsuite/ChangeLog | 57 +++++++++++++++++++ libcpp/ChangeLog | 6 ++ libgcc/ChangeLog | 17 ++++++ libgomp/ChangeLog | 6 ++ libstdc++-v3/ChangeLog | 119 ++++++++++++++++++++++++++++++++++++++++ 9 files changed, 298 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec3bfe1c8ad2..c63ad2fdb5db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,65 @@ +2024-02-01 Marek Polacek + + * doc/invoke.texi: Update -Wdangling-reference documentation. + +2024-02-01 Uros Bizjak + + PR target/113701 + * config/i386/i386.md (*cmp_doubleword): + Do not force SUBREG pieces to pseudos. + +2024-02-01 John David Anglin + + * config/pa/pa.md (atomic_storedi_1): Fix bug in + alternative 1. + +2024-02-01 Georg-Johann Lay + + * config/avr/avr.cc: Tabify. + +2024-02-01 Richard Ball + + PR tree-optimization/111268 + * tree-vect-slp.cc (vectorizable_slp_permutation_1): + Add variable-length check for vector input arguments + to a function. + +2024-02-01 Thomas Schwinge + + * config/gcn/gcn.cc (gcn_hsa_declare_function_name): Don't + hard-code number of SGPR/VGPR/AVGPR registers. + * config/gcn/gcn.h: Add a 'STATIC_ASSERT's for number of + SGPR/VGPR/AVGPR registers. + +2024-02-01 Monk Chiang + + * config/riscv/riscv.md: Add "fcvt_i2f", "fcvt_f2i" type + attribute, and include sifive-p600.md. + * config/riscv/generic-ooo.md: Update type attribute. + * config/riscv/generic.md: Update type attribute. + * config/riscv/sifive-7.md: Update type attribute. + * config/riscv/sifive-p600.md: New file. + * config/riscv/riscv-cores.def (RISCV_TUNE): Add parameter. + * config/riscv/riscv-opts.h (enum riscv_microarchitecture_type): + Add sifive_p600. + * config/riscv/riscv.cc (sifive_p600_tune_info): New. + * config/riscv/riscv.h (TARGET_SFB_ALU): Update. + * doc/invoke.texi (RISC-V Options): Add sifive-p600-series + +2024-02-01 Monk Chiang + + * common/config/riscv/riscv-common.cc: Add Za64rs, Za128rs, + Ziccif, Ziccrse, Ziccamoa, Zicclsm, Zic64b items. + * config/riscv/riscv.opt: New macro for 7 new unprivileged + extensions. + * doc/invoke.texi (RISC-V Options): Add Za64rs, Za128rs, + Ziccif, Ziccrse, Ziccamoa, Zicclsm, Zic64b extensions. + +2024-02-01 Rainer Orth + + * config/sol2.h (LIBASAN_EARLY_SPEC): Add -z now unless + -static-libasan. Add missing whitespace. + 2024-02-01 Thomas Schwinge * config/gcn/gcn.md (FIRST_SGPR_REG, LAST_SGPR_REG) diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index aa4ca8e7cb7e..656861b7a3db 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240201 +20240202 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 9bce0143cad4..6741eb53c51e 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,10 @@ +2024-02-01 Lewis Hyatt + + PR preprocessor/105608 + * c-pch.cc (c_common_read_pch): Adjust line map so that libcpp + assigns a location to restored macros which is the same location + that triggered the PCH include. + 2024-01-31 Marek Polacek * c-opts.cc (c_common_post_options): Add an inform saying that diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 41986410684b..bcc9c3a873f8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,26 @@ +2024-02-01 Marek Polacek + + * call.cc (reference_like_class_p): Consider even non-templates for + std::span-like classes. + +2024-02-01 Patrick Palka + + PR c++/112737 + * pt.cc (iterative_hash_template_arg) : + Adjust hashing to match cp_tree_equal. + (ctp_hasher::hash): Also hash CLASS_PLACEHOLDER_TEMPLATE. + * tree.cc (cp_tree_equal) : Return true + for ttp TEMPLATE_DECLs if their TEMPLATE_TEMPLATE_PARMs are + equivalent. + * typeck.cc (structural_comptypes) : + Use cp_tree_equal to compare CLASS_PLACEHOLDER_TEMPLATE. + +2024-02-01 Marek Polacek + + PR c++/112437 + * typeck.cc (treat_lvalue_as_rvalue_p): Bail out on sk_namespace in + the move on throw of parms loop. + 2024-01-30 Marek Polacek PR c++/110358 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5d4013382d82..8ab0ccab13a9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,60 @@ +2024-02-01 Marek Polacek + + * g++.dg/warn/Wdangling-reference21.C: New test. + +2024-02-01 John David Anglin + + * gnat.dg/trampoline3.adb: xfail scan-assembler-not + check on hppa*-*-*. + +2024-02-01 Patrick Palka + + PR c++/112737 + * g++.dg/template/ttp42.C: New test. + * g++.dg/template/ttp43.C: New test. + +2024-02-01 Marek Polacek + + PR c++/112437 + * g++.dg/cpp2a/concepts-throw1.C: New test. + * g++.dg/eh/throw4.C: New test. + +2024-02-01 Monk Chiang + + * gcc.target/riscv/za-ext.c: New test. + * gcc.target/riscv/zi-ext.c: New test. + +2024-02-01 Rainer Orth + + * gcc.target/i386/pr38534-1.c: Add -fomit-frame-pointer to + dg-options. + * gcc.target/i386/pr38534-2.c: Likewise. + * gcc.target/i386/pr38534-3.c: Likewise. + * gcc.target/i386/pr38534-4.c: Likewise. + +2024-02-01 Rainer Orth + + * gcc.target/i386/no-callee-saved-1.c: Add -fomit-frame-pointer to + dg-options. + * gcc.target/i386/no-callee-saved-2.c: Likewise. + +2024-02-01 Rainer Orth + + * gcc.target/i386/avx512vl-stv-rotatedi-1.c: Add -mstv + -mno-stackrealign to dg-options. + +2024-02-01 Rainer Orth + + * gcc.target/i386/pr70321.c: Add -fomit-frame-pointer to + dg-options. + +2024-02-01 Rainer Orth + + * g++.dg/ext/attr-section2.C (scan-assembler): Quote dots. Allow + for double-quoted section name. + * g++.dg/ext/attr-section2a.C: Likewise. + * g++.dg/ext/attr-section2b.C: Likewise. + 2024-02-01 Richard Biener PR tree-optimization/113693 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index cb0eab11da76..7ed17b8c944d 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2024-02-01 Lewis Hyatt + + PR preprocessor/105608 + * pch.cc (cpp_read_state): Set a valid location for restored + macros. + 2024-01-04 Raiki Tamura * charset.cc (cpp_check_xid_property): New. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 839c4cb753cc..18582d5df14a 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,20 @@ +2024-02-01 Jakub Jelinek + + PR libgcc/113402 + * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last + argument from void ** to void *. + * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created): + Change type of dst from void ** to void * and cast dst to void ** + before dereferencing it. + * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created): + Likewise. + +2024-02-01 Jakub Jelinek + + PR libgcc/113403 + * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED + i386/heap-trampoline.c rather than aarch64/heap-trampoline.c. + 2024-02-01 Szabolcs Nagy * config/aarch64/crti.S: Remove stack marking. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index c6bc1013e241..5fd657c1d92c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2024-02-01 John David Anglin + + * testsuite/libgomp.c++/loop-3.C: Set num_threads to 50 + on 32-bit hppa. + * testsuite/libgomp.c/omp-loop03.c: Likewise. + 2024-01-29 Tobias Burnus * testsuite/libgomp.c/declare-variant-4.h: Use gfx1100/gfx1030 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index eeafdc38cad2..d380315c1751 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,122 @@ +2024-02-01 Patrick Palka + + PR libstdc++/113309 + PR libstdc++/109203 + * include/bits/ranges_util.h (__detail::__pair_like): Don't + define in C++23 mode. + (__detail::__pair_like_convertible_from): Adjust as per P2165R4. + (__detail::__is_subrange): Moved from . + (__detail::__is_tuple_like_v): Likewise. + * include/bits/stl_iterator.h: Include for + C++23. + (__different_from): Move to . + (__iter_key_t): Adjust for C++23 as per P2165R4. + (__iter_val_t): Likewise. + * include/bits/stl_pair.h (pair, array): Forward declare. + (get): Forward declare all overloads relevant to P2165R4 + tuple-like constructors. + (__is_tuple_v): Define for C++23. + (__is_tuple_like_v): Define for C++23. + (__tuple_like): Define for C++23 as per P2165R4. + (__pair_like): Define for C++23 as per P2165R4. + (__eligibile_tuple_like): Define for C++23. + (__eligibile_pair_like): Define for C++23. + (pair::_S_constructible_from_pair_like): Define for C++23. + (pair::_S_convertible_from_pair_like): Define for C++23. + (pair::_S_dangles_from_pair_like): Define for C++23. + (pair::pair): Define overloads taking a tuple-like type for + C++23 as per P2165R4. + (pair::_S_assignable_from_tuple_like): Define for C++23. + (pair::_S_const_assignable_from_tuple_like): Define for C++23. + (pair::operator=): Define overloads taking a tuple-like type for + C++23 as per P2165R4. + * include/bits/utility.h (ranges::__detail::__is_subrange): + Moved from . + * include/bits/version.def (tuple_like): Define for C++23. + * include/bits/version.h: Regenerate. + * include/std/concepts (__different_from): Moved from + . + (ranges::__swap::__adl_swap): Clarify which __detail namespace. + * include/std/map (__cpp_lib_tuple_like): Define C++23. + * include/std/ranges (__detail::__is_subrange): Moved to + . + (__detail::__is_subrange): Moved to + (__detail::__has_tuple_element): Adjust for C++23 as per P2165R4. + (__detail::__tuple_or_pair): Remove as per P2165R4. Replace all + uses with plain tuple as per P2165R4. + * include/std/tuple (__cpp_lib_tuple_like): Define for C++23. + (__tuple_like_tag_t): Define for C++23. + (__tuple_cmp): Forward declare for C++23. + (_Tuple_impl::_Tuple_impl): Define overloads taking + __tuple_like_tag_t and a tuple-like type for C++23. + (_Tuple_impl::_M_assign): Likewise. + (tuple::__constructible_from_tuple_like): Define for C++23. + (tuple::__convertible_from_tuple_like): Define for C++23. + (tuple::__dangles_from_tuple_like): Define for C++23. + (tuple::tuple): Define overloads taking a tuple-like type for + C++23 as per P2165R4. + (tuple::__assignable_from_tuple_like): Define for C++23. + (tuple::__const_assignable_from_tuple_like): Define for C++23. + (tuple::operator=): Define overloads taking a tuple-like type + for C++23 as per P2165R4. + (tuple::__tuple_like_common_comparison_category): Define for C++23. + (tuple::operator<=>): Define overload taking a tuple-like type + for C++23 as per P2165R4. + (array, get): Forward declarations moved to . + (tuple_cat): Constrain with __tuple_like for C++23 as per P2165R4. + (apply): Likewise. + (make_from_tuple): Likewise. + (__tuple_like_common_reference): Define for C++23. + (basic_common_reference): Adjust as per P2165R4. + (__tuple_like_common_type): Define for C++23. + (common_type): Adjust as per P2165R4. + * include/std/unordered_map (__cpp_lib_tuple_like): Define for + C++23. + * include/std/utility (__cpp_lib_tuple_like): Define for C++23. + * testsuite/std/ranges/zip/1.cc (test01): Adjust to handle pair + and 2-tuple interchangeably. + (test05): New test. + * testsuite/20_util/pair/p2165r4.cc: New test. + * testsuite/20_util/tuple/p2165r4.cc: New test. + +2024-02-01 Patrick Palka + + * include/bits/stl_pair.h (pair::_S_const_assignable): Define, + factored out from ... + (pair::operator=): ... the constraints of the const overloads. + +2024-02-01 Jonathan Wakely + + * include/bits/version.tpl: Do not use def-file-line for each + macro being defined. + * include/bits/version.h: Regenerate. + +2024-02-01 Jonathan Wakely + + * testsuite/25_algorithms/copy/debug/constexpr_neg.cc: Adjust + dg-error pattern. + * testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc: + Likewise. + * testsuite/25_algorithms/equal/debug/constexpr_neg.cc: + Likewise. + * testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc: + Likewise. + * testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc: + Likewise. + * testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc: + Likewise. + * testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc: + Likewise. + * testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc: + Likewise. + * testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc: + Likewise. + +2024-02-01 Jonathan Wakely + + * include/experimental/internet (network_v4::to_string()): + Remove lambda and use of resize_and_overwrite. + 2024-01-31 Jonathan Wakely * acinclude.m4 (GLIBCXX_CHECK_TEXT_ENCODING): Use if -- 2.39.2