From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id A6609395BC4C; Sat, 11 Jun 2022 00:17:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6609395BC4C MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-1048] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 343d83c7a89d0c7a78139e685395228115a28f6e X-Git-Newrev: ef1e4d80dd30e7c46849fbb8b1ac49e672df1bbd Message-Id: <20220611001706.A6609395BC4C@sourceware.org> Date: Sat, 11 Jun 2022 00:17:06 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2022 00:17:06 -0000 https://gcc.gnu.org/g:ef1e4d80dd30e7c46849fbb8b1ac49e672df1bbd commit r13-1048-gef1e4d80dd30e7c46849fbb8b1ac49e672df1bbd Author: GCC Administrator Date: Sat Jun 11 00:16:21 2022 +0000 Daily bump. Diff: --- gcc/ChangeLog | 9 +++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/jit/ChangeLog | 6 +++++ gcc/testsuite/ChangeLog | 17 +++++++++++++ libgomp/ChangeLog | 20 +++++++++++++++ libstdc++-v3/ChangeLog | 45 ++++++++++++++++++++++++++++++++++ 7 files changed, 163 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e79c77cf71a..e748cfd7f17 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2022-06-10 Roger Sayle + + PR rtl-optimization/7061 + * expr.cc (emit_group_store): For groups that consist of a single + scalar integer register that hold a complex mode value, use + gen_lowpart to generate a SUBREG to "view_convert" to the complex + mode. For modes of different sizes, first convert to an integer + mode of the appropriate size. + 2022-06-09 Takayuki 'January June' Suwa * config/xtensa/xtensa.md (clrsbsi2): New insn pattern. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index b3177859c58..11ff5fbe522 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220610 +20220611 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0482af799f9..459aaeae95e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,68 @@ +2022-06-10 Patrick Palka + + PR c++/65328 + * decl.cc (typename_hasher::hash): Add extra overloads. + Use iterative_hash_object instead of htab_hash_pointer. + Hash TYPENAME_TYPE_FULLNAME instead of TYPE_IDENTIFIER. + (build_typename_type): Use typename_hasher::hash. + * pt.cc (spec_hasher::hash): Add two-parameter overload. + Set comparing_specializations around the call to + hash_tmpl_and_args. + (iterative_hash_template_arg) : + When comparing_specializations, hash the TYPE_CONTEXT + and TYPENAME_TYPE_FULLNAME. + (tsubst_function_decl): Use spec_hasher::hash instead of + hash_tmpl_and_args. + (tsubst_template_decl): Likewise. + (tsubst_decl): Likewise. + +2022-06-10 Patrick Palka + + * pt.cc (instantiate_template): Don't substitute the context + of the most general template if that of the partially + instantiated template is already non-dependent. + +2022-06-10 Patrick Palka + + * pt.cc (lookup_template_class): Remove dead stores to + context parameter. Don't substitute the context of the + most general template if that of the partially instantiated + template is already non-dependent. Check the specializations + table again after completing the context of a nested dependent + specialization. + (tsubst_aggr_type) : Don't substitute + TYPE_CONTEXT or pass it to lookup_template_class. + (tsubst_decl) : Avoid substituting + the TREE_TYPE for DECL_SELF_REFERENCE_P. Avoid template argument + substitution or coercion in some cases. + +2022-06-10 Nathan Sidwell + + * cp-tree.h (fini_modules): Add some parameters. + (finish_module_processing): Return an opaque pointer. + * decl2.cc (c_parse_final_cleanups): Propagate a cookie from + finish_module_processing to fini_modules. + * module.cc (struct module_processing_cookie): New. + (finish_module_processing): Return a heap-allocated cookie. + (late_finish_module): New. Finish out the module writing. + (fini_modules): Adjust. + +2022-06-10 Nathan Sidwell + + * cp-tree.h (module_has_import_init): Rename to ... + (module_determined_import_inits): ... here. + * decl2.cc (start_objects): Do not handle module initializers + here. + (c_parse_final_cleanups): Generate a separate module + initializer calling function and add it to the list. Shrink + the c-lang region. + * module.cc (num_init_calls_needed): Delete. + (module_has_import_init): Rename to ... + (module_determined_import_inits): ... here. Do the + calculation here ... + (finish_module_processing): ... rather than here. + (module_add_import_initializers): Reformat. + 2022-06-09 Jakub Jelinek PR c++/105871 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 0d776799802..4cb2d011a72 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,9 @@ +2022-06-10 Antoni Boucher + + PR jit/105829 + * libgccjit.cc: Add support for floating-point types in + gcc_jit_type_get_size. + 2022-06-08 Yang Yujie * Make-lang.in: only link objects from $(EXTRA_GCC_OBJS) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 61729343c3f..604f4e3b0a8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,20 @@ +2022-06-10 Nathan Sidwell + + * g++.dg/modules/init-3_a.C: New. + * g++.dg/modules/init-3_b.C: New. + * g++.dg/modules/init-3_c.C: New. + +2022-06-10 Roger Sayle + + PR rtl-optimization/7061 + * gcc.target/i386/pr7061-1.c: New test case. + * gcc.target/i386/pr7061-2.c: New test case. + +2022-06-10 Antoni Boucher + + PR jit/105829 + * jit.dg/test-types.c: Add tests for gcc_jit_type_get_size. + 2022-06-09 Takayuki 'January June' Suwa * gcc.target/xtensa/check_zero_byte.c: New. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 46a747d4ce3..79db01d59c1 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,23 @@ +2022-06-10 Jakub Jelinek + + * allocator.c (gomp_init_memkind): Call dlopen with "libmemkind.so.0" + rather than "libmemkind.so". + +2022-06-10 Thomas Schwinge + + * plugin/Makefrag.am: Evaluate 'if PLUGIN_NVPTX_DYNAMIC' to true. + * plugin/configfrag.ac (--with-cuda-driver) + (--with-cuda-driver-include, --with-cuda-driver-lib) + (CUDA_DRIVER_INCLUDE, CUDA_DRIVER_LIB, PLUGIN_NVPTX_CPPFLAGS) + (PLUGIN_NVPTX_LDFLAGS, PLUGIN_NVPTX_LIBS, PLUGIN_NVPTX_DYNAMIC): + Remove. + * testsuite/libgomp-test-support.exp.in (cuda_driver_include) + (cuda_driver_lib): Remove. + * testsuite/lib/libgomp.exp (libgomp_init): Don't consider these. + * Makefile.in: Regenerate. + * configure: Likewise. + * testsuite/Makefile.in: Likewise. + 2022-06-09 Jakub Jelinek * config/linux/allocator.c: Fix up #include directive. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3dd646a20ff..a5597e04886 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,48 @@ +2022-06-10 Jonathan Wakely + + PR libstdc++/105844 + * include/experimental/numeric (experimental::gcd): Simplify + assertions. Use __abs_r instead of __absu. + (experimental::lcm): Likewise. Remove use of __detail::__lcm so + overflow can be detected. + * include/std/numeric (__detail::__absu): Rename to __abs_r and + change to allow signed result type, so overflow can be detected. + (__detail::__lcm): Remove. + (gcd): Simplify assertions. Use __abs_r instead of __absu. + (lcm): Likewise. Remove use of __detail::__lcm so overflow can + be detected. + * testsuite/26_numerics/gcd/gcd_neg.cc: Adjust dg-error lines. + * testsuite/26_numerics/lcm/lcm_neg.cc: Likewise. + * testsuite/26_numerics/gcd/105844.cc: New test. + * testsuite/26_numerics/lcm/105844.cc: New test. + +2022-06-10 Jonathan Wakely + + PR libstdc++/105880 + * libsupc++/eh_globals.cc (eh_globals): Ensure constant init and + prevent destruction during termination. + (__eh_globals_init::_M_init): Replace with static member _S_init. + (__cxxabiv1::__cxa_get_globals_fast): Update. + (__cxxabiv1::__cxa_get_globals): Likewise. + +2022-06-10 Jonathan Wakely + + * include/bits/basic_string.h (__hash_str_base): New class + template. + (hash, A>>): Define partial + specialization for each of the standard character types. + (hash, hash, hash, hash) + (hash): Remove explicit specializations. + * include/std/string (__hash_string_base): Remove class + template. + (hash, hash, hash) + (hash, hash): Remove explicit + specializations. + * testsuite/21_strings/basic_string/hash/hash.cc: Test with + custom allocators. + * testsuite/21_strings/basic_string/hash/hash_char8_t.cc: + Likewise. + 2022-05-27 Jonathan Wakely PR libstdc++/105671