summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-03-17 00:17:00 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-03-17 00:17:00 +0000
commit9fc8f278ebebc57537dc0cb9d33e36d932be0bc3 (patch)
treefb17f877813d7d1424ee5d85318f0bf13b014df4
parent3ef2343927741757f7e2bed219c6e510f6f0facd (diff)
Daily bump.
-rw-r--r--ChangeLog4
-rw-r--r--gcc/ChangeLog82
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog72
-rw-r--r--gcc/c-family/ChangeLog11
-rw-r--r--gcc/cp/ChangeLog12
-rw-r--r--gcc/testsuite/ChangeLog62
-rw-r--r--libgomp/ChangeLog11
-rw-r--r--libstdc++-v3/ChangeLog23
9 files changed, 278 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f8fc803ff33..aee29354f01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-03-16 Chung-Ju Wu <jasonwucj@gmail.com>
+
+ * MAINTAINERS: Add myself to DCO section.
+
2022-03-14 Jonathan Wakely <jwakely@redhat.com>
* configure.ac: Fix incorrect option in comment.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b1e6cbbec46..f835ec0424d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,85 @@
+2022-03-16 Roger Sayle <roger@nextmovesoftware.com>
+
+ * config/i386/sse.md: Delete corrupt character/typo.
+
+2022-03-16 Roger Sayle <roger@nextmovesoftware.com>
+
+ PR target/94680
+ * config/i386/sse.md (sse2_movq128): New define_expand to
+ preserve previous named instruction.
+ (*sse2_movq128_<mode>): Renamed from sse2_movq128, and
+ generalized to VI8F_128 (both V2DI and V2DF).
+
+2022-03-16 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/104941
+ * tree-object-size.cc (size_for_offset): Make useless conversion
+ check lighter and assign result of fold_convert to OFFSET.
+
+2022-03-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/104890
+ * config/i386/x86gprintrin.h: Also check _SOFT_FLOAT before
+ pushing target("general-regs-only").
+
+2022-03-16 Kito Cheng <kito.cheng@sifive.com>
+
+ * common/config/riscv/riscv-common.cc (riscv_ext_version_table):
+ Add version info for zk, zks and zkn.
+
+2022-03-16 LiaoShihua <shihua@iscas.ac.cn>
+
+ * common/config/riscv/riscv-common.cc
+ (riscv_combine_info): New.
+ (riscv_subset_list::handle_combine_ext): Combine back into zk to
+ maintain the canonical order in isa strings.
+ (riscv_subset_list::parse): Ditto.
+ * config/riscv/riscv-subset.h (handle_combine_ext): New.
+
+2022-03-16 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/102008
+ * passes.def: Move the added code sinking pass before the
+ preceeding phiopt pass.
+
+2022-03-16 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96780
+ * doc/invoke.texi (C++ Dialect Options): Document
+ -ffold-simple-inlines.
+
+2022-03-16 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/104942
+ * tree-object-size.cc (alloc_object_size): Remove STRIP_NOPS.
+
+2022-03-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/104910
+ * config/aarch64/aarch64.cc (aarch64_load_symref_appropriately): Copy
+ imm rtx.
+
+2022-03-16 Roger Sayle <roger@nextmovesoftware.com>
+ Richard Biener <rguenther@suse.de>
+
+ * gimple-match-head.cc (single_use): Implement inline using a
+ single loop.
+
+2022-03-16 Roger Sayle <roger@nextmovesoftware.com>
+
+ * match.pd (X CMP X -> true): Test tree_expr_maybe_nan_p
+ instead of HONOR_NANS.
+ (X LTGT X -> false): Enable if X is not tree_expr_maybe_nan_p, as
+ this can't trap/signal.
+
+2022-03-16 liuhongt <hongtao.liu@intel.com>
+
+ PR target/104946
+ * config/i386/i386-builtin.def (BDESC): Add
+ CODE_FOR_sse4_1_blendvpd for IX86_BUILTIN_BLENDVPD.
+ * config/i386/i386.cc (ix86_gimple_fold_builtin): Don't fold
+ __builtin_ia32_blendvpd w/o sse4.2
+
2022-03-15 Peter Bergner <bergner@linux.ibm.com>
PR target/104923
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 542d09166fd..d034c2934fb 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220316
+20220317
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 78be98a6e9b..2d33f09f988 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,75 @@
+2022-03-16 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/104955
+ * diagnostic-manager.cc (get_emission_location): New.
+ (diagnostic_manager::diagnostic_manager): Initialize
+ m_num_disabled_diagnostics.
+ (diagnostic_manager::add_diagnostic): Reject diagnostics that
+ will eventually be rejected due to being disabled.
+ (diagnostic_manager::emit_saved_diagnostics): Log the number
+ of disabled diagnostics.
+ (diagnostic_manager::emit_saved_diagnostic): Split out logic for
+ determining emission location to get_emission_location.
+ * diagnostic-manager.h
+ (diagnostic_manager::m_num_disabled_diagnostics): New field.
+ * engine.cc (stale_jmp_buf::get_controlling_option): New.
+ (stale_jmp_buf::emit): Use it.
+ * pending-diagnostic.h
+ (pending_diagnostic::get_controlling_option): New vfunc.
+ * region-model.cc
+ (poisoned_value_diagnostic::get_controlling_option): New.
+ (poisoned_value_diagnostic::emit): Use it.
+ (shift_count_negative_diagnostic::get_controlling_option): New.
+ (shift_count_negative_diagnostic::emit): Use it.
+ (shift_count_overflow_diagnostic::get_controlling_option): New.
+ (shift_count_overflow_diagnostic::emit): Use it.
+ (dump_path_diagnostic::get_controlling_option): New.
+ (dump_path_diagnostic::emit): Use it.
+ (write_to_const_diagnostic::get_controlling_option): New.
+ (write_to_const_diagnostic::emit): Use it.
+ (write_to_string_literal_diagnostic::get_controlling_option): New.
+ (write_to_string_literal_diagnostic::emit): Use it.
+ * sm-file.cc (double_fclose::get_controlling_option): New.
+ (double_fclose::emit): Use it.
+ (file_leak::get_controlling_option): New.
+ (file_leak::emit): Use it.
+ * sm-malloc.cc (mismatching_deallocation::get_controlling_option):
+ New.
+ (mismatching_deallocation::emit): Use it.
+ (double_free::get_controlling_option): New.
+ (double_free::emit): Use it.
+ (possible_null_deref::get_controlling_option): New.
+ (possible_null_deref::emit): Use it.
+ (possible_null_arg::get_controlling_option): New.
+ (possible_null_arg::emit): Use it.
+ (null_deref::get_controlling_option): New.
+ (null_deref::emit): Use it.
+ (null_arg::get_controlling_option): New.
+ (null_arg::emit): Use it.
+ (use_after_free::get_controlling_option): New.
+ (use_after_free::emit): Use it.
+ (malloc_leak::get_controlling_option): New.
+ (malloc_leak::emit): Use it.
+ (free_of_non_heap::get_controlling_option): New.
+ (free_of_non_heap::emit): Use it.
+ * sm-pattern-test.cc (pattern_match::get_controlling_option): New.
+ (pattern_match::emit): Use it.
+ * sm-sensitive.cc
+ (exposure_through_output_file::get_controlling_option): New.
+ (exposure_through_output_file::emit): Use it.
+ * sm-signal.cc (signal_unsafe_call::get_controlling_option): New.
+ (signal_unsafe_call::emit): Use it.
+ * sm-taint.cc (tainted_array_index::get_controlling_option): New.
+ (tainted_array_index::emit): Use it.
+ (tainted_offset::get_controlling_option): New.
+ (tainted_offset::emit): Use it.
+ (tainted_size::get_controlling_option): New.
+ (tainted_size::emit): Use it.
+ (tainted_divisor::get_controlling_option): New.
+ (tainted_divisor::emit): Use it.
+ (tainted_allocation_size::get_controlling_option): New.
+ (tainted_allocation_size::emit): Use it.
+
2022-03-15 David Malcolm <dmalcolm@redhat.com>
* store.cc (store::store): Presize m_cluster_map.
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 295e705feb0..e82d5f80e98 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,14 @@
+2022-03-16 Christophe Lyon <christophe.lyon@arm.com>
+ Roger Sayle <roger@nextmovesoftware.com>
+
+ PR c/98198
+ * c-attribs.cc (decl_or_type_attrs): Add error_mark_node check.
+
+2022-03-16 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96780
+ * c.opt: Add -ffold-simple-inlines.
+
2022-03-13 Tobias Burnus <tobias@codesourcery.com>
* c-target.def (check_string_object_format_arg): Fix description typo.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 557d916142d..b6318e48a40 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,15 @@
+2022-03-16 Patrick Palka <ppalka@redhat.com>
+
+ * search.cc (lookup_member): Simplify by handling all values
+ of protect together in the ambiguous case. Don't modify protect.
+
+2022-03-16 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96780
+ * cp-gimplify.cc (cp_fold) <case CALL_EXPR>: Fold calls to
+ std::move/forward and other cast-like functions into simple
+ casts.
+
2022-03-15 Patrick Palka <ppalka@redhat.com>
PR c++/103177
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8f85892bf8f..f25b4cbe5da 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,65 @@
+2022-03-16 Christophe Lyon <christophe.lyon@arm.com>
+ Roger Sayle <roger@nextmovesoftware.com>
+
+ PR c/98198
+ * gcc.dg/pr98198.c: New test case.
+
+2022-03-16 Roger Sayle <roger@nextmovesoftware.com>
+
+ PR target/94680
+ * gcc.target/i386/sse2-pr94680-2.c: New stricter V2DF test case.
+
+2022-03-16 David Malcolm <dmalcolm@redhat.com>
+
+ * gcc.dg/analyzer/many-disabled-diagnostics.c: New test.
+ * gcc.dg/plugin/analyzer_gil_plugin.c
+ (gil_diagnostic::get_controlling_option): New.
+ (double_save_thread::emit): Use it.
+ (fncall_without_gil::emit): Likewise.
+ (pyobject_usage_without_gil::emit): Likewise.
+
+2022-03-16 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/104941
+ * gcc.dg/builtin-dynamic-object-size-0.c (S1, S2): New structs.
+ (test_alloc_nested_structs, g): New functions.
+ (main): Call test_alloc_nested_structs.
+
+2022-03-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/104890
+ * gcc.target/i386/pr104890.c: New test.
+
+2022-03-16 LiaoShihua <shihua@iscas.ac.cn>
+
+ * gcc.target/riscv/predef-17.c: New test.
+
+2022-03-16 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/102008
+ * gcc.target/aarch64/pr102008.c: New testcase.
+
+2022-03-16 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/96780
+ * g++.dg/opt/pr96780.C: New test.
+
+2022-03-16 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/104942
+ * gcc.dg/builtin-dynamic-object-size-0.c (alloc_func_long,
+ test_builtin_malloc_long): New functions.
+ (main): Use it.
+
+2022-03-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/104910
+ * gcc.dg/pr104910.c: New test.
+
+2022-03-16 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/sse4_1-blendvpd-1.c: New test.
+
2022-03-15 David Malcolm <dmalcolm@redhat.com>
PR analyzer/95000
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index d633609a59c..973c470b89a 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,14 @@
+2022-03-16 Marcel Vollweiler <marcel@codesourcery.com>
+
+ * fortran.c (omp_set_num_teams_8_): Call omp_set_num_teams instead of
+ omp_set_max_active_levels.
+ * testsuite/libgomp.fortran/icv-8.f90: New test.
+
+2022-03-16 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR testsuite/102841
+ * testsuite/libgomp.oacc-c-c++-common/host_data-7.c: Adjust.
+
2022-03-13 Tobias Burnus <tobias@codesourcery.com>
* libgomp.texi: Fix typo.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 9eb5b897ca9..64a2ad26a23 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,26 @@
+2022-03-16 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/103407
+ * config/abi/pre/gnu.ver: Make version for std::from_chars
+ depend on HAVE_USELOCALE macro.
+ * testsuite/util/testsuite_abi.cc (compare_symbols): Treat
+ std::from_chars for floating-point types as undesignated if
+ not found in the baseline symbols file.
+
+2022-03-16 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/charconv (__cpp_lib_to_chars): Only define when
+ both from_chars and to_chars are supported for floating-point
+ types.
+ (from_chars, to_chars): Adjust preprocessor conditions guarding
+ declarations.
+ * include/std/version (__cpp_lib_to_chars): Adjust condition to
+ match <charconv> definition.
+ * src/c++17/floating_from_chars.cc (from_chars_strtod): New
+ function template.
+ (from_chars): Simplify preprocessor checks and use
+ from_chars_strtod when appropriate.
+
2022-03-14 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/104875