]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 11 Jun 2022 00:16:21 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 11 Jun 2022 00:16:21 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/jit/ChangeLog
gcc/testsuite/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index e79c77cf71a977bba4b8efac8108454b6c1fb2f2..e748cfd7f1742535551ccd095df82878c666683c 100644 (file)
@@ -1,3 +1,12 @@
+2022-06-10  Roger Sayle  <roger@nextmovesoftware.com>
+
+       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  <jjsuwa_sys3175@yahoo.co.jp>
 
        * config/xtensa/xtensa.md (clrsbsi2): New insn pattern.
index b3177859c58d04e72d9c70595955ea847c5ebe3d..11ff5fbe522cd24fa598862295280d8bf4904d8d 100644 (file)
@@ -1 +1 @@
-20220610
+20220611
index 0482af799f9c25e21c8006ff6a240c68f121a9bb..459aaeae95e688350da4802a5e2f5067eaf1ed7f 100644 (file)
@@ -1,3 +1,68 @@
+2022-06-10  Patrick Palka  <ppalka@redhat.com>
+
+       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) <case TYPENAME_TYPE>:
+       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  <ppalka@redhat.com>
+
+       * 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  <ppalka@redhat.com>
+
+       * 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) <case RECORD_TYPE>: Don't substitute
+       TYPE_CONTEXT or pass it to lookup_template_class.
+       (tsubst_decl) <case TYPE_DECL, case TYPE_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  <nathan@acm.org>
+
+       * 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  <nathan@acm.org>
+
+       * 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  <jakub@redhat.com>
 
        PR c++/105871
index 0d77679980211c7caa65ec2b8cfebf7b5aeffdaf..4cb2d011a72927428967f4f30e71afb2e0b0a3ce 100644 (file)
@@ -1,3 +1,9 @@
+2022-06-10  Antoni Boucher  <bouanto@zoho.com>
+
+       PR jit/105829
+       * libgccjit.cc: Add support for floating-point types in
+       gcc_jit_type_get_size.
+
 2022-06-08  Yang Yujie  <yangyujie@loongson.cn>
 
        * Make-lang.in: only link objects from $(EXTRA_GCC_OBJS)
index 61729343c3f6565b4b4c4834e7813dc536031d7c..604f4e3b0a84da91c251e0abb0391f578b70fed5 100644 (file)
@@ -1,3 +1,20 @@
+2022-06-10  Nathan Sidwell  <nathan@acm.org>
+
+       * 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  <roger@nextmovesoftware.com>
+
+       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  <bouanto@zoho.com>
+
+       PR jit/105829
+       * jit.dg/test-types.c: Add tests for gcc_jit_type_get_size.
+
 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
 
        * gcc.target/xtensa/check_zero_byte.c: New.
index 46a747d4ce3f86270f590e3241f64dac51673922..79db01d59c183fd5d9c3d2728544a8ef7406babf 100644 (file)
@@ -1,3 +1,23 @@
+2022-06-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * allocator.c (gomp_init_memkind): Call dlopen with "libmemkind.so.0"
+       rather than "libmemkind.so".
+
+2022-06-10  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * 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  <jakub@redhat.com>
 
        * config/linux/allocator.c: Fix up #include directive.
index 3dd646a20ff02b74af591bdab5d8254ba4eec3f3..a5597e04886edab740a78256e974f177fe627c24 100644 (file)
@@ -1,3 +1,48 @@
+2022-06-10  Jonathan Wakely  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       * include/bits/basic_string.h (__hash_str_base): New class
+       template.
+       (hash<basic_string<C, char_traits<C>, A>>): Define partial
+       specialization for each of the standard character types.
+       (hash<string>, hash<wstring>, hash<u8string>, hash<u16string>)
+       (hash<u32string>): Remove explicit specializations.
+       * include/std/string (__hash_string_base): Remove class
+       template.
+       (hash<pmr::string>, hash<pmr::wstring>, hash<pmr::u8string>)
+       (hash<pmr::u16string>, hash<pmr::u32string>): 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  <jwakely@redhat.com>
 
        PR libstdc++/105671