+2022-06-22 Jason Merrill <jason@redhat.com>
+
+ PR c++/104642
+ * common.opt: Add -funreachable-traps.
+ * doc/invoke.texi (-funreachable-traps): Document it.
+ * opts.cc (finish_options): Enable at -O0 or -Og.
+ * tree.cc (build_common_builtin_nodes): Add __builtin_trap.
+ (builtin_decl_unreachable, build_builtin_unreachable): New.
+ * tree.h: Declare them.
+ * ubsan.cc (sanitize_unreachable_fn): Factor out.
+ (ubsan_instrument_unreachable): Use
+ gimple_build_builtin_unreachable.
+ * ubsan.h (sanitize_unreachable_fn): Declare.
+ * gimple.cc (gimple_build_builtin_unreachable): New.
+ * gimple.h: Declare it.
+ * builtins.cc (expand_builtin_unreachable): Add assert.
+ (fold_builtin_0): Call build_builtin_unreachable.
+ * sanopt.cc: Don't run for just SANITIZE_RETURN
+ or SANITIZE_UNREACHABLE when trapping.
+ * cgraphunit.cc (walk_polymorphic_call_targets): Use new
+ unreachable functions.
+ * gimple-fold.cc (gimple_fold_call)
+ (gimple_get_virt_method_for_vtable)
+ * ipa-fnsummary.cc (redirect_to_unreachable)
+ * ipa-prop.cc (ipa_make_edge_direct_to_target)
+ (ipa_impossible_devirt_target)
+ * ipa.cc (walk_polymorphic_call_targets)
+ * tree-cfg.cc (pass_warn_function_return::execute)
+ (execute_fixup_cfg)
+ * tree-ssa-loop-ivcanon.cc (remove_exits_and_undefined_stmts)
+ (unloop_loops)
+ * tree-ssa-sccvn.cc (eliminate_dom_walker::eliminate_stmt):
+ Likewise.
+
+2022-06-22 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/106019
+ * tree-data-ref.cc (dr_may_alias_p): Try using the
+ innermost_loop_behavior to disambiguate non-loop queries.
+
+2022-06-22 Palmer Dabbelt <palmer@rivosinc.com>
+
+ * doc/invoke.texi (RISC-V): Document -mtune=thead-c906.
+
+2022-06-22 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
+
+ * config/xtensa/xtensa.md (bswapsi2_internal):
+ Enlarge the buffer that is obviously smaller than the template
+ string given to sprintf().
+
2022-06-21 Roger Sayle <roger@nextmovesoftware.com>
Marek Polacek <polacek@redhat.com>
Segher Boessenkool <segher@kernel.crashing.org>
+2022-06-22 Jason Merrill <jason@redhat.com>
+
+ PR c++/105908
+ * name-lookup.cc (outer_binding): Strip BASELINK.
+
+2022-06-22 Nathan Sidwell <nathan@acm.org>
+
+ * module.cc (struct duplicate_hash): Remove.
+ (duplicate_hash_map): Adjust.
+
+2022-06-22 Jason Merrill <jason@redhat.com>
+
+ PR c++/104642
+ * constexpr.cc (cxx_eval_builtin_function_call): Handle
+ unreachable/trap earlier.
+ * cp-gimplify.cc (cp_maybe_instrument_return): Use
+ build_builtin_unreachable.
+
2022-06-18 Jakub Jelinek <jakub@redhat.com>
* cp-ubsan.cc (cp_ubsan_instrument_vptr_p): Use
+2022-06-22 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * dmd/MERGE: Merge upstream dmd 6203135dc.
+ * typeinfo.cc (TypeInfoVisitor::visit (TypeInfoStructDeclaration *)):
+ Update for new front-end interface.
+ (SpeculativeTypeVisitor::visit (TypeStruct *)): Likewise.
+
2022-06-15 Iain Buclaw <ibuclaw@gdcproject.org>
* d-attribs.cc (d_langhook_attribute_table): Add no_sanitize.
+2022-06-22 Jason Merrill <jason@redhat.com>
+
+ PR c++/105908
+ * g++.dg/cpp0x/trailing16.C: New test.
+
+2022-06-22 Jason Merrill <jason@redhat.com>
+
+ PR c++/104642
+ * g++.dg/ubsan/return-8a.C: New test.
+ * g++.dg/ubsan/return-8b.C: New test.
+ * g++.dg/ubsan/return-8d.C: New test.
+ * g++.dg/ubsan/return-8e.C: New test.
+
+2022-06-22 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/106019
+ * gcc.dg/vect/bb-slp-pr106019.c: New test.
+
+2022-06-22 Alexandre Oliva <oliva@adacore.com>
+
+ * gcc.misc-tests/outputs.exp: Clean up left-overs first.
+
+2022-06-22 Alexandre Oliva <oliva@adacore.com>
+
+ * gcc.misc-tests/outputs.exp (outest): Introduce quiet mode,
+ create and return lists of passes and fails. Use it to catch
+ skip_atsave cases where -L flags are implicitly added by
+ driver self specs.
+
+2022-06-22 Alexandre Oliva <oliva@adacore.com>
+
+ * g++.dg/lto/pr90990_0.C: Require lto_incremental target.
+
+2022-06-22 Haochen Jiang <haochen.jiang@intel.com>
+
+ * gcc.target/i386/amx-check.h (request_perm_xtile_data):
+ New function to check if AMX is usable and enable AMX.
+ (main): Run test if AMX is usable.
+
2022-06-21 Roger Sayle <roger@nextmovesoftware.com>
Marek Polacek <polacek@redhat.com>
Segher Boessenkool <segher@kernel.crashing.org>
+2022-06-22 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * libdruntime/MERGE: Merge upstream druntime e150cca1.
+ * src/MERGE: Merge upstream phobos a4a18d21c.
+ * testsuite/libphobos.cycles/cycles.exp (cycle_test_list): Update
+ expected result of deprecate test.
+
2022-06-15 Iain Buclaw <ibuclaw@gdcproject.org>
* libdruntime/gcc/attributes.d (no_sanitize): Define.
+2022-06-22 Alexandre Oliva <oliva@adacore.com>
+
+ * libsupc++/eh_globals.cc [!_GLIBCXX_HAVE_TLS]
+ (__eh_globals_init::~__eh_globals_init): Clear _S_init first.
+
+2022-06-22 Alexandre Oliva <oliva@adacore.com>
+
+ * testsuite/30_threads/this_thread/60421.cc (test02): Call
+ sched_yield.
+
+2022-06-22 Alexandre Oliva <oliva@adacore.com>
+
+ * testsuite/20_util/to_chars/long_double.cc: Require cmath.
+
+2022-06-22 Alexandre Oliva <oliva@adacore.com>
+
+ * testsuite/23_containers/bitset/cons/dr1325-2.cc: Work around
+ global struct bitset.
+ * testsuite/23_containers/bitset/ext/15361.cc: Likewise.
+ * testsuite/23_containers/bitset/input/1.cc: Likewise.
+ * testsuite/23_containers/bitset/to_string/1.cc: Likewise.
+ * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
+
2022-06-17 Jonathan Wakely <jwakely@redhat.com>
* testsuite/21_strings/basic_string/cons/char/105995.cc: Add