aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-06-11 00:16:21 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-06-11 00:16:21 +0000
commitef1e4d80dd30e7c46849fbb8b1ac49e672df1bbd (patch)
tree4c690c1efdab306e7f4919d5098e16ab84bfe2d1
parent343d83c7a89d0c7a78139e685395228115a28f6e (diff)
downloadgcc-ef1e4d80dd30e7c46849fbb8b1ac49e672df1bbd.zip
gcc-ef1e4d80dd30e7c46849fbb8b1ac49e672df1bbd.tar.gz
gcc-ef1e4d80dd30e7c46849fbb8b1ac49e672df1bbd.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/cp/ChangeLog65
-rw-r--r--gcc/jit/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog17
-rw-r--r--libgomp/ChangeLog20
-rw-r--r--libstdc++-v3/ChangeLog45
7 files changed, 163 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e79c77c..e748cfd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index b317785..11ff5fb 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220610
+20220611
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0482af7..459aaea 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index 0d77679..4cb2d01 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -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)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6172934..604f4e3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 46a747d..79db01d 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3dd646a..a5597e0 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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