aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog62
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog23
-rw-r--r--gcc/testsuite/ChangeLog57
-rw-r--r--libcpp/ChangeLog6
-rw-r--r--libgcc/ChangeLog17
-rw-r--r--libgomp/ChangeLog6
-rw-r--r--libstdc++-v3/ChangeLog119
9 files changed, 298 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ec3bfe1..c63ad2f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,65 @@
+2024-02-01 Marek Polacek <polacek@redhat.com>
+
+ * doc/invoke.texi: Update -Wdangling-reference documentation.
+
+2024-02-01 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/113701
+ * config/i386/i386.md (*cmp<dwi>_doubleword):
+ Do not force SUBREG pieces to pseudos.
+
+2024-02-01 John David Anglin <danglin@gcc.gnu.org>
+
+ * config/pa/pa.md (atomic_storedi_1): Fix bug in
+ alternative 1.
+
+2024-02-01 Georg-Johann Lay <avr@gjlay.de>
+
+ * config/avr/avr.cc: Tabify.
+
+2024-02-01 Richard Ball <richard.ball@arm.com>
+
+ 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 <tschwinge@baylibre.com>
+
+ * 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 <monk.chiang@sifive.com>
+
+ * 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 <monk.chiang@sifive.com>
+
+ * 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 <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/sol2.h (LIBASAN_EARLY_SPEC): Add -z now unless
+ -static-libasan. Add missing whitespace.
+
2024-02-01 Thomas Schwinge <tschwinge@baylibre.com>
* config/gcn/gcn.md (FIRST_SGPR_REG, LAST_SGPR_REG)
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index aa4ca8e..656861b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240201
+20240202
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 9bce014..6741eb5 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2024-02-01 Lewis Hyatt <lhyatt@gmail.com>
+
+ 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 <polacek@redhat.com>
* c-opts.cc (c_common_post_options): Add an inform saying that
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 4198641..bcc9c3a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,26 @@
+2024-02-01 Marek Polacek <polacek@redhat.com>
+
+ * call.cc (reference_like_class_p): Consider even non-templates for
+ std::span-like classes.
+
+2024-02-01 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/112737
+ * pt.cc (iterative_hash_template_arg) <case TEMPLATE_DECL>:
+ Adjust hashing to match cp_tree_equal.
+ (ctp_hasher::hash): Also hash CLASS_PLACEHOLDER_TEMPLATE.
+ * tree.cc (cp_tree_equal) <case TEMPLATE_DECL>: Return true
+ for ttp TEMPLATE_DECLs if their TEMPLATE_TEMPLATE_PARMs are
+ equivalent.
+ * typeck.cc (structural_comptypes) <case TEMPLATE_TYPE_PARM>:
+ Use cp_tree_equal to compare CLASS_PLACEHOLDER_TEMPLATE.
+
+2024-02-01 Marek Polacek <polacek@redhat.com>
+
+ 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 <polacek@redhat.com>
PR c++/110358
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5d40133..8ab0cca 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,60 @@
+2024-02-01 Marek Polacek <polacek@redhat.com>
+
+ * g++.dg/warn/Wdangling-reference21.C: New test.
+
+2024-02-01 John David Anglin <danglin@gcc.gnu.org>
+
+ * gnat.dg/trampoline3.adb: xfail scan-assembler-not
+ check on hppa*-*-*.
+
+2024-02-01 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/112737
+ * g++.dg/template/ttp42.C: New test.
+ * g++.dg/template/ttp43.C: New test.
+
+2024-02-01 Marek Polacek <polacek@redhat.com>
+
+ PR c++/112437
+ * g++.dg/cpp2a/concepts-throw1.C: New test.
+ * g++.dg/eh/throw4.C: New test.
+
+2024-02-01 Monk Chiang <monk.chiang@sifive.com>
+
+ * gcc.target/riscv/za-ext.c: New test.
+ * gcc.target/riscv/zi-ext.c: New test.
+
+2024-02-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * 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 <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * 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 <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.target/i386/avx512vl-stv-rotatedi-1.c: Add -mstv
+ -mno-stackrealign to dg-options.
+
+2024-02-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.target/i386/pr70321.c: Add -fomit-frame-pointer to
+ dg-options.
+
+2024-02-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * 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 <rguenther@suse.de>
PR tree-optimization/113693
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index cb0eab11..7ed17b8 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,9 @@
+2024-02-01 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR preprocessor/105608
+ * pch.cc (cpp_read_state): Set a valid location for restored
+ macros.
+
2024-01-04 Raiki Tamura <tamaron1203@gmail.com>
* charset.cc (cpp_check_xid_property): New.
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 839c4cb..18582d5 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,20 @@
+2024-02-01 Jakub Jelinek <jakub@redhat.com>
+
+ 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 <jakub@redhat.com>
+
+ 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 <szabolcs.nagy@arm.com>
* config/aarch64/crti.S: Remove stack marking.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index c6bc101..5fd657c 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,9 @@
+2024-02-01 John David Anglin <danglin@gcc.gnu.org>
+
+ * 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 <tburnus@baylibre.com>
* testsuite/libgomp.c/declare-variant-4.h: Use gfx1100/gfx1030
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index eeafdc3..d380315 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,122 @@
+2024-02-01 Patrick Palka <ppalka@redhat.com>
+
+ 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<subrange>): Moved from <ranges>.
+ (__detail::__is_tuple_like_v<subrange>): Likewise.
+ * include/bits/stl_iterator.h: Include <bits/utility.h> for
+ C++23.
+ (__different_from): Move to <concepts>.
+ (__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 <ranges>.
+ * include/bits/version.def (tuple_like): Define for C++23.
+ * include/bits/version.h: Regenerate.
+ * include/std/concepts (__different_from): Moved from
+ <bits/stl_iterator.h>.
+ (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
+ <bits/utility.h>.
+ (__detail::__is_subrange<subrange>): Moved to <bits/ranges_util.h>
+ (__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 <bits/stl_pair.h>.
+ (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 <ppalka@redhat.com>
+
+ * 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 <jwakely@redhat.com>
+
+ * 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 <jwakely@redhat.com>
+
+ * 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 <jwakely@redhat.com>
+
+ * include/experimental/internet (network_v4::to_string()):
+ Remove lambda and use of resize_and_overwrite.
+
2024-01-31 Jonathan Wakely <jwakely@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_TEXT_ENCODING): Use <xlocale.h> if