aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2024-06-12 00:21:15 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2024-06-12 00:21:15 +0000
commitf38ffe32ae1703fa68fc05649142fdf7ea138429 (patch)
tree3dd19ff7aa8b6f3890fc0a01eb0732a62f9222ad
parenta995fded34fe488153b06bb41e026277f01efded (diff)
downloadgcc-f38ffe32ae1703fa68fc05649142fdf7ea138429.zip
gcc-f38ffe32ae1703fa68fc05649142fdf7ea138429.tar.gz
gcc-f38ffe32ae1703fa68fc05649142fdf7ea138429.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog266
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog20
-rw-r--r--gcc/c/ChangeLog10
-rw-r--r--gcc/cp/ChangeLog31
-rw-r--r--gcc/testsuite/ChangeLog223
-rw-r--r--libcc1/ChangeLog9
-rw-r--r--libcpp/ChangeLog11
-rw-r--r--libgomp/ChangeLog18
-rw-r--r--libquadmath/ChangeLog11
-rw-r--r--libstdc++-v3/ChangeLog134
11 files changed, 734 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6528092..ba1d83a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,269 @@
+2024-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ Backported from master:
+ 2024-03-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR middle-end/111632
+ * system.h: Include safe-ctype.h after C++ standard headers.
+
+2024-06-11 Andrew Pinski <quic_apinski@quicinc.com>
+
+ Backported from master:
+ 2024-05-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/115143
+ * tree-ssa-phiopt.cc (minmax_replacement): Check for empty
+ phi nodes for middle bbs for the case where middle bb is not empty.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/115337
+ * fold-const.cc (tree_call_nonnegative_warnv_p) <CASE_CFN_CLZ>:
+ If fn is CFN_CLZ, use CLZ_DEFINED_VALUE_AT.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/108789
+ * builtins.cc (fold_builtin_arith_overflow): For ovf_only,
+ don't call save_expr and don't build REALPART_EXPR, otherwise
+ set TREE_SIDE_EFFECTS on call before calling save_expr.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/115324
+ * config/rs6000/rs6000-gen-builtins.cc (write_decls): Remove
+ GTY markup from struct bifdata and struct ovlddata and remove their
+ fntype members. Change next member in struct ovlddata and
+ first_instance member of struct ovldrecord to have int type rather
+ than struct ovlddata *. Remove GTY markup from rs6000_builtin_info
+ and rs6000_instance_info arrays, declare new
+ rs6000_builtin_info_fntype and rs6000_instance_info_fntype arrays,
+ which have GTY markup.
+ (write_bif_static_init): Adjust for the above changes.
+ (write_ovld_static_init): Likewise.
+ (write_init_bif_table): Likewise.
+ (write_init_ovld_table): Likewise.
+ * config/rs6000/rs6000-builtin.cc (rs6000_init_builtins): Likewise.
+ * config/rs6000/rs6000-c.cc (find_instance): Likewise. Make static.
+ (altivec_resolve_overloaded_builtin): Adjust for the above changes.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-05-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/114902
+ PR rtl-optimization/115092
+ * combine.cc (simplify_compare_const): Don't optimize
+ GE op0 SIGNED_MIN or LT op0 SIGNED_MIN into NE op0 const0_rtx or
+ EQ op0 const0_rtx.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-05-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/114956
+ * tree-inline.cc: Include asan.h.
+ (copy_bb): Remove also .ASAN_MARK calls if id->dst_fn has asan/hwasan
+ sanitization disabled.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/114876
+ * gimple-ssa-sprintf.cc (format_character): For min == 0 && max == 0,
+ set max, likely and unlikely members to 1 rather than 0. Remove
+ useless res.knownrange = true;. Formatting fixes.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/114825
+ * tree-nested.cc (get_debug_decl): New function.
+ (get_nonlocal_debug_decl): Use it.
+ (get_local_debug_decl): Likewise.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/114768
+ * rtlanal.cc (set_noop_p): Don't return true for MEM <- MEM
+ sets if src has side-effects or for stores into ZERO_EXTRACT
+ if ZERO_EXTRACT operand has side-effects.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/114753
+ * internal-fn.cc (expand_mul_overflow): Save flag_trapv and
+ temporarily clear it for the duration of the function, then
+ restore previous value.
+ (expand_vector_ubsan_overflow): Likewise.
+ (expand_arith_overflow): Likewise.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114634
+ * attribs.cc (diag_attr_exclusions): Set attrs[1] to NULL_TREE for
+ decls with NULL TREE_TYPE.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/110027
+ * asan.cc (asan_emit_stack_protection): Assert offsets[0] is
+ zero if there is no stack protect guard, otherwise
+ -ASAN_RED_ZONE_SIZE. If alignb > ASAN_RED_ZONE_SIZE and there is
+ stack pointer guard, take the ASAN_RED_ZONE_SIZE bytes allocated at
+ the top of the stack into account when computing base_align_bias.
+ Recompute use_after_return_class from asan_frame_size + base_align_bias
+ and set to -1 if that would overflow to 11.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/114566
+ * tree-vect-loop.cc (update_epilogue_loop_vinfo): Don't clear
+ base_misaligned.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114537
+ * fold-const.cc (native_encode_initializer): Look through
+ NON_LVALUE_EXPR if val is INTEGER_CST.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/113907
+ * ipa-icf.cc (sem_item_optimizer::merge_classes): Reset
+ SSA_NAME_RANGE_INFO and SSA_NAME_PTR_INFO on successfully ICF merged
+ functions.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114310
+ * config/aarch64/aarch64.cc (aarch64_expand_compare_and_swap): For
+ TImode force newval into a register.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/110079
+ * bb-reorder.cc (fix_crossing_unconditional_branches): Don't adjust
+ asm goto.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114184
+ * config/i386/i386-expand.cc (ix86_expand_move): If XFmode op1
+ is SUBREG of CONSTANT_P, force the SUBREG_REG into memory or
+ register.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/113674
+ * attribs.cc (extract_attribute_substring): Remove.
+ (lookup_scoped_attribute_spec): Don't call it.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-03 Jakub Jelinek <jakub@redhat.com>
+
+ * ggc-common.cc (gt_pch_save): Allow addr to be equal to
+ mmi.preferred_base + mmi.size - sizeof (void *).
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113603
+ * tree-ssa-strlen.cc (strlen_pass::handle_store): After
+ count_nonzero_bytes call refetch si using get_strinfo in case it
+ has been unshared in the meantime.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ * doc/generic.texi (VECTOR_CST): Fix typo - petterns -> patterns.
+ * doc/rtl.texi (CONST_VECTOR): Likewise.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/113122
+ * config/i386/i386.cc (x86_function_profiler): Add -masm=intel
+ support. Add missing space after , in emitted assembly in some
+ cases. Formatting fixes.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113372
+ PR middle-end/90348
+ PR middle-end/110115
+ PR middle-end/111422
+ * cfgexpand.cc (add_scope_conflicts_2): New function.
+ (add_scope_conflicts_1): Use it.
+
+2024-06-11 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2023-08-21 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/111070
+ * tree-ssa-ifcombine.cc (ifcombine_ifandif): Check we have
+ an SSA name before checking SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
+
2024-06-07 Jan Hubicka <jh@suse.cz>
Backported from master:
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 9561fe8..da7aa8a 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240611
+20240612
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index df7e456..fa7e04b 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,23 @@
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114007
+ * c-lex.cc (c_common_has_attribute): Parse 2 CPP_COLONs with
+ the first one with COLON_SCOPE flag the same as CPP_SCOPE but
+ ensure 0 is returned then.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/113262
+ * c-attribs.cc (handle_copy_attribute): Don't use
+ DECL_SOURCE_LOCATION (decl) if decl is not DECL_P, use input_location
+ instead. Formatting fixes.
+
2024-05-08 Andrew Pinski <quic_apinski@quicinc.com>
Backported from master:
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 1efe464..e25177b 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,13 @@
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114493
+ * c-decl.cc (c_fixup_may_alias): New function.
+ (finish_struct): Call it if "may_alias" attribute is
+ specified.
+
2023-05-08 Release Manager
* GCC 12.3.0 released.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 4c47d8c..ac12ceb 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,34 @@
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114691
+ * semantics.cc (simplify_loop_decl_cond): Use cp_build_unary_op with
+ TRUTH_NOT_EXPR on ANNOTATE_EXPR argument (if any) rather than
+ ANNOTATE_EXPR itself.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114580
+ * semantics.cc (finish_if_stmt_cond): Call
+ maybe_warn_for_constant_evaluated with IF_STMT_CONSTEXPR_P (if_stmt)
+ as the second argument, rather than true/false depending on if
+ it is if constexpr with non-dependent constant expression with
+ bool type.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114572
+ * cp-gimplify.cc (cxx_omp_clause_apply_fn): Call build_cplus_new
+ on build_call_a result if it has class type.
+
2024-05-24 Jason Merrill <jason@redhat.com>
Backported from master:
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f788581..69828e2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,226 @@
+2024-06-11 Andrew Pinski <quic_apinski@quicinc.com>
+
+ Backported from master:
+ 2024-05-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/115143
+ * gcc.c-torture/compile/pr115143-1.c: New test.
+ * gcc.c-torture/compile/pr115143-2.c: New test.
+ * gcc.c-torture/compile/pr115143-3.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114493
+ * gcc.dg/pr114493-1.c: New test.
+ * gcc.dg/pr114493-2.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/108789
+ * gcc.c-torture/execute/pr108789.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-05-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/114902
+ PR rtl-optimization/115092
+ * gcc.dg/pr114902.c: New test.
+ * gcc.dg/pr115092.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-05-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/114956
+ * gcc.dg/asan/pr114956.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/114876
+ * gcc.dg/pr114876.c: New test.
+ * gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Adjust expected
+ diagnostics.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/114825
+ * gfortran.dg/gomp/pr114825.f90: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/114768
+ * gcc.dg/pr114768.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/114753
+ * gcc.dg/pr114753.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114634
+ * g++.dg/ext/attrib68.C: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114691
+ * g++.dg/ext/pr114691.C: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/110027
+ * gcc.dg/asan/pr110027.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114580
+ * g++.dg/cpp2a/is-constant-evaluated15.C: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/114566
+ * gcc.target/i386/avx512f-pr114566.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114537
+ * g++.dg/cpp2a/bit-cast16.C: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/113907
+ * gcc.dg/pr113907-1.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114310
+ * gcc.dg/pr114310.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/110079
+ * gcc.dg/pr110079.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114184
+ * gcc.target/i386/pr114184.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114007
+ * gcc.dg/c23-attr-syntax-8.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/113674
+ * c-c++-common/Wattributes-3.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113603
+ * gcc.c-torture/compile/pr113603.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/113122
+ * gcc.target/i386/pr113122-1.c: New test.
+ * gcc.target/i386/pr113122-2.c: New test.
+ * gcc.target/i386/pr113122-3.c: New test.
+ * gcc.target/i386/pr113122-4.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113372
+ PR middle-end/90348
+ PR middle-end/110115
+ PR middle-end/111422
+ * gcc.c-torture/execute/pr90348.c: New test.
+ * gcc.c-torture/execute/pr110115.c: New test.
+ * gcc.c-torture/execute/pr111422.c: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/113262
+ * gcc.dg/pr113262.c: New test.
+
+2024-06-11 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2023-08-21 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/111070
+ * gcc.dg/pr111070.c: New testcase.
+
2024-06-10 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/incomplete8.adb: New test.
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog
index 80d9fd9..27b30a7 100644
--- a/libcc1/ChangeLog
+++ b/libcc1/ChangeLog
@@ -1,3 +1,12 @@
+2024-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ Backported from master:
+ 2024-03-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR middle-end/111632
+ * libcc1plugin.cc: Fix include.
+ * libcp1plugin.cc: Fix include.
+
2023-05-08 Release Manager
* GCC 12.3.0 released.
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 9130d6a..fc25502 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,14 @@
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114007
+ * include/cpplib.h (COLON_SCOPE): Define to PURE_ZERO.
+ * lex.cc (_cpp_lex_direct): When lexing CPP_COLON with another
+ colon after it, if !CPP_OPTION (pfile, scope) set COLON_SCOPE
+ flag on the first CPP_COLON token.
+
2023-05-08 Release Manager
* GCC 12.3.0 released.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 0b2eb55..3f5d731 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,21 @@
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114572
+ * testsuite/libgomp.c++/pr114572.C: New test.
+
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR libgomp/113192
+ * configure.ac (FLOCK): Use $libgomp_abs_srcdir/testsuite/flock
+ instead of \$(abs_top_srcdir)/testsuite/flock.
+ * configure: Regenerated.
+
2023-09-01 Tobias Burnus <tobias@codesourcery.com>
Backported from master:
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog
index 09f21e7..5211da9 100644
--- a/libquadmath/ChangeLog
+++ b/libquadmath/ChangeLog
@@ -1,3 +1,14 @@
+2024-06-11 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-03 Simon Chopin <simon.chopin@canonical.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR libquadmath/114533
+ * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy to copy
+ __float128 out of args.
+ * printf/printf_fphex.c (__quadmath_printf_fphex): Likewise.
+
2023-05-08 Release Manager
* GCC 12.3.0 released.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 5312e0c..931b53d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,137 @@
+2024-06-11 Tianqiang Shuai <1101282468@qq.com>
+
+ Backported from master:
+ 2023-07-06 Tianqiang Shuai <1101282468@qq.com>
+
+ * config/io/basic_file_stdio.cc (xwrite) [USE_STDIO_PURE]: Fix
+ first argument.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2023-03-22 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/utility (__cpp_lib_constexpr_algorithms): Define,
+ as per LWG 3792.
+ * testsuite/20_util/exchange/constexpr.cc: Check for it.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2023-02-16 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/fs_ops.h (create_directory): Use reserved name
+ for parameter.
+ * include/bits/regex_automaton.h (_State_base::_M_print):
+ Likewise.
+ * include/bits/regex_automaton.tcc(_State_base::_M_print):
+ Likewise.
+ * include/bits/regex_scanner.tcc(_Scanner::_M_print): Likewise.
+ * include/experimental/bits/fs_ops.h (create_directory):
+ Likewise.
+ * include/std/mutex (timed_mutex::_M_clocklock): Likewise.
+ (recursive_timed_mutex:_M_clocklock): Likewise.
+ * libsupc++/cxxabi_init_exception.h
+ (__cxa_init_primary_exception): Likewise.
+ * testsuite/17_intro/names.cc: Add checks.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2024-02-02 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/experimental/internet (network_v6::network): Define.
+ (network_v6::hosts): Finish implementing.
+ (network_v6::to_string): Do not concatenate std::string to
+ arbitrary std::basic_string specialization.
+ * testsuite/experimental/net/internet/network/v6/cons.cc: New
+ test.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2023-06-09 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/100285
+ * include/experimental/internet [IPPROTO_TCP || IPPROTO_UDP]
+ (basic_endpoint, basic_resolver_entry, resolver_base)
+ (basic_resolver_results, basic_resolver): Only define if the tcp
+ or udp protocols will be defined.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2023-07-05 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/110542
+ * include/bits/stl_uninitialized.h (__uninitialized_default_n):
+ Do not use std::fill_n during constant evaluation.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2024-04-10 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/27_io/manipulators/extended/get_time/char/2.cc:
+ Adjust input string so that it matches %a with or without a
+ trailing period.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2024-03-19 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/114359
+ * include/bits/random.tcc (binomial_distribution::param_type):
+ Ensure arithmetic is done as type double.
+ * testsuite/26_numerics/random/binomial_distribution/114359.cc: New test.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2024-03-19 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/114367
+ * include/bits/stl_bvector.h (_M_allocate): Use allocator's
+ construct function to begin lifetime of words.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2024-04-03 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/104606
+ * include/std/optional (operator<=>(const optional<T>&, const U&)):
+ Reverse order of three_way_comparable_with template arguments.
+ * testsuite/20_util/optional/relops/104606.cc: New test.
+
+2024-06-11 Jonathan Wakely <jwakely@redhat.com>
+
+ Backported from master:
+ 2024-03-22 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/114401
+ * include/bits/hashtable.h (_Hashtable::_M_reinsert_node): Call
+ release() on node handle instead of just zeroing its pointer.
+ (_Hashtable::_M_reinsert_node_multi): Likewise.
+ (_Hashtable::_M_merge_unique): Likewise.
+ (_Hashtable::_M_merge_multi): Likewise.
+ * include/bits/node_handle.h (_Node_handle_common::release()):
+ New member function.
+ (_Node_handle_common::_Optional_alloc::_M_empty): Remove
+ unnecessary union member.
+ (_Node_handle_common): Declare _Hashtable as a friend.
+ * include/bits/stl_tree.h (_Rb_tree::_M_reinsert_node_unique):
+ Call release() on node handle instead of just zeroing its
+ pointer.
+ (_Rb_tree::_M_reinsert_node_equal): Likewise.
+ (_Rb_tree::_M_reinsert_node_hint_unique): Likewise.
+ (_Rb_tree::_M_reinsert_node_hint_equal): Likewise.
+ * testsuite/23_containers/multiset/modifiers/114401.cc: New test.
+ * testsuite/23_containers/set/modifiers/114401.cc: New test.
+ * testsuite/23_containers/unordered_multiset/modifiers/114401.cc: New test.
+ * testsuite/23_containers/unordered_set/modifiers/114401.cc: New test.
+
2024-06-01 Jonathan Wakely <jwakely@redhat.com>
Backported from master: