+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/119417
+ * tree-ssa-math-opts.cc (convert_mult_to_widen): Before changing
+ typeN because actual_precision/from_unsignedN differs cast rhsN
+ to typeN if it has a different type.
+ (convert_plusminus_to_widen): Before changing
+ typeN because actual_precision/from_unsignedN differs cast mult_rhsN
+ to typeN if it has a different type.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/119450
+ * config/i386/i386.md (narrow test peephole2): Test for
+ offsettable_memref_p in condition.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-22 Jakub Jelinek <jakub@redhat.com>
+
+ * gimplify.cc (warn_switch_unreachable_and_auto_init_r): Add missing
+ space in the middle of diagnostics.
+ * tree-vect-stmts.cc (vectorizable_load): Add missing space in the
+ middle of debug dump message.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/119204
+ PR middle-end/119219
+ * builtins.cc (fold_builtin_2): Pass type as another argument
+ to fold_builtin_strspn and fold_builtin_strcspn.
+ (fold_builtin_strspn): Add type argument, use it instead of
+ size_type_node.
+ (fold_builtin_strcspn): Add type argument, use it instead of
+ TREE_TYPE (expr).
+
+2025-03-27 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2025-03-11 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/119204
+ * builtins.cc (fold_builtin_strcspn): Preserve the original
+ expression type.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/119183
+ * tree.cc (skip_simple_arithmetic): If first operand of binary
+ expr is TREE_CONSTANT or TREE_READONLY with no side-effects, call
+ tree_invariant_p on that operand first instead of on the second.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/118953
+ * value-range.cc (irange::union_bitmask): Update m_bitmask if
+ get_bitmask () is unknown_p and m_bitmask is not even when the
+ semantic bitmask didn't change and returning false.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-01 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/115871
+ * omp-simd-clone.cc (simd_clone_adjust): For SIMD_CLONE_ARG_TYPE_MASK
+ and sc->mask_mode not VOIDmode, set elem_type to the characteristic
+ type rather than boolean_type_node.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-02-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114870
+ * ginclude/stddef.h (__STDC_VERSION_STDDEF_H__, unreachable): Don't
+ redefine multiple times if stddef.h is first included without __need_*
+ defines and later with them. Move nullptr_t and unreachable and
+ __STDC_VERSION_STDDEF_H__ definitions into the same
+ defined (__STDC_VERSION__) && __STDC_VERSION__ > 201710L #if block.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/118915
+ * tree-ssa-reassoc.cc (optimize_range_tests_to_bit_test): For
+ highj == NULL_TREE use TYPE_MAX_VALUE (TREE_TYPE (lowj)) rather
+ than TYPE_MAX_VALUE (type).
+
+2025-03-27 Lulu Cheng <chenglulu@loongson.cn>
+
+ Backported from master:
+ 2025-03-27 Lulu Cheng <chenglulu@loongson.cn>
+
+ PR target/119408
+ * config/loongarch/loongarch.cc
+ (loongarch_c_mode_for_suffix): New.
+ (TARGET_C_MODE_FOR_SUFFIX): Define.
+
2025-03-26 Alex Coplan <alex.coplan@arm.com>
Backported from master:
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-02-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/119000
+ * c-parser.cc (c_parser_omp_atomic): For omp write call
+ default_function_array_read_conversion on the rhs expression.
+ Merge the two adjacent if (code == NOP_EXPR) blocks.
+
2025-03-22 Martin Uecker <uecker@tugraz.at>
Backported from master:
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/119150
+ * constexpr.cc (cxx_eval_call_expression): For
+ DECL_IMMEDIATE_FUNCTION_P (fun) set manifestly_const_eval in new_ctx
+ and new_call to mce_true and set ctx to &new_ctx.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/98533
+ PR c++/119123
+ * parser.cc (cp_parser_class_specifier): Update TYPE_FIELDS of
+ variant types in case cp_parser_late_parsing_default_args etc. change
+ TYPE_FIELDS on the main variant. Add switch_to_class lambda and
+ use it to simplify repeated class switching code.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/119045
+ * constexpr.cc (cxx_eval_store_expression) <case REALPART_EXPR>:
+ Assert that refs->is_empty () rather than probe == target.
+ (cxx_eval_store_expression) <case IMAGPART_EXPR>: Likewise.
+
2025-03-25 Simon Martin <simon@nasilyan.com>
Backported from master:
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-22 Jakub Jelinek <jakub@redhat.com>
+
+ * resolve.cc (resolve_procedure_expression): Remove extraneous space
+ from the middle of diagnostics.
+
2025-03-25 Harald Anlauf <anlauf@gmx.de>
Backported from master:
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/119417
+ * gcc.dg/torture/pr119417.c: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/119450
+ * gcc.target/i386/pr119450.c: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/119150
+ * g++.dg/cpp2a/consteval41.C: New test.
+
+2025-03-27 Richard Biener <rguenther@suse.de>
+
+ Backported from master:
+ 2025-03-11 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/119204
+ * gcc.dg/pr119204.c: New testcase.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/119183
+ * gcc.dg/pr119183.c: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-10 Jakub Jelinek <jakub@redhat.com>
+ Michael Leuchtenburg <michael@slashhome.org>
+
+ PR libgcc/119151
+ * gcc.dg/pr119151.c: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/98533
+ PR c++/119123
+ * g++.dg/cpp0x/pr98533.C: New test.
+ * g++.dg/cpp0x/pr119123.C: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/118953
+ * gcc.dg/torture/pr118953.c: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-01 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/115871
+ * gcc.dg/gomp/simd-clones-8.c: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/119045
+ * g++.dg/cpp1y/constexpr-complex2.C: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-02-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114870
+ * gcc.dg/c23-stddef-2.c: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-02-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/119000
+ * c-c++-common/gomp/pr119000.c: New test.
+
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-02-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/118915
+ * gcc.c-torture/execute/pr118915.c: New test.
+
+2025-03-27 Lulu Cheng <chenglulu@loongson.cn>
+
+ Backported from master:
+ 2025-03-27 Lulu Cheng <chenglulu@loongson.cn>
+
+ PR target/119408
+ * gcc.target/loongarch/pr119408.c: New test.
+
2025-03-26 Alex Coplan <alex.coplan@arm.com>
Backported from master:
+2025-03-27 Roland McGrath <mcgrathr@google.com>
+
+ * configure.ac: Check for setlocale.
+ * configure, config.in: Regenerated.
+
2024-11-25 Lewis Hyatt <lhyatt@gmail.com>
PR preprocessor/117118
+2025-03-27 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2025-03-10 Jakub Jelinek <jakub@redhat.com>
+ Michael Leuchtenburg <michael@slashhome.org>
+
+ PR libgcc/119151
+ * unwind-dw2-btree.h (btree_split_inner): Add size argument. If
+ left_fence is in the middle of [target,target + size - 1] range,
+ increase it to target + size - 1.
+ (btree_insert): Adjust btree_split_inner caller. If fence is smaller
+ than base + size - 1, increase it and separator of the slot to
+ base + size - 1.
+
2025-02-20 Lulu Cheng <chenglulu@loongson.cn>
Backported from master: