Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 15 Sep 2020 00:16:37 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 15 Sep 2020 00:16:37 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/ada/ChangeLog
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/go/ChangeLog
gcc/jit/ChangeLog
gcc/testsuite/ChangeLog
libbacktrace/ChangeLog
libgomp/ChangeLog

index 016f92c4d53062e1e3a3f0d46c96615281f056de..87eab28cb03b0fd431ffe5451a6f06bd6a9f7d36 100644 (file)
@@ -1,3 +1,171 @@
+2020-09-14  Sergei Trofimovich  <siarheit@google.com>
+
+       * doc/invoke.texi: fix '-fprofile-reproducibility' option
+       spelling in manual.
+
+2020-09-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/bpf/bpf.md ("nop"): Re-define as `ja 0'.
+
+2020-09-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * cgraphunit.c (cgraph_node::expand_thunk): Make sure to set
+       cfun->tail_call_marked when forcing a tail call.
+       * function.c (assign_parm_setup_reg): Always use a register to
+       load a parameter passed by reference if cfun->tail_call_marked.
+
+2020-09-14  Pat Haugen  <pthaugen@linux.ibm.com>
+
+       * config/rs6000/power10.md (power10-mffgpr, power10-mftgpr): Rename to
+       power10-mtvsr/power10-mfvsr.
+       * config/rs6000/power6.md (X2F_power6, power6-mftgpr, power6-mffgpr):
+       Remove.
+       * config/rs6000/power8.md (power8-mffgpr, power8-mftgpr): Rename to
+       power8-mtvsr/power8-mfvsr.
+       * config/rs6000/power9.md (power9-mffgpr, power9-mftgpr): Rename to
+       power9-mtvsr/power9-mfvsr.
+       * config/rs6000/rs6000.c (rs6000_adjust_cost): Remove Power6
+       TYPE_MFFGPR cases.
+       * config/rs6000/rs6000.md (mffgpr, mftgpr, zero_extendsi<mode>2,
+       extendsi<mode>2, @signbit<mode>2_dm, lfiwax, lfiwzx, *movsi_internal1,
+       movsi_from_sf, *movdi_from_sf_zero_ext, *mov<mode>_internal,
+       movsd_hardfloat, movsf_from_si, *mov<mode>_hardfloat64, p8_mtvsrwz,
+       p8_mtvsrd_df, p8_mtvsrd_sf, p8_mfvsrd_3_<mode>, *movdi_internal64,
+       unpack<mode>_dm): Rename mffgpr/mftgpr to mtvsr/mfvsr.
+       * config/rs6000/vsx.md (vsx_mov<mode>_64bit, vsx_extract_<mode>,
+       vsx_extract_si, *vsx_extract_<mode>_p8): Likewise.
+
+2020-09-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/arm/arm.opt (x_arm_arch_string, x_arm_cpu_string,
+       x_arm_tune_string): Remove TargetSave entries.
+       (march=, mcpu=, mtune=): Add Save keyword.
+       * config/arm/arm.c (arm_option_save): Remove.
+       (TARGET_OPTION_SAVE): Don't redefine.
+       (arm_option_restore): Don't restore x_arm_*_string here.
+
+2020-09-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * opt-read.awk: Also initialize extra_target_var_types array.
+       * opth-gen.awk: Emit explicit_mask arrays to struct cl_optimization
+       and cl_target_option.  Adjust cl_optimization_save,
+       cl_optimization_restore, cl_target_option_save and
+       cl_target_option_restore declarations.
+       * optc-save-gen.awk: Add opts_set argument to cl_optimization_save,
+       cl_optimization_restore, cl_target_option_save and
+       cl_target_option_restore functions and save or restore opts_set
+       next to the opts values into or from explicit_mask arrays.
+       In cl_target_option_eq and cl_optimization_option_eq compare
+       explicit_mask arrays, in cl_target_option_hash and cl_optimization_hash
+       hash them and in cl_target_option_stream_out,
+       cl_target_option_stream_in, cl_optimization_stream_out and
+       cl_optimization_stream_in stream them.
+       * tree.h (build_optimization_node, build_target_option_node): Add
+       opts_set argument.
+       * tree.c (build_optimization_node): Add opts_set argument, pass it
+       to cl_optimization_save.
+       (build_target_option_node): Add opts_set argument, pass it to
+       cl_target_option_save.
+       * function.c (invoke_set_current_function_hook): Adjust
+       cl_optimization_restore caller.
+       * ipa-inline-transform.c (inline_call): Adjust cl_optimization_restore
+       and build_optimization_node callers.
+       * target.def (TARGET_OPTION_SAVE, TARGET_OPTION_RESTORE): Add opts_set
+       argument.
+       * target-globals.c (save_target_globals_default_opts): Adjust
+       cl_optimization_restore callers.
+       * toplev.c (process_options): Adjust build_optimization_node and
+       cl_optimization_restore callers.
+       (target_reinit): Adjust cl_optimization_restore caller.
+       * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers):
+       Adjust build_optimization_node and cl_optimization_restore callers.
+       * doc/tm.texi: Updated.
+       * config/aarch64/aarch64.c (aarch64_override_options): Adjust
+       build_target_option_node caller.
+       (aarch64_option_save, aarch64_option_restore): Add opts_set argument.
+       (aarch64_set_current_function): Adjust cl_target_option_restore
+       caller.
+       (aarch64_option_valid_attribute_p): Adjust cl_target_option_save,
+       cl_target_option_restore, cl_optimization_restore,
+       build_optimization_node and build_target_option_node callers.
+       * config/aarch64/aarch64-c.c (aarch64_pragma_target_parse): Adjust
+       cl_target_option_restore and build_target_option_node callers.
+       * config/arm/arm.c (arm_option_save, arm_option_restore): Add
+       opts_set argument.
+       (arm_option_override): Adjust cl_target_option_save,
+       build_optimization_node and build_target_option_node callers.
+       (arm_set_current_function): Adjust cl_target_option_restore caller.
+       (arm_valid_target_attribute_tree): Adjust build_target_option_node
+       caller.
+       (add_attribute): Formatting fix.
+       (arm_valid_target_attribute_p): Adjust cl_optimization_restore,
+       cl_target_option_restore, arm_valid_target_attribute_tree and
+       build_optimization_node callers.
+       * config/arm/arm-c.c (arm_pragma_target_parse): Adjust
+       cl_target_option_restore callers.
+       * config/csky/csky.c (csky_option_override): Adjust
+       build_target_option_node and cl_target_option_save callers.
+       * config/gcn/gcn.c (gcn_fixup_accel_lto_options): Adjust
+       build_optimization_node and cl_optimization_restore callers.
+       * config/i386/i386-builtins.c (get_builtin_code_for_version):
+       Adjust cl_target_option_save and cl_target_option_restore
+       callers.
+       * config/i386/i386-c.c (ix86_pragma_target_parse): Adjust
+       build_target_option_node and cl_target_option_restore callers.
+       * config/i386/i386-options.c (ix86_function_specific_save,
+       ix86_function_specific_restore): Add opts_set arguments.
+       (ix86_valid_target_attribute_tree): Adjust build_target_option_node
+       caller.
+       (ix86_valid_target_attribute_p): Adjust build_optimization_node,
+       cl_optimization_restore, cl_target_option_restore,
+       ix86_valid_target_attribute_tree and build_optimization_node callers.
+       (ix86_option_override_internal): Adjust build_target_option_node
+       caller.
+       (ix86_reset_previous_fndecl, ix86_set_current_function): Adjust
+       cl_target_option_restore callers.
+       * config/i386/i386-options.h (ix86_function_specific_save,
+       ix86_function_specific_restore): Add opts_set argument.
+       * config/nios2/nios2.c (nios2_option_override): Adjust
+       build_target_option_node caller.
+       (nios2_option_save, nios2_option_restore): Add opts_set argument.
+       (nios2_valid_target_attribute_tree): Adjust build_target_option_node
+       caller.
+       (nios2_valid_target_attribute_p): Adjust build_optimization_node,
+       cl_optimization_restore, cl_target_option_save and
+       cl_target_option_restore callers.
+       (nios2_set_current_function, nios2_pragma_target_parse): Adjust
+       cl_target_option_restore callers.
+       * config/pru/pru.c (pru_option_override): Adjust
+       build_target_option_node caller.
+       (pru_set_current_function): Adjust cl_target_option_restore
+       callers.
+       * config/rs6000/rs6000.c (rs6000_debug_reg_global): Adjust
+       cl_target_option_save caller.
+       (rs6000_option_override_internal): Adjust build_target_option_node
+       caller.
+       (rs6000_valid_attribute_p): Adjust build_optimization_node,
+       cl_optimization_restore, cl_target_option_save,
+       cl_target_option_restore and build_target_option_node callers.
+       (rs6000_pragma_target_parse): Adjust cl_target_option_restore and
+       build_target_option_node callers.
+       (rs6000_activate_target_options): Adjust cl_target_option_restore
+       callers.
+       (rs6000_function_specific_save, rs6000_function_specific_restore):
+       Add opts_set argument.
+       * config/s390/s390.c (s390_function_specific_restore): Likewise.
+       (s390_option_override_internal): Adjust s390_function_specific_restore
+       caller.
+       (s390_option_override, s390_valid_target_attribute_tree): Adjust
+       build_target_option_node caller.
+       (s390_valid_target_attribute_p): Adjust build_optimization_node,
+       cl_optimization_restore and cl_target_option_restore callers.
+       (s390_activate_target_options): Adjust cl_target_option_restore
+       caller.
+       * config/s390/s390-c.c (s390_cpu_cpp_builtins): Adjust
+       cl_target_option_save caller.
+       (s390_pragma_target_parse): Adjust build_target_option_node and
+       cl_target_option_restore callers.
+
 2020-09-13  Roger Sayle  <roger@nextmovesoftware.com>
 
        * config/pa/pa.c (hppa_rtx_costs) [ASHIFT, ASHIFTRT, LSHIFTRT]:
index 112e93fe6b5c70ba9e87a6a4de506fbf3f10595c..792c97ce32d62004002493f51d4d443b81aace1a 100644 (file)
@@ -1 +1 @@
-20200914
+20200915
index e54c6aaaaf8a95758c6fff920eca29559dce7f6a..280b834ed9efe55d06ecc0a59249985645dbada6 100644 (file)
@@ -1,3 +1,8 @@
+2020-09-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc-interface/trans.c (gigi): Adjust build_optimization_node
+       caller.
+
 2020-09-12  Eric Botcazou  <ebotcazou@adacore.com>
 
        * fe.h: Fix pilot error in previous change.
index 90ecac8b753dc7d839840478ebfff1bab0ca57d7..d0f84017ea81750339c24540107455d9cc265c85 100644 (file)
@@ -1,3 +1,25 @@
+2020-09-14  David Malcolm  <dmalcolm@redhat.com>
+
+       * analyzer.opt (-param=analyzer-max-constraints=): New param.
+       * constraint-manager.cc
+       (constraint_manager::add_constraint_internal): Silently reject
+       attempts to add constraints when the above limit is reached.
+
+2020-09-14  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/96653
+       * constraint-manager.cc
+       (constraint_manager::get_or_add_equiv_class): Don't accumulate
+       transitive closure of all constraints on constants.
+
+2020-09-14  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/97029
+       * analyzer.cc (is_setjmp_call_p): Require the initial arg to be a
+       pointer.
+       * region-model.cc (region_model::deref_rvalue): Assert that the
+       svalue is of pointer type.
+
 2020-09-11  David Malcolm  <dmalcolm@redhat.com>
 
        PR analyzer/96798
index 8f185fe69d13a97e1e15ee2f7d2a2e4cf55d64e3..738083910d7f4edfda894d7a783434bd991298cc 100644 (file)
@@ -1,3 +1,15 @@
+2020-09-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-attribs.c (handle_optimize_attribute): Adjust
+       cl_optimization_save, cl_optimization_restore and
+       build_optimization_node callers.
+       * c-pragma.c (handle_pragma_optimize): Adjust
+       build_optimization_node caller.
+       (handle_pragma_push_options): Adjust
+       build_optimization_node and build_target_option_node callers.
+       (handle_pragma_pop_options, handle_pragma_reset_options):
+       Adjust cl_optimization_restore callers.
+
 2020-08-28  Martin Sebor  <msebor@redhat.com>
 
        * c.opt (Wstringop-overread): New option.
index d11d92f1ce4c0b3a914b142792a5f43817250ad3..7bf1b25aa4c38f7bd8548f036e09adf5eb254d39 100644 (file)
@@ -1,3 +1,15 @@
+2020-09-14  Marek Polacek  <polacek@redhat.com>
+
+       * pt.c (push_template_decl_real): Use VAR_OR_FUNCTION_DECL_P.
+
+2020-09-14  Nathan Sidwell  <nathan@acm.org>
+
+       * pt.c (push_template_decl_real): Don't attach a template head to
+       local externs.
+       (tsubst_function_decl): Add support for headless local extern
+       decls.
+       (tsubst_decl): Add support for headless local extern decls.
+
 2020-09-11  Nathan Sidwell  <nathan@acm.org>
 
        * decl.c (grokfndecl): Don't attach to local extern.
index bda9993a7cd74b0a0b60960b4b8a893fff231d4b..b25aa0cd42348a1a798076cf9eabfac3739d64de 100644 (file)
@@ -1,3 +1,9 @@
+2020-09-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * go-gcc.cc (Gcc_backend::function): Adjust
+       cl_optimization_save, cl_optimization_restore and
+       build_optimization_node callers.
+
 2020-08-10  ClĂ©ment Chigot  <chigot.c@gmail.com>
 
        * go-c.h (struct go_create_gogo_args): Add need_eqtype field.
index 5b321c8311a84aa38598fba31dd711ca6fdcefec..48bd54d13ddb54df845d12edb94b6d9247c772ba 100644 (file)
@@ -1,3 +1,7 @@
+2020-09-14  Andrea Corallo  <andrea.corallo@arm.com>
+
+       * docs/_build/texinfo/libgccjit.texi: Regenerate.
+
 2020-09-11  Andrea Corallo  <andrea.corallo@arm.com>
 
        * docs/topics/compatibility.rst (LIBGCCJIT_ABI_14): New ABI tag.
index da288afc2124d23dc2afc03e57aefbb9387c06f8..ec179a321a95aad31d751a60040856dfc21c9a83 100644 (file)
@@ -1,3 +1,40 @@
+2020-09-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * gcc.target/bpf/nop-1.c: New test.
+
+2020-09-14  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/i386/avx512f-broadcast-pr87767-1.c: Make the test
+       run as non-dynamic for m32 Darwin.
+       * gcc.target/i386/avx512f-broadcast-pr87767-3.c: Likewise.
+       * gcc.target/i386/avx512f-broadcast-pr87767-5.c: Likewise.
+       * gcc.target/i386/avx512f-broadcast-pr87767-7.c: Likewise.
+       * gcc.target/i386/avx512vl-broadcast-pr87767-1.c: Likewise.
+       * gcc.target/i386/avx512vl-broadcast-pr87767-3.c: Likewise.
+       * gcc.target/i386/avx512vl-broadcast-pr87767-5.c: Likewise.
+       * gcc.target/i386/avx512f-broadcast-pr87767-6.c: Adjust dg-requires
+       clause.
+
+2020-09-14  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/96653
+       * gcc.dg/analyzer/pr96653.c: New test.
+
+2020-09-14  David Malcolm  <dmalcolm@redhat.com>
+
+       * gcc.dg/analyzer/rhbz1878600.c: New test.
+
+2020-09-14  David Malcolm  <dmalcolm@redhat.com>
+
+       * gcc.dg/analyzer/pr97029.c: New test.
+
+2020-09-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/thunk1.adb: New test.
+       * gnat.dg/thunk1_pkg1.ads: New helper.
+       * gnat.dg/thunk1_pkg2.ads: Likewise.
+       * gnat.dg/thunk1_pkg2.adb: Likewise.
+
 2020-09-12  Iain Buclaw  <ibuclaw@gdcproject.org>
 
        PR d/97002
index 8a13ef97f245e8aed6cf2c7d8c6abf082a8892e6..76ff7fd6389443fb94927289da0b00082e95ebe2 100644 (file)
@@ -1,3 +1,96 @@
+2020-09-14  Ian Lance Taylor  <iant@golang.org>
+
+       PR libbacktrace/93608
+       Add support for MiniDebugInfo.
+       * elf.c (struct elf_view): Define.  Replace most uses of
+       backtrace_view with elf_view.
+       (elf_get_view): New static functions.  Replace most calls of
+       backtrace_get_view with elf_get_view.
+       (elf_release_view): New static functions.  Replace most calls of
+       backtrace_release_view with elf_release_view.
+       (elf_uncompress_failed): Rename from elf_zlib_failed.  Change all
+       callers.
+       (LZMA_STATES, LZMA_POS_STATES, LZMA_DIST_STATES): Define.
+       (LZMA_DIST_SLOTS, LZMA_DIST_MODEL_START): Define.
+       (LZMA_DIST_MODEL_END, LZMA_FULL_DISTANCES): Define.
+       (LZMA_ALIGN_SIZE, LZMA_LEN_LOW_SYMBOLS): Define.
+       (LZMA_LEN_MID_SYMBOLS, LZMA_LEN_HIGH_SYMBOLS): Define.
+       (LZMA_LITERAL_CODERS_MAX, LZMA_LITERAL_CODER_SIZE): Define.
+       (LZMA_PROB_IS_MATCH_LEN, LZMA_PROB_IS_REP_LEN): Define.
+       (LZMA_PROB_IS_REP0_LEN, LZMA_PROB_IS_REP1_LEN): Define.
+       (LZMA_PROB_IS_REP2_LEN, LZMA_PROB_IS_REP0_LONG_LEN): Define.
+       (LZMA_PROB_DIST_SLOT_LEN, LZMA_PROB_DIST_SPECIAL_LEN): Define.
+       (LZMA_PROB_DIST_ALIGN_LEN): Define.
+       (LZMA_PROB_MATCH_LEN_CHOICE_LEN): Define.
+       (LZMA_PROB_MATCH_LEN_CHOICE2_LEN): Define.
+       (LZMA_PROB_MATCH_LEN_LOW_LEN): Define.
+       (LZMA_PROB_MATCH_LEN_MID_LEN): Define.
+       (LZMA_PROB_MATCH_LEN_HIGH_LEN): Define.
+       (LZMA_PROB_REP_LEN_CHOICE_LEN): Define.
+       (LZMA_PROB_REP_LEN_CHOICE2_LEN): Define.
+       (LZMA_PROB_REP_LEN_LOW_LEN): Define.
+       (LZMA_PROB_REP_LEN_MID_LEN): Define.
+       (LZMA_PROB_REP_LEN_HIGH_LEN): Define.
+       (LZMA_PROB_LITERAL_LEN): Define.
+       (LZMA_PROB_IS_MATCH_OFFSET, LZMA_PROB_IS_REP_OFFSET): Define.
+       (LZMA_PROB_IS_REP0_OFFSET, LZMA_PROB_IS_REP1_OFFSET): Define.
+       (LZMA_PROB_IS_REP2_OFFSET): Define.
+       (LZMA_PROB_IS_REP0_LONG_OFFSET): Define.
+       (LZMA_PROB_DIST_SLOT_OFFSET): Define.
+       (LZMA_PROB_DIST_SPECIAL_OFFSET): Define.
+       (LZMA_PROB_DIST_ALIGN_OFFSET): Define.
+       (LZMA_PROB_MATCH_LEN_CHOICE_OFFSET): Define.
+       (LZMA_PROB_MATCH_LEN_CHOICE2_OFFSET): Define.
+       (LZMA_PROB_MATCH_LEN_LOW_OFFSET): Define.
+       (LZMA_PROB_MATCH_LEN_MID_OFFSET): Define.
+       (LZMA_PROB_MATCH_LEN_HIGH_OFFSET): Define.
+       (LZMA_PROB_REP_LEN_CHOICE_OFFSET): Define.
+       (LZMA_PROB_REP_LEN_CHOICE2_OFFSET): Define.
+       (LZMA_PROB_REP_LEN_LOW_OFFSET): Define.
+       (LZMA_PROB_REP_LEN_MID_OFFSET): Define.
+       (LZMA_PROB_REP_LEN_HIGH_OFFSET): Define.
+       (LZMA_PROB_LITERAL_OFFSET): Define.
+       (LZMA_PROB_TOTAL_COUNT): Define.
+       (LZMA_IS_MATCH, LZMA_IS_REP, LZMA_IS_REP0): Define.
+       (LZMA_IS_REP1, LZMA_IS_REP2, LZMA_IS_REP0_LONG): Define.
+       (LZMA_DIST_SLOT, LZMA_DIST_SPECIAL, LZMA_DIST_ALIGN): Define.
+       (LZMA_MATCH_LEN_CHOICE, LZMA_MATCH_LEN_CHOICE2): Define.
+       (LZMA_MATCH_LEN_LOW, LZMA_MATCH_LEN_MID): Define.
+       (LZMA_MATCH_LEN_HIGH, LZMA_REP_LEN_CHOICE): Define.
+       (LZMA_REP_LEN_CHOICE2, LZMA_REP_LEN_LOW): Define.
+       (LZMA_REP_LEN_MID, LZMA_REP_LEN_HIGH, LZMA_LITERAL): Define.
+       (elf_lzma_varint): New static function.
+       (elf_lzma_range_normalize): New static function.
+       (elf_lzma_bit, elf_lzma_integer): New static functions.
+       (elf_lzma_reverse_integer): New static function.
+       (elf_lzma_len, elf_uncompress_lzma_block): New static functions.
+       (elf_uncompress_lzma): New static function.
+       (backtrace_uncompress_lzma): New function.
+       (elf_add): Add memory and memory_size parameters.  Change all
+       callers.  Look for .gnu_debugdata section, and, if found,
+       decompress it and use it for symbols and debug info.  Permit the
+       descriptor parameter to be -1.
+       * internal.h (backtrace_uncompress_lzma): Declare.
+       * mtest.c: New file.
+       * xztest.c: New file.
+       * configure.ac: Check for nm, xz, and comm programs.  Check for
+       liblzma library.
+       (HAVE_MINIDEBUG): Define.
+       * Makefile.am (mtest_SOURCES): Define.
+       (mtest_CFLAGS, mtest_LDADD): Define.
+       (TESTS): Add mtest_minidebug if HAVE_MINIDEBUG.
+       (%_minidebug): New pattern rule, if HAVE_MINIDEBUG.
+       (xztest_SOURCES, xztest_CFLAGS, xztest_LDADD): Define.
+       (xztest_alloc_SOURCES, xztest_alloc_CFLAGS): Define
+       (xztest_alloc_LDADD): Define.
+       (BUILDTESTS): Add mtest, xztest, xztest_alloc.
+       (CLEANFILES): Add files created by minidebug pattern.
+       (btest.lo): Correct INCDIR reference.
+       (mtest.lo, xztest.lo, ztest.lo): New targets.
+       * configure: Regenerate.
+       * config.h.in: Regenerate.
+       * Makefile.in: Regenerate.
+
 2020-09-09  Ian Lance Taylor  <iant@golang.org>
 
        * pecoff.c (coff_initialize_syminfo): Add is_64 parameter.
index e74c2dd2f0a3e740e7936a4144ffc96a19f3c5a7..bed76d0c8552c6002b321f8bc063872fd2daa2af 100644 (file)
@@ -1,3 +1,10 @@
+2020-09-14  Tom de Vries  <tdevries@suse.de>
+
+       * config/nvptx/atomic.c: New file.  Add
+       __sync_val_compare_and_swap_16.
+       * testsuite/libgomp.c-c++-common/reduction-16.c: Add -latomic for
+       target offload_target_nvptx.
+
 2020-09-08  Julian Brown  <julian@codesourcery.com>
 
        * testsuite/libgomp.oacc-c-c++-common/atomic_capture-2.c: Remove