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

index 1464a78a6c2dfe8bfada4bd34c92091db6b2af05..6b2a322fbc22793d8b06c6b083670ca9855824ea 100644 (file)
@@ -1,3 +1,194 @@
+2022-01-21  Michael Meissner  <meissner@the-meissners.org>
+
+       PR target/104136
+       * config/rs6000/rs6000-protos.h (prefixed_xxsplti_p): Delete.
+       * config/rs6000/rs6000.cc (prefixed_xxsplti_p): Delete.
+       * config/rs6000/rs6000.md (prefixed attribute): Delete section
+       that sets the prefixed attribute for xxspltiw, xxspltidp, and
+       xxsplti32dx instructions.
+       (movsf_hardfloat): Explicitly set the prefixed attribute
+       when xxspltiw and xxspltidp instructions are generated.
+       (mov<mode>_hardfloat32): Likewise.
+       (mov<mode>_hardfloat64): Likewise.
+       * config/rs6000/vsx.md (vsx_mov<mode>_64bit): Explicitly set the
+       prefixed attribute for xxspltiw and xxspltidp instructions.
+       (vsx_mov<mode>_32bit): Likewise.
+
+2022-01-21  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/104170
+       * common/config/i386/i386-common.cc (ix86_supports_split_stack):
+       Return true only on glibc.
+       * config/i386/gnu-user-common.h (STACK_CHECK_STATIC_BUILTIN):
+       Revert commit c163647ffbc.
+       * config/i386/gnu.h (TARGET_LIBC_PROVIDES_SSP): Likewise.
+
+2022-01-21  Sören Tempel  <soeren@soeren-tempel.net>
+
+       * common/config/s390/s390-common.cc (s390_supports_split_stack):
+       Only support split-stack on glibc targets.
+       * config/i386/gnu-user-common.h (STACK_CHECK_STATIC_BUILTIN): Ditto.
+       * config/i386/gnu.h (defined): Ditto.
+
+2022-01-21  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       * config/rs6000/rs6000-overload.def (VEC_SLDW): Add instances for
+       vector float and vector double.
+
+2022-01-21  Bill Seurer  <seurer@gcc.gnu.org>
+
+       * config/rs6000/rs6000.cc (rs6000_get_function_versions_dispatcher):
+       Fix mention of ifunc in string.
+
+2022-01-21  Roger Sayle  <roger@nextmovesoftware.com>
+
+       PR middle-end/104140
+       * tree-ssa-math-opts.cc (convert_mult_to_highpart): Check that the
+       operands of the widening multiplication are either both signed or
+       both unsigned, and abort the conversion if mismatched.
+       * doc/generic.texi (WIDEN_MULT_EXPR): Describe expression node.
+       (MULT_HIGHPART_EXPR): Clarify that operands must have the same
+       signedness.
+       * tree.def (MULT_HIGHPART_EXPR): Document both operands must have
+       integer types with the same precision and signedness.
+       (WIDEN_MULT_EXPR): Document that operands must have integer types
+       with the same precision, but possibly differing signedness.
+       * config/riscv/riscv-c.cc (riscv_cpu_cpp_builtins): Defend against
+       riscv_current_subset_list returning a NULL pointer (empty list).
+
+2022-01-21  Vladimir N. Makarov  <vmakarov@redhat.com>
+
+       PR target/103676
+       * ira.h (struct target_ira): Add member
+       x_ira_exclude_class_mode_regs.
+       (ira_exclude_class_mode_regs): New macro.
+       * lra.h (lra_create_new_reg): Add arg exclude_start_hard_regs and
+       move from here ...
+       * lra-int.h: ... to here.
+       (lra_create_new_reg_with_unique_value): Add arg
+       exclude_start_hard_regs.
+       (class lra_reg): Add member exclude_start_hard_regs.
+       * lra-assigns.cc (find_hard_regno_for_1): Setup
+       impossible_start_hard_regs from exclude_start_hard_regs.
+       * lra-constraints.cc (get_reload_reg): Add arg exclude_start_hard_regs and pass
+       it lra_create_new_reg[_with_unique_value].
+       (match_reload): Ditto.
+       (check_and_process_move): Pass NULL
+       exclude_start_hard_regs to lra_create_new_reg_with_unique_value.
+       (goal_alt_exclude_start_hard_regs): New static variable.
+       (process_addr_reg, simplify_operand_subreg): Pass NULL
+       exclude_start_hard_regs to lra_create_new_reg_with_unique_value
+       and get_reload_reg.
+       (process_alt_operands): Setup goal_alt_exclude_start_hard_regs.
+       Use this_alternative_exclude_start_hard_regs additionally to find
+       winning operand alternative.
+       (base_to_reg, base_plus_disp_to_reg, index_part_to_reg): Pass NULL
+       exclude_start_hard_regs to lra_create_new_reg.
+       (process_address_1, emit_inc): Ditto.
+       (curr_insn_transform): Pass exclude_start_hard_regs value to
+       lra_create_new_reg, get_reload_reg, match_reload.
+       (inherit_reload_reg, split_reg): Pass NULL exclude_start_hard_regs
+       to lra_create_new_reg.
+       (process_invariant_for_inheritance): Ditto.
+       * lra-remat.cc (update_scratch_ops): Ditto.
+       * lra.cc (lra_create_new_reg_with_unique_value): Add arg
+       exclude_start_hard_regs.  Setup the corresponding member of
+       lra reg info.
+       (lra_create_new_reg): Add arg exclude_start_hard_regs and pass it
+       to lra_create_new_reg_with_unique_value.
+       (initialize_lra_reg_info_element): Initialize member
+       exclude_start_hard_regs.
+       (get_scratch_reg): Pass NULL to lra_create_new_reg.
+       * ira.cc (setup_prohibited_class_mode_regs): Rename to
+       setup_prohibited_and_exclude_class_mode_regs and calculate
+       ira_exclude_class_mode_regs.
+
+2022-01-21  Martin Liska  <mliska@suse.cz>
+
+       * configure.ac: Detect ld_is_mold and use it for
+       comdat_group=yes and gcc_cv_ld_hidden=yes.
+       * configure: Regenerate.
+
+2022-01-21  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/100089
+       * tree-vect-slp.cc (vect_slp_region): Reject BB vectorization
+       of if-converted loops with unvectorized COND_EXPRs for
+       all but the unlimited cost models.
+
+2022-01-21  Ard Biesheuvel  <ardb@kernel.org>
+
+       * config/arm/arm-opts.h (enum stack_protector_guard): New.
+       * config/arm/arm-protos.h (arm_stack_protect_tls_canary_mem):
+       New.
+       * config/arm/arm.cc (TARGET_STACK_PROTECT_GUARD): Define.
+       (arm_option_override_internal): Handle and put in error checks.
+       for stack protector guard options.
+       (arm_option_reconfigure_globals): Likewise.
+       (arm_stack_protect_tls_canary_mem): New.
+       (arm_stack_protect_guard): New.
+       * config/arm/arm.md (stack_protect_set): New.
+       (stack_protect_set_tls): Likewise.
+       (stack_protect_test): Likewise.
+       (stack_protect_test_tls): Likewise.
+       (reload_tp_hard): Likewise.
+       * config/arm/arm.opt (-mstack-protector-guard): New
+       (-mstack-protector-guard-offset): New.
+       * doc/invoke.texi: Document new options.
+
+2022-01-21  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/104156
+       * tree-ssa-loop-unswitch.cc (tree_unswitch_outer_loop):
+       Collect and reset debug stmts with out-of-loop uses when
+       hoisting guards.
+       (find_loop_guard): Adjust.
+       (empty_bb_without_guard_p): Likewise.  Ignore debug stmts.
+       (used_outside_loop_p): Push debug uses to a vector of
+       debug stmts to reset.
+       (hoist_guard): Adjust -fopt-info category.
+
+2022-01-21  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/104152
+       * tree-vect-slp.cc (vect_build_slp_tree_2): Add missing
+       can_duplicate_and_interleave_p check.
+
+2022-01-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * gimple-ssa-warn-access.cc (pass_waccess::warn_invalid_pointer):
+       Avoid passing var to warning_at when the format string doesn't
+       refer to it.
+
+2022-01-21  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR tree-optimization/103721
+       * gimple-range-path.cc
+       (path_range_query::relations_may_be_invalidated): New.
+       (path_range_query::compute_ranges_in_block): Reset relations if
+       they may be invalidated.
+       (path_range_query::maybe_register_phi_relation): Exit if relations
+       may be invalidated on incoming edge.
+       (path_range_query::compute_phi_relations): Pass incoming PHI edge
+       to maybe_register_phi_relation.
+       * gimple-range-path.h (relations_may_be_invalidated): New.
+       (maybe_register_phi_relation): Pass edge instead of tree.
+       * tree-ssa-threadbackward.cc (back_threader::back_threader):
+       Mark DFS edges.
+       * value-relation.cc (path_oracle::path_oracle): Call
+       mark_dfs_back_edges.
+       (path_oracle::register_relation): Add SSA names to m_registered
+       bitmap.
+       (path_oracle::reset_path): Clear m_registered bitmap.
+       * value-relation.h (path_oracle::set_root_oracle): New.
+
+2022-01-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/102478
+       * optabs.cc (prepare_cmp_insn): If !can_create_pseudo_p (), don't
+       force_reg constants and for -fnon-call-exceptions fail if copy_to_reg
+       would be needed.
+
 2022-01-20  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/100786
index 3f3ee5d7268f5d50d76021ce872a3b008e9b5dba..972df32b1f66a0c4af6d3b9efd59f89291c000e1 100644 (file)
@@ -1 +1 @@
-20220121
+20220122
index 2cfebb2ab05a7eb35230a157e180295dcbc5e1bb..5595c8d01edbdc1085ac4683730f61143132ec1b 100644 (file)
@@ -1,3 +1,15 @@
+2022-01-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/104148
+       * c-common.h (check_function_arguments_recurse): Add for_format
+       arg.
+       * c-common.cc (check_function_nonnull): Pass false to
+       check_function_arguments_recurse's last argument.
+       (check_function_arguments_recurse): Add for_format argument,
+       if true, don't stop on warning_suppressed_p.
+       * c-format.cc (check_format_info): Pass true to
+       check_function_arguments_recurse's last argument.
+
 2022-01-19  David Malcolm  <dmalcolm@redhat.com>
 
        * c-common.cc (c_common_c_tests): Rename to...
index ea3c8013563e868da335edc7e33be0b3347860f4..4b49a675de7a611cac6ccb06e75863702f45f12c 100644 (file)
@@ -1,3 +1,29 @@
+2022-01-21  Jason Merrill  <jason@redhat.com>
+
+       * semantics.cc (find_failing_clause): Return expr if not
+       decomposable.
+       (finish_static_assert): Show constant values in failing
+       comparison.
+
+2022-01-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/104084
+       PR c++/20040
+       * init.cc (build_new_1): Only pull out TARGET_EXPR_INITIAL if
+       alloc_expr is a TARGET_EXPR.
+
+2022-01-21  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/101715
+       * tree.cc (fixup_deferred_exception_variants): Remove duplicate
+       variants after parsing the exception specifications.
+
+2022-01-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/104139
+       PR c++/103681
+       * class.cc (end_of_class): Use base_binfo.
+
 2022-01-20  Jason Merrill  <jason@redhat.com>
 
        PR c++/101405
index 7b298aeddf9d30288238c93c1c40254de0a2fc66..580c7734f8c369aa6f637a9b75533cdc58f74ebc 100644 (file)
@@ -1,3 +1,90 @@
+2022-01-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/104148
+       * c-c++-common/Wformat-pr104148.c: New test.
+
+2022-01-21  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/template/explicit-args6.C: Add expected message.
+
+2022-01-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/104084
+       PR c++/20040
+       * g++.dg/init/new50.C: New test.
+
+2022-01-21  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       * gcc.target/powerpc/builtins-4.c: Add two test variants.  Adjust
+       assembler counts.
+
+2022-01-21  Roger Sayle  <roger@nextmovesoftware.com>
+
+       PR middle-end/104140
+       * gcc.target/riscv/pr104140.c: New test case.
+
+2022-01-21  Vladimir N. Makarov  <vmakarov@redhat.com>
+
+       PR target/103676
+       * g++.target/arm/pr103676.C: New.
+
+2022-01-21  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/101715
+       * g++.dg/cpp0x/noexcept72.C: New test.
+       * g++.dg/cpp0x/noexcept73.C: New test.
+
+2022-01-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/104139
+       PR c++/103681
+       * g++.dg/abi/no_unique_address2.C: Adjust to detect this on x86-64.
+
+2022-01-21  Richard Biener  <rguenther@suse.de>
+
+       PR sanitizer/99673
+       * gcc.dg/asan/pr99673.c: New testcase.
+
+2022-01-21  Ard Biesheuvel  <ardb@kernel.org>
+
+       * gcc.target/arm/stack-protector-7.c: New test.
+       * gcc.target/arm/stack-protector-8.c: New test.
+
+2022-01-21  Richard Earnshaw  <rearnsha@arm.com>
+
+       * gcc.target/aarch64/spellcheck_1.c: Adjust tests for new output.
+       * gcc.target/aarch64/spellcheck_2.c: Likewise.
+       * gcc.target/aarch64/spellcheck_3.c: Likewise.
+       * gcc.target/aarch64/spellcheck_7.c: Likewise.
+
+2022-01-21  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/104156
+       * gcc.dg/loop-unswitch-6.c: New testcase.
+
+2022-01-21  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/104152
+       * gcc.dg/vect/pr104152.c: New testcase.
+
+2022-01-21  Aldy Hernandez  <aldyh@redhat.com>
+
+       * gcc.dg/pr103721-2.c: New test.
+       * gcc.dg/pr103721.c: New test.
+
+2022-01-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/102478
+       * gcc.dg/pr102478.c: New test.
+
+2022-01-21  Jeff Law  <jeffreyalaw@gmail.com>
+
+       * gcc.target/mips/fix-r4000-2.c: Update expected output.
+       * gcc.target/mips/fix-r4000-3.c: Update expected output.  Add
+       -fexpensive-optimizations for consistency in output.
+       * gcc.target/mips/fix-r4000-7.c: Update expected output.
+       * gcc.target/mips/fix-r4000-8.c: Update expected output.
+
 2022-01-20  David Malcolm  <dmalcolm@redhat.com>
 
        PR analyzer/94362
index ba10ad371a04adabf2a50838fe173521873f38ca..efa609fd6ccae9d92fc1b6e578a1bdf3ce0b9706 100644 (file)
@@ -1,3 +1,21 @@
+2022-01-21  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Strengthen.
+       * testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise.
+       * testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Likewise.
+
 2022-01-19  Marcel Vollweiler  <marcel@codesourcery.com>
 
        * config/gcn/icv-device.c: Make GOMP_DEVICE_NUM_VAR public (remove
index f4ca57f7956ff67c5dcacbf961ca454c388fa312..04e5e696e40a15d3cc272929ba617dd81555c86e 100644 (file)
@@ -1,3 +1,78 @@
+2022-01-21  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/20_util/shared_ptr/cons/array.cc: Fix comment.
+
+2022-01-21  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/87193
+       PR libstdc++/104019
+       * include/bits/alloc_traits.h (__cpp_lib_allocator_traits_is_always_equal):
+       Define as type long.
+       * include/bits/allocator.h (__cpp_lib_incomplete_container_elements):
+       Likewise.
+       * include/bits/basic_string.h (__cpp_lib_string_udls): Likewise.
+       * include/bits/chrono.h (__cpp_lib_chrono): Likewise.
+       (__cpp_lib_chrono_udls): Likewise.
+       * include/bits/move.h (__cpp_lib_addressof_constexpr): Likewise.
+       * include/bits/node_handle.h (__cpp_lib_node_extract): Likewise.
+       * include/bits/range_access.h (__cpp_lib_nonmember_container_access):
+       Likewise.
+       * include/bits/shared_ptr.h (__cpp_lib_enable_shared_from_this):
+       Likewise.
+       * include/bits/stl_algo.h (__cpp_lib_clamp): Likewise.
+       (__cpp_lib_sample): Likewise.
+       * include/bits/stl_algobase.h (__cpp_lib_robust_nonmodifying_seq_ops):
+       Likewise.
+       * include/bits/stl_function.h (__cpp_lib_transparent_operators):
+       Likewise.
+       * include/bits/stl_iterator.h (__cpp_lib_make_reverse_iterator):
+       Likewise.
+       * include/bits/stl_map.h (__cpp_lib_map_try_emplace):
+       Likewise.
+       * include/bits/stl_tree.h (__cpp_lib_generic_associative_lookup):
+       Likewise.
+       * include/bits/unique_ptr.h (__cpp_lib_make_unique):
+       Likewise.
+       * include/bits/unordered_map.h (__cpp_lib_unordered_map_try_emplace):
+       Likewise.
+       * include/c_global/cmath (__cpp_lib_hypot): Likewise.
+       * include/c_global/cstddef (__cpp_lib_byte): Likewise.
+       * include/std/atomic (__cpp_lib_atomic_is_always_lock_free):
+       Likewise.
+       * include/std/complex (__cpp_lib_complex_udls): Likewise.
+       * include/std/filesystem (__cpp_lib_filesystem): Likewise.
+       * include/std/functional (__cpp_lib_not_fn): Likewise.
+       (__cpp_lib_boyer_moore_searcher): Likewise.
+       * include/std/iomanip (__cpp_lib_quoted_string_io): Likewise.
+       * include/std/mutex (__cpp_lib_scoped_lock): Likewise.
+       * include/std/numeric (__cpp_lib_gcd_lcm): Likewise.
+       (__cpp_lib_gcd, __cpp_lib_lcm): Likewise.
+       * include/std/tuple (__cpp_lib_apply): Likewise.
+       (__cpp_lib_make_from_tuple): Likewise.
+       * include/std/type_traits (__cpp_lib_integral_constant_callable)
+       (__cpp_lib_bool_constant, __cpp_lib_logical_traits)
+       (__cpp_lib_is_null_pointer, __cpp_lib_transformation_trait_aliases)
+       (__cpp_lib_result_of_sfinae, __cpp_lib_void_t)
+       (__cpp_lib_is_swappable, __cpp_lib_is_invocable)
+       (__cpp_lib_has_unique_object_representations)
+       (__cpp_lib_is_aggregate): Likewise.
+       * include/std/version: Likewise.
+       * libsupc++/new (__cpp_lib_launder): Likewise.
+
+2022-01-21  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/version (__cpp_lib_shared_ptr_arrays): Fix
+       condition for C++17 definition.
+
+2022-01-21  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/shared_ptr_atomic.h (_Sp_atomic::_Atomic_count):
+       Add constexpr.
+       (_Sp_atomic::_M_ptr): Add default member-initializer.
+       * testsuite/20_util/shared_ptr/atomic/atomic_shared_ptr.cc:
+       Check constant initialization.
+       * testsuite/20_util/weak_ptr/atomic_weak_ptr.cc: Likewise.
+
 2022-01-20  Jonathan Wakely  <jwakely@redhat.com>
 
        * src/c++11/cxx11-ios_failure.cc (__constinit): Define as