From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 04CE93858C3A; Sat, 22 Jan 2022 00:17:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04CE93858C3A MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-6813] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: f9063d12633c62a089115df032a19295854d8b06 X-Git-Newrev: 9dd443578f37b011ef4c2337740490f01be294e2 Message-Id: <20220122001702.04CE93858C3A@sourceware.org> Date: Sat, 22 Jan 2022 00:17:02 +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, 22 Jan 2022 00:17:02 -0000 https://gcc.gnu.org/g:9dd443578f37b011ef4c2337740490f01be294e2 commit r12-6813-g9dd443578f37b011ef4c2337740490f01be294e2 Author: GCC Administrator Date: Sat Jan 22 00:16:26 2022 +0000 Daily bump. Diff: --- gcc/ChangeLog | 191 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 12 +++ gcc/cp/ChangeLog | 26 +++++++ gcc/testsuite/ChangeLog | 87 ++++++++++++++++++++++ libgomp/ChangeLog | 18 +++++ libstdc++-v3/ChangeLog | 75 +++++++++++++++++++ 7 files changed, 410 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1464a78a6c2..6b2a322fbc2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,194 @@ +2022-01-21 Michael Meissner + + 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_hardfloat32): Likewise. + (mov_hardfloat64): Likewise. + * config/rs6000/vsx.md (vsx_mov_64bit): Explicitly set the + prefixed attribute for xxspltiw and xxspltidp instructions. + (vsx_mov_32bit): Likewise. + +2022-01-21 H.J. Lu + + 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 + + * 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 + + * config/rs6000/rs6000-overload.def (VEC_SLDW): Add instances for + vector float and vector double. + +2022-01-21 Bill Seurer + + * config/rs6000/rs6000.cc (rs6000_get_function_versions_dispatcher): + Fix mention of ifunc in string. + +2022-01-21 Roger Sayle + + 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 + + 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 + + * 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 + + 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 + + * 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 + + 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 + + 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 + + * 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 + + 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 + + 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 PR middle-end/100786 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 3f3ee5d7268..972df32b1f6 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220121 +20220122 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 2cfebb2ab05..5595c8d01ed 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,15 @@ +2022-01-21 Jakub Jelinek + + 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 * c-common.cc (c_common_c_tests): Rename to... diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ea3c8013563..4b49a675de7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,29 @@ +2022-01-21 Jason Merrill + + * semantics.cc (find_failing_clause): Return expr if not + decomposable. + (finish_static_assert): Show constant values in failing + comparison. + +2022-01-21 Jason Merrill + + 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 + + PR c++/101715 + * tree.cc (fixup_deferred_exception_variants): Remove duplicate + variants after parsing the exception specifications. + +2022-01-21 Jason Merrill + + PR c++/104139 + PR c++/103681 + * class.cc (end_of_class): Use base_binfo. + 2022-01-20 Jason Merrill PR c++/101405 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7b298aeddf9..580c7734f8c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,90 @@ +2022-01-21 Jakub Jelinek + + PR c++/104148 + * c-c++-common/Wformat-pr104148.c: New test. + +2022-01-21 Jason Merrill + + * g++.dg/template/explicit-args6.C: Add expected message. + +2022-01-21 Jason Merrill + + PR c++/104084 + PR c++/20040 + * g++.dg/init/new50.C: New test. + +2022-01-21 Bill Schmidt + + * gcc.target/powerpc/builtins-4.c: Add two test variants. Adjust + assembler counts. + +2022-01-21 Roger Sayle + + PR middle-end/104140 + * gcc.target/riscv/pr104140.c: New test case. + +2022-01-21 Vladimir N. Makarov + + PR target/103676 + * g++.target/arm/pr103676.C: New. + +2022-01-21 Marek Polacek + + PR c++/101715 + * g++.dg/cpp0x/noexcept72.C: New test. + * g++.dg/cpp0x/noexcept73.C: New test. + +2022-01-21 Jason Merrill + + 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 + + PR sanitizer/99673 + * gcc.dg/asan/pr99673.c: New testcase. + +2022-01-21 Ard Biesheuvel + + * gcc.target/arm/stack-protector-7.c: New test. + * gcc.target/arm/stack-protector-8.c: New test. + +2022-01-21 Richard Earnshaw + + * 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 + + PR tree-optimization/104156 + * gcc.dg/loop-unswitch-6.c: New testcase. + +2022-01-21 Richard Biener + + PR tree-optimization/104152 + * gcc.dg/vect/pr104152.c: New testcase. + +2022-01-21 Aldy Hernandez + + * gcc.dg/pr103721-2.c: New test. + * gcc.dg/pr103721.c: New test. + +2022-01-21 Jakub Jelinek + + PR rtl-optimization/102478 + * gcc.dg/pr102478.c: New test. + +2022-01-21 Jeff Law + + * 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 PR analyzer/94362 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index ba10ad371a0..efa609fd6cc 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,21 @@ +2022-01-21 Thomas Schwinge + + * 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 * config/gcn/icv-device.c: Make GOMP_DEVICE_NUM_VAR public (remove diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f4ca57f7956..04e5e696e40 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,78 @@ +2022-01-21 Jonathan Wakely + + * testsuite/20_util/shared_ptr/cons/array.cc: Fix comment. + +2022-01-21 Jonathan Wakely + + 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 + + * include/std/version (__cpp_lib_shared_ptr_arrays): Fix + condition for C++17 definition. + +2022-01-21 Jonathan Wakely + + * 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 * src/c++11/cxx11-ios_failure.cc (__constinit): Define as