+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-04-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/109410
+ * tree-ssa-reassoc.cc (build_and_add_sum): Split edge from entry
+ block if first statement of the function is a call to returns_twice
+ function.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ 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-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ 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-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR ipa/105685
+ * predict.cc (compute_function_frequency): Don't call
+ warn_function_cold if function already has cold attribute.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/109176
+ * tree-vect-generic.cc (expand_vector_condition): If a has
+ vector boolean type and is a comparison, also check if both
+ the comparison and VEC_COND_EXPR could be successfully expanded
+ individually.
+
2023-04-18 Philipp Tomsich <philipp.tomsich@vrull.eu>
Backported from master:
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/107163
+ * c-common.cc (verify_tree): Don't use sequenced handling
+ for COMPONENT_REF.
+
2023-03-19 Jakub Jelinek <jakub@redhat.com>
Backported from master:
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/109357
+ * constexpr.cc (cxx_eval_constant_expression) [TARGET_EXPR]:
+ Check for complex initializer.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/105481
+ * pt.cc (type_unification_real): Adjust for partial ordering.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/105996
+ * typeck.cc (build_ptrmemfunc): Drop 0-offset optimization
+ and location wrappers.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/106890
+ * init.cc (maybe_instantiate_nsdmi_init): Don't leave
+ current_function_decl set to a constructor.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108975
+ * lambda.cc (prune_lambda_captures): Don't bother in a template.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/69410
+ * friend.cc (do_friend): Handle namespace as scope argument.
+ * decl.cc (grokdeclarator): Pass down in_namespace.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/105809
+ * init.cc (get_nsdmi): Split out...
+ (maybe_instantiate_nsdmi_init): ...this function.
+ * cp-tree.h: Declare it.
+ * pt.cc (tsubst_expr): Use it.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108242
+ * pt.cc (tsubst_expr) [TAG_DEFN]: Handle partial instantiation.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/101869
+ * semantics.cc (finish_qualified_id_expr): Don't try to build a
+ pointer-to-member if the scope is an enumeration.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/105406
+ * coroutines.cc (build_co_await): Handle lvalue 'o'.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/103871
+ PR c++/98056
+ * typeck.cc (cp_build_modify_expr): Allow array initialization of
+ DECL_ARTIFICIAL variable.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108468
+ * pt.cc (unify_pack_expansion): Check that TPARMS_PRIMARY_TEMPLATE
+ is non-null.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/107310
+ * cp-gimplify.cc (genericize_if_stmt): Restore folding
+ of constant conditions.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108566
+ * mangle.cc (anon_aggr_naming_decl): New.
+ (write_unqualified_name): Use it.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/107154
+ * cp-gimplify.cc (cp_genericize_init_expr): Use iloc_sentinel.
+ (cp_genericize_target_expr): Likewise.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108099
+ * decl.cc (grokdeclarator): Handle non-typedef typedef_decl.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-04-12 Jakub Jelinek <jakub@redhat.com>
+
+ * Make-lang.in (s-cp-module-version): New target.
+ (cp/module.o): Depend on it.
+ (MODULE_VERSION): Remove variable.
+ (CFLAGS-cp/module.o): For -DMODULE_VERSION= argument just
+ cat s-cp-module-version.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/109319
+ * decl2.cc (grok_array_decl): After emitting a pedwarn for
+ -Wcomma-subscript, if processing_template_decl set orig_index_exp
+ to compound expr from orig_index_exp_list.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/109164
+ * cp-tree.h (var_needs_tls_wrapper): Declare.
+ * decl2.cc (var_needs_tls_wrapper): No longer static.
+ * decl.cc (cp_finish_decl): Clear TREE_READONLY on TLS variables
+ for which a TLS wrapper will be needed.
+
2023-03-19 Jakub Jelinek <jakub@redhat.com>
Backported from master:
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/109357
+ * g++.dg/cpp2a/constexpr-dtor15.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/107163
+ * g++.dg/warn/Wsequence-point-5.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/105481
+ * g++.dg/cpp0x/fntmpdefarg-partial1.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/105996
+ * g++.dg/cpp0x/constexpr-pmf3.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/106890
+ * g++.dg/cpp0x/nsdmi-template25.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108975
+ * g++.dg/cpp0x/lambda/lambda-const11.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/69410
+ * g++.dg/lookup/friend24.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/105809
+ * g++.dg/cpp0x/constexpr-__func__3.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108242
+ * g++.dg/cpp1y/lambda-generic-func2.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/101869
+ * g++.dg/cpp0x/enum43.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/105406
+ * g++.dg/coroutines/co-await-moveonly1.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/103871
+ PR c++/98056
+ * g++.dg/coroutines/co-await-initlist1.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108468
+ * g++.dg/cpp1y/var-templ78.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/107310
+ * c-c++-common/Wimplicit-fallthrough-39.c: Adjust warning.
+ * g++.dg/warn/Wreturn-6.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108566
+ * g++.dg/abi/anon6.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/107154
+ * g++.dg/debug/dwarf2/lineno-array1.C: New test.
+
+2023-04-18 Jason Merrill <jason@redhat.com>
+
+ PR c++/108099
+ * g++.dg/ext/int128-7.C: New test.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-04-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/109410
+ * gcc.dg/pr109410.c: New test.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/109319
+ * g++.dg/cpp23/subscript14.C: New test.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/106190
+ * gcc.dg/asan/pr106190.c: New test.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/109276
+ * gcc.target/i386/pr109276.c: New test.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR ipa/105685
+ * c-c++-common/cold-2.c: New test.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/109176
+ * gcc.target/aarch64/sve/pr109176.c: New test.
+
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-03-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/109164
+ * g++.dg/tls/thread_local13.C: New test.
+ * g++.dg/tls/thread_local13-aux.cc: New file.
+ * g++.dg/tls/thread_local14.C: New test.
+ * g++.dg/tls/thread_local14-aux.cc: New file.
+
2023-04-18 Philipp Tomsich <philipp.tomsich@vrull.eu>
Backported from master:
+2023-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2023-04-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/109306
+ * strstr.c: Revert the 2020-11-13 changes.
+ (strstr): Return s1 if len is 0.
+
2023-01-04 Florian Weimer <fweimer@redhat.com>
Backported from master: