aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog161
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/c-family/ChangeLog11
-rw-r--r--gcc/c/ChangeLog5
-rw-r--r--gcc/cp/ChangeLog66
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog158
-rw-r--r--libffi/ChangeLog9
-rw-r--r--libgomp/ChangeLog36
-rw-r--r--libstdc++-v3/ChangeLog21
11 files changed, 479 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2b7618d..52de288 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,164 @@
+2021-11-15 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * gimple-fold.c (gimple_fold_builtin_strncat): Use ranges to
+ determine if it is safe to transform to strcat.
+ (gimple_fold_builtin_snprintf): Likewise.
+
+2021-11-15 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * gimple-fold.c (known_lower): New function.
+ (gimple_fold_builtin_strncat_chk,
+ gimple_fold_builtin_memory_chk, gimple_fold_builtin_stxcpy_chk,
+ gimple_fold_builtin_stxncpy_chk,
+ gimple_fold_builtin_snprintf_chk,
+ gimple_fold_builtin_sprintf_chk): Use it.
+
+2021-11-15 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * gimple-fold.c (dump_transformation): New function.
+ (gimple_fold_builtin_stxcpy_chk,
+ gimple_fold_builtin_stxncpy_chk): Use it. Simplify to
+ BUILT_IN_STRNCPY if return value is not used.
+
+2021-11-15 H.J. Lu <hjl.tools@gmail.com>
+
+ PR middle-end/103184
+ * tree-ssa-ccp.c (optimize_atomic_bit_test_and): Check optab
+ before transforming equivalent, but slighly different cases to
+ their canonical forms.
+
+2021-11-15 Iain Sandoe <iain@sandoe.co.uk>
+
+ PR fortran/102992
+ * config/darwin.h (TARGET_DTORS_FROM_CXA_ATEXIT): New.
+ * doc/tm.texi: Regenerated.
+ * doc/tm.texi.in: Add TARGET_DTORS_FROM_CXA_ATEXIT hook.
+ * ipa.c (cgraph_build_static_cdtor_1): Return the built
+ function decl.
+ (build_cxa_atexit_decl): New.
+ (build_dso_handle_decl): New.
+ (build_cxa_dtor_registrations): New.
+ (compare_cdtor_tu_order): New.
+ (build_cxa_atexit_fns): New.
+ (ipa_cdtor_merge): If dtors_from_cxa_atexit is set,
+ process the DTORs/CTORs accordingly.
+ (pass_ipa_cdtor_merge::gate): Also run if
+ dtors_from_cxa_atexit is set.
+ * target.def (dtors_from_cxa_atexit): New hook.
+
+2021-11-15 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Test ld64 for -platform-version support.
+
+2021-11-15 Thomas Schwinge <thomas@codesourcery.com>
+
+ * diagnostic-spec.h (typedef xint_hash_t)
+ (typedef xint_hash_map_t): Replace with...
+ (typedef nowarn_map_t): ... this.
+ (nowarn_map): Adjust.
+ * diagnostic-spec.c (nowarn_map, suppress_warning_at): Likewise.
+
+2021-11-15 Thomas Schwinge <thomas@codesourcery.com>
+
+ * profile.c (branch_prob): Use 'location_hash' for
+ 'seen_locations'.
+
+2021-11-15 Aldy Hernandez <aldyh@redhat.com>
+
+ PR tree-optimization/103207
+ * value-range.cc (irange::set): Drop overflow.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ * gimplify.c (optimize_target_teams): Only add OMP_CLAUSE_THREAD_LIMIT
+ to OMP_TARGET_CLAUSES if it isn't there already.
+
+2021-11-15 Aldy Hernandez <aldyh@redhat.com>
+
+ * gimple-range-path.cc (path_range_query::internal_range_of_expr):
+ Remove useless code.
+ (path_range_query::ssa_defined_in_bb): New.
+ (path_range_query::ssa_range_in_phi): Avoid fold_range call that
+ could trigger additional lookups.
+ Do not use the cache for ARGs defined in this block.
+ (path_range_query::compute_ranges_in_block): Use ssa_defined_in_bb.
+ (path_range_query::maybe_register_phi_relation): Same.
+ (path_range_query::range_of_stmt): Adjust comment.
+ * gimple-range-path.h (ssa_defined_in_bb): New.
+
+2021-11-15 Aldy Hernandez <aldyh@redhat.com>
+
+ * gimple-range-path.cc (path_range_query::internal_range_of_expr):
+ Default to global range if nothing found.
+
+2021-11-15 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/103237
+ * tree-vect-loop.c (vect_is_simple_reduction): Fail for
+ double reductions with multiple inner loop LC PHI nodes.
+
+2021-11-15 Hongyu Wang <hongyu.wang@intel.com>
+
+ PR target/103069
+ * config/i386/i386-expand.c (ix86_expand_atomic_fetch_op_loop):
+ New expand function.
+ * config/i386/i386-options.c (ix86_target_string): Add
+ -mrelax-cmpxchg-loop flag.
+ (ix86_valid_target_attribute_inner_p): Likewise.
+ * config/i386/i386-protos.h (ix86_expand_atomic_fetch_op_loop):
+ New expand function prototype.
+ * config/i386/i386.opt: Add -mrelax-cmpxchg-loop.
+ * config/i386/sync.md (atomic_fetch_<logic><mode>): New expander
+ for SI,HI,QI modes.
+ (atomic_<logic>_fetch<mode>): Likewise.
+ (atomic_fetch_nand<mode>): Likewise.
+ (atomic_nand_fetch<mode>): Likewise.
+ (atomic_fetch_<logic><mode>): New expander for DI,TI modes.
+ (atomic_<logic>_fetch<mode>): Likewise.
+ (atomic_fetch_nand<mode>): Likewise.
+ (atomic_nand_fetch<mode>): Likewise.
+ * doc/invoke.texi: Document -mrelax-cmpxchg-loop.
+
+2021-11-15 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/103219
+ * gimple-loop-jam.c (tree_loop_unroll_and_jam): Use single_exit
+ to determine the exit for the VN region.
+
+2021-11-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
+
+ * tree-ssa-loop.c (pass_vectorize): Move to tree-vectorizer.c.
+ (pass_data_vectorize): Likewise.
+ (make_pass_vectorize): Likewise.
+ * tree-vectorizer.c (vectorize_loops): Merge with
+ pass_vectorize::execute and replace cfun occurences with fun param.
+ (adjust_simduid_builtins): Add fun param, replace cfun occurences with
+ fun, and adjust callers approrpiately.
+ (note_simd_array_uses): Likewise.
+ (vect_loop_dist_alias_call): Likewise.
+ (set_uid_loop_bbs): Likewise.
+ (vect_transform_loops): Likewise.
+ (try_vectorize_loop_1): Likewise.
+ (try_vectorize_loop): Likewise.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/103205
+ * config/i386/sync.md (atomic_bit_test_and_set<mode>,
+ atomic_bit_test_and_complement<mode>,
+ atomic_bit_test_and_reset<mode>): Use OPTAB_WIDEN instead of
+ OPTAB_DIRECT.
+
+2021-11-15 Maciej W. Rozycki <macro@embecosm.com>
+
+ * config/vax/vax.c (vax_lra_p): New prototype and function.
+ (TARGET_LRA_P): Wire it.
+ * config/vax/vax.opt (mlra): New option.
+ * doc/invoke.texi (Option Summary, VAX Options): Document the
+ new option.
+
2021-11-14 Jan Hubicka <jh@suse.cz>
* ipa-modref.h (struct modref_summary): Add nondeterministic
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 4dc8ff2..7090fb4 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20211115
+20211116
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index f4413d8..887949b 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2021-11-15 Iain Sandoe <iain@sandoe.co.uk>
+
+ * gcc-interface/Makefile.in: Use DSYMUTIL_FOR_TARGET in
+ libgnat/libgnarl recipies.
+
2021-11-10 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/ada-tree.h (DECL_STUBBED_P): Delete.
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index d1d2183..7ed0102 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,14 @@
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * c.opt: Add -fimplicit-constexpr.
+ * c-cppbuiltin.c: Define __cpp_implicit_constexpr.
+ * c-opts.c (c_common_post_options): Disable below C++14.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ * c-omp.c (c_omp_split_clauses) <case OMP_CLAUSE_THREAD_LIMIT>:
+ Duplicate to both OMP_TARGET and OMP_TEAMS.
+
2021-11-10 Marek Polacek <polacek@redhat.com>
PR c++/101940
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index c291947..3ce48f1 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,8 @@
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ * c-parser.c (OMP_TARGET_CLAUSE_MASK): Add
+ PRAGMA_OMP_CLAUSE_THREAD_LIMIT.
+
2021-11-11 Jakub Jelinek <jakub@redhat.com>
* c-parser.c (c_parser_omp_clause_num_teams): Parse optional
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5d98e40..61ce629 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,69 @@
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * cp-tree.h (struct lang_decl_fn): Add implicit_constexpr.
+ (decl_implicit_constexpr_p): New.
+ * class.c (type_maybe_constexpr_destructor): Use
+ TYPE_HAS_TRIVIAL_DESTRUCTOR and maybe_constexpr_fn.
+ (finalize_literal_type_property): Simplify.
+ * constexpr.c (is_valid_constexpr_fn): Check for dtor.
+ (maybe_save_constexpr_fundef): Try to set DECL_DECLARED_CONSTEXPR_P
+ on inlines.
+ (cxx_eval_call_expression): Use maybe_constexpr_fn.
+ (maybe_constexpr_fn): Handle flag_implicit_constexpr.
+ (var_in_maybe_constexpr_fn): Use maybe_constexpr_fn.
+ (potential_constant_expression_1): Likewise.
+ (decl_implicit_constexpr_p): New.
+ * decl.c (validate_constexpr_redeclaration): Allow change with
+ -fimplicit-constexpr.
+ (grok_special_member_properties): Use maybe_constexpr_fn.
+ * error.c (dump_function_decl): Don't print 'constexpr'
+ if it's implicit.
+ * Make-lang.in (check-c++-all): Update.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * typeck2.c (split_nonconstant_init_1): Handle flexarrays better.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ * parser.c (OMP_TARGET_CLAUSE_MASK): Add
+ PRAGMA_OMP_CLAUSE_THREAD_LIMIT.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * call.c (perform_implicit_conversion_flags): Use the location of
+ the argument.
+ * lambda.c (build_lambda_object): Set location on the TARGET_EXPR.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * constexpr.c (maybe_save_constexpr_fundef): Also check whether the
+ body of a constructor is potentially constant.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * semantics.c (is_this_parameter): Check DECL_HAS_VALUE_EXPR_P
+ instead of is_capture_proxy.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ PR c++/70690
+ * init.c (build_vec_init): Check default_init_uninitialized_part in
+ C++20.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * constexpr.c (maybe_constant_value): Don't evaluate
+ in an unevaluated operand unless manifestly const-evaluated.
+ (fold_non_dependent_expr_template): Likewise.
+ * decl.c (compute_array_index_type_loc): This context is
+ manifestly constant-evaluated.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * constexpr.c (cxx_eval_thunk_call): Error instead of ICE
+ on vbase thunk to constexpr function.
+
2021-11-11 Patrick Palka <ppalka@redhat.com>
* parser.c (cp_parser_template_argument_list): Use auto_vec
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 0216f12..10dfca4 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2021-11-15 Tobias Burnus <tobias@codesourcery.com>
+
+ * openmp.c (OMP_TARGET_CLAUSES): Add thread_limit.
+ * trans-openmp.c (gfc_split_omp_clauses): Add thread_limit also to
+ teams.
+
2021-11-12 Tobias Burnus <tobias@codesourcery.com>
* parse.c (decode_omp_directive): Fix permitting 'nowait' for some
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 76f2e04..b221cba 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,161 @@
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * lib/g++-dg.exp: Handle "impcx".
+ * lib/target-supports.exp
+ (check_effective_target_implicit_constexpr): New.
+ * g++.dg/abi/abi-tag16.C:
+ * g++.dg/abi/abi-tag18a.C:
+ * g++.dg/abi/guard4.C:
+ * g++.dg/abi/lambda-defarg1.C:
+ * g++.dg/abi/mangle26.C:
+ * g++.dg/cpp0x/constexpr-diag3.C:
+ * g++.dg/cpp0x/constexpr-ex1.C:
+ * g++.dg/cpp0x/constexpr-ice5.C:
+ * g++.dg/cpp0x/constexpr-incomplete2.C:
+ * g++.dg/cpp0x/constexpr-memfn1.C:
+ * g++.dg/cpp0x/constexpr-neg3.C:
+ * g++.dg/cpp0x/constexpr-specialization.C:
+ * g++.dg/cpp0x/inh-ctor19.C:
+ * g++.dg/cpp0x/inh-ctor30.C:
+ * g++.dg/cpp0x/lambda/lambda-mangle3.C:
+ * g++.dg/cpp0x/lambda/lambda-mangle5.C:
+ * g++.dg/cpp1y/auto-fn12.C:
+ * g++.dg/cpp1y/constexpr-loop5.C:
+ * g++.dg/cpp1z/constexpr-lambda7.C:
+ * g++.dg/cpp2a/constexpr-dtor3.C:
+ * g++.dg/cpp2a/constexpr-new13.C:
+ * g++.dg/cpp2a/constinit11.C:
+ * g++.dg/cpp2a/constinit12.C:
+ * g++.dg/cpp2a/constinit14.C:
+ * g++.dg/cpp2a/constinit15.C:
+ * g++.dg/cpp2a/spaceship-constexpr1.C:
+ * g++.dg/cpp2a/spaceship-eq3.C:
+ * g++.dg/cpp2a/udlit-class-nttp-neg2.C:
+ * g++.dg/debug/dwarf2/auto1.C:
+ * g++.dg/debug/dwarf2/cdtor-1.C:
+ * g++.dg/debug/dwarf2/lambda1.C:
+ * g++.dg/debug/dwarf2/pr54508.C:
+ * g++.dg/debug/dwarf2/pubnames-2.C:
+ * g++.dg/debug/dwarf2/pubnames-3.C:
+ * g++.dg/ext/is_literal_type3.C:
+ * g++.dg/ext/visibility/template7.C:
+ * g++.dg/gcov/gcov-12.C:
+ * g++.dg/gcov/gcov-2.C:
+ * g++.dg/ipa/devirt-35.C:
+ * g++.dg/ipa/devirt-36.C:
+ * g++.dg/ipa/devirt-37.C:
+ * g++.dg/ipa/devirt-44.C:
+ * g++.dg/ipa/imm-devirt-1.C:
+ * g++.dg/lookup/builtin5.C:
+ * g++.dg/lto/inline-crossmodule-1_0.C:
+ * g++.dg/modules/enum-1_a.C:
+ * g++.dg/modules/fn-inline-1_c.C:
+ * g++.dg/modules/pmf-1_b.C:
+ * g++.dg/modules/used-1_c.C:
+ * g++.dg/tls/thread_local11.C:
+ * g++.dg/tls/thread_local11a.C:
+ * g++.dg/tm/pr46653.C:
+ * g++.dg/ubsan/pr70035.C:
+ * g++.old-deja/g++.other/delete6.C:
+ * g++.dg/modules/pmf-1_a.H:
+ Adjust for implicit constexpr.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/ext/flexary37.C: Remove expected error.
+
+2021-11-15 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * gcc.dg/fold-stringops-2.c: Define size_t.
+ (safe1): Adjust.
+ (safe4): New test.
+ * gcc.dg/fold-stringops-3.c: New test.
+
+2021-11-15 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * gcc.dg/Wobjsize-1.c: Make warning change line agnostic.
+ * gcc.dg/fold-stringops-2.c: New test.
+
+2021-11-15 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * gcc.dg/fold-stringops-1.c: New test.
+
+2021-11-15 H.J. Lu <hjl.tools@gmail.com>
+
+ PR middle-end/103184
+ * gcc.dg/pr103184-1.c: New test.
+ * gcc.dg/pr103184-2.c: Likewise.
+
+2021-11-15 Iain Sandoe <iain@sandoe.co.uk>
+
+ * gcc.dg/vect/tsvc/tsvc.h: Use malloc for Darwin 9 and
+ earlier.
+
+2021-11-15 Aldy Hernandez <aldyh@redhat.com>
+
+ * gcc.dg/pr103207.c: New test.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/100469
+ * g++.dg/opt/pr100469.C: New test.
+
+2021-11-15 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/103205
+ * gcc.target/i386/pr103205-2.c: New test.
+
+2021-11-15 Aldy Hernandez <aldyh@redhat.com>
+
+ * g++.dg/tree-ssa/pr31146-2.C: Add -fno-thread-jumps.
+
+2021-11-15 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/103237
+ * gcc.dg/torture/pr103237.c: New testcase.
+
+2021-11-15 Hongyu Wang <hongyu.wang@intel.com>
+
+ PR target/103069
+ * gcc.target/i386/pr103069-1.c: New test.
+ * gcc.target/i386/pr103069-2.c: Ditto.
+
+2021-11-15 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/103219
+ * gcc.dg/torture/pr103219.c: New testcase.
+
+2021-11-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.target/i386/pr101346.c: Require dfp support.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/103205
+ * gcc.target/i386/pr103205.c: New test.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/cpp0x/lambda/lambda-switch.C: Adjust expected location.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/cpp1y/constexpr-89285-2.C: Expect error.
+ * g++.dg/cpp1y/constexpr-89285.C: Adjust error.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ PR c++/70690
+ * g++.dg/init/array41a.C: New test.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/cpp2a/constexpr-virtual20.C: New test.
+
+2021-11-15 Hans-Peter Nilsson <hp@axis.com>
+
+ * gcc.dg/uninit-pred-9_b.c: Correct last adjustment, for CRIS.
+
2021-11-15 Andrew Pinski <apinski@marvell.com>
* gcc.dg/tree-ssa/pr100278.c: Move to ...
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 3d87b0a..83792b8 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,12 @@
+2021-11-15 H.J. Lu <hjl.tools@gmail.com>
+
+ * LOCAL_PATCHES: Add commit a91f844ef44.
+
+2021-11-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR libffi/102874
+ * src/x86/win64.S (epilogue): Use #define instead of .macro.
+
2021-11-04 H.J. Lu <hjl.tools@gmail.com>
* Makefile.am (AM_CFLAGS): Add $(CET_FLAGS).
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index ed26b8d..21c9271 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,39 @@
+2021-11-15 Tobias Burnus <tobias@codesourcery.com>
+
+ * testsuite/libgomp.fortran/thread-limit-1.f90: New test.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ * task.c (gomp_create_target_task): Copy args array as well.
+ * target.c (gomp_target_fallback): Add args argument.
+ Set gomp_icv (true)->thread_limit_var if thread_limit is present.
+ (GOMP_target): Adjust gomp_target_fallback caller.
+ (GOMP_target_ext): Likewise.
+ (gomp_target_task_fn): Likewise.
+ * config/nvptx/team.c (gomp_nvptx_main): Set
+ gomp_global_icv.thread_limit_var.
+ * testsuite/libgomp.c-c++-common/thread-limit-1.c: New test.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ * config/nvptx/team.c (__gomp_team_num): Define as
+ __attribute__((shared)) var.
+ (gomp_nvptx_main): Initialize __gomp_team_num to 0.
+ * config/nvptx/target.c (__gomp_team_num): Declare as
+ extern __attribute__((shared)) var.
+ (GOMP_teams4): Use __gomp_team_num as the team number instead of
+ %ctaid.x. If first, initialize it to %ctaid.x. If num_teams_lower
+ is bigger than num_blocks, use num_teams_lower teams and arrange for
+ bumping of __gomp_team_num if !first and returning false once we run
+ out of teams.
+ * config/nvptx/teams.c (__gomp_team_num): Declare as
+ extern __attribute__((shared)) var.
+ (omp_get_team_num): Return __gomp_team_num value instead of %ctaid.x.
+
+2021-11-15 Jakub Jelinek <jakub@redhat.com>
+
+ * testsuite/libgomp.c/teams-5.c: New test.
+
2021-11-12 Jakub Jelinek <jakub@redhat.com>
PR target/103201
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 93159f3..cb6a8a3 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,24 @@
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * testsuite/20_util/to_address/1_neg.cc: Adjust error.
+ * testsuite/26_numerics/random/concept.cc: Adjust asserts.
+
+2021-11-15 François Dumont <fdumont@gcc.gnu.org>
+
+ * include/bits/hashtable_policy.h:
+ (_Hash_code_base<>::_M_hash_code(const _Hash&, const _Hash_node_value<_Value, true>&)): New.
+ (_Hash_code_base<>::_M_hash_code<_H2>(const _H2&, const _Hash_node_value<>&)): New.
+ * include/bits/hashtable.h (_Hashtable<>::_M_merge_unique): Use latter.
+ (_Hashtable<>::_M_merge_multi): Likewise.
+ * testsuite/23_containers/unordered_multiset/modifiers/merge.cc (test05): New test.
+ * testsuite/23_containers/unordered_set/modifiers/merge.cc (test04): New test.
+
+2021-11-15 Jason Merrill <jason@redhat.com>
+
+ * src/c++17/memory_resource.cc: Add missing constexpr.
+ * include/experimental/internet: Only mark copy constructor
+ as constexpr with __cpp_constexpr_dynamic_alloc.
+
2021-11-14 François Dumont <fdumont@gcc.gnu.org>
* include/debug/safe_container.h (_Safe_container<>::_M_safe): Remove.