From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 8A6273858D37; Thu, 29 Sep 2022 00:18:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A6273858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664410684; bh=pHR5wscY4sHE96PsPOfL57L6dXQUa/4bx5vyRhEkf4I=; h=From:To:Subject:Date:From; b=ST06MEDYtRMULUetrdj1eXqAbc0+ClTM1NcL77CnWA7ohI4N7S7NgJLgXC2OBHLqL WqYfZxrdYj0ppOOWJA2h3PoKSoA/u+KXsN1RuKHNtv7CXPGYaqITgcRTMlUlShCojT vW4hxRr6MF4IX1cj6ZetpszUpc2wLoIZwjCvQt9M= 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 r13-2924] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: d01f112de4a54db6d2abef836e6dff3a08167389 X-Git-Newrev: 9e79a25b66cb7e0ddbd1410ecc86cec25588d172 Message-Id: <20220929001804.8A6273858D37@sourceware.org> Date: Thu, 29 Sep 2022 00:18:04 +0000 (GMT) List-Id: https://gcc.gnu.org/g:9e79a25b66cb7e0ddbd1410ecc86cec25588d172 commit r13-2924-g9e79a25b66cb7e0ddbd1410ecc86cec25588d172 Author: GCC Administrator Date: Thu Sep 29 00:16:38 2022 +0000 Daily bump. Diff: --- gcc/ChangeLog | 106 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 17 ++++++++ gcc/testsuite/ChangeLog | 51 +++++++++++++++++++++++ libcpp/ChangeLog | 25 ++++++++++++ libgomp/ChangeLog | 5 +++ libitm/ChangeLog | 8 ++++ libstdc++-v3/ChangeLog | 41 +++++++++++++++++++ 8 files changed, 254 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce384108d2f..25721e8af62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,109 @@ +2022-09-28 Eugene Rozenfeld + + * basic-block.h: Remove discriminator from basic blocks. + * cfghooks.cc (split_block_1): Remove discriminator from basic blocks. + * final.cc (final_start_function_1): Switch from per-bb to per statement + discriminator. + (final_scan_insn_1): Don't keep track of basic block discriminators. + (compute_discriminator): Switch from basic block discriminators to + instruction discriminators. + (insn_discriminator): New function to return instruction discriminator. + (notice_source_line): Use insn_discriminator. + * gimple-pretty-print.cc (dump_gimple_bb_header): Remove dumping of + basic block discriminators. + * gimple-streamer-in.cc (input_bb): Remove reading of basic block + discriminators. + * gimple-streamer-out.cc (output_bb): Remove writing of basic block + discriminators. + * input.cc (make_location): Pass 0 discriminator to COMBINE_LOCATION_DATA. + (location_with_discriminator): New function to combine locus with + a discriminator. + (has_discriminator): New function to check if a location has a discriminator. + (get_discriminator_from_loc): New function to get the discriminator + from a location. + * input.h: Declarations of new functions. + * lto-streamer-in.cc (cmp_loc): Use discriminators in location comparison. + (apply_location_cache): Keep track of current discriminator. + (input_location_and_block): Read discriminator from stream. + * lto-streamer-out.cc (clear_line_info): Set current discriminator to + UINT_MAX. + (lto_output_location_1): Write discriminator to stream. + * lto-streamer.h: Add discriminator to cached_location. + Add current_discr to lto_location_cache. + Add current_discr to output_block. + * print-rtl.cc (print_rtx_operand_code_i): Print discriminator. + * rtl.h: Add extern declaration of insn_discriminator. + * tree-cfg.cc (assign_discriminator): New function to assign a unique + discriminator value to all statements in a basic block that have the given + line number. + (assign_discriminators): Assign discriminators to statement locations. + * tree-pretty-print.cc (dump_location): Dump discriminators. + * tree.cc (set_block): Preserve discriminator when setting block. + (set_source_range): Preserve discriminator when setting source range. + +2022-09-28 H.J. Lu + + PR target/107061 + * config/i386/predicates.md (encodekey128_operation): Check + XMM4-XMM6 as clobbered. + (encodekey256_operation): Likewise. + * config/i386/sse.md (encodekey128u32): Clobber XMM4-XMM6. + (encodekey256u32): Likewise. + +2022-09-28 Ju-Zhe Zhong + + * config.gcc: Add riscv-vector-builtins.o. + * config/riscv/riscv-builtins.cc (riscv_init_builtins): Add RVV builtin function. + * config/riscv/riscv-protos.h (riscv_v_ext_enabled_vector_mode_p): New function. + * config/riscv/riscv.cc (ENTRY): New macro. + (riscv_v_ext_enabled_vector_mode_p): New function. + (riscv_mangle_type): Add RVV mangle. + (riscv_vector_mode_supported_p): Adjust RVV machine mode. + (riscv_verify_type_context): Add context check for RVV. + (riscv_vector_alignment): Add RVV alignment target hook support. + (TARGET_VECTOR_MODE_SUPPORTED_P): New target hook support. + (TARGET_VERIFY_TYPE_CONTEXT): Ditto. + (TARGET_VECTOR_ALIGNMENT): Ditto. + * config/riscv/t-riscv: Add riscv-vector-builtins.o + * config/riscv/riscv-vector-builtins.cc: New file. + * config/riscv/riscv-vector-builtins.def: New file. + * config/riscv/riscv-vector-builtins.h: New file. + * config/riscv/riscv-vector-switch.def: New file. + +2022-09-28 Stefan Schulze Frielinghaus + + * var-tracking.cc (vt_add_function_parameter): Add entry values + up to maximal register mode. + +2022-09-28 Stefan Schulze Frielinghaus + + * cselib.cc (new_cselib_val): Keep track of further subvalue + relations. + +2022-09-28 Andrea Corallo + + * config/arm/arm-c.cc (arm_cpu_builtins): Define + __ARM_FEATURE_AES and __ARM_FEATURE_SHA2. + +2022-09-28 Xi Ruoyao + + PR tree-optimization/105414 + * config/loongarch/loongarch.md (UNSPEC_FMAX): New unspec. + (UNSPEC_FMIN): Likewise. + (fmax3): Use UNSPEC_FMAX instead of smax. + (fmin3): Use UNSPEC_FMIN instead of smin. + +2022-09-28 Lulu Cheng + + * config/loongarch/loongarch.cc (loongarch_asan_shadow_offset): + Fixed typo in "asan_mapping.h". + +2022-09-28 H.J. Lu + + PR middle-end/58245 + * calls.cc: Include "tree-eh.h". + (expand_call): Check stack canary before throwing exception. + 2022-09-27 Eugene Rozenfeld * ipa-cp.cc (good_cloning_opportunity_p): Fix profile count comparison. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 8830fa8da31..ea4b4d1bd3b 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220928 +20220929 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8d4c6d1b8ee..3f512c6ccde 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,20 @@ +2022-09-28 Eugene Rozenfeld + + * module.cc (write_location): Write discriminator. + (read_location): Read discriminator. + +2022-09-28 Nathan Sidwell + + * cp-tree.h (DECL_NTTP_OBJECT_P): New. + (template_parm_object_p): Delete. + (build_template_parm_object): Declare. + * cxx-pretty-print.cc (pp_cx_template_argument_list): Use DECL_NTTP_OBJECT_P. + * error.cc (dump_simple_decl): Likewise. + * mangle.cc (write_template_arg): Likewise. + * pt.cc (template_parm_object_p): Delete. + (create_template_parm_object): Separated out checking from ... + (get_template_parm_object): ... this, new external entry point. + 2022-09-27 Marek Polacek PR c++/101165 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4aaf795f54e..9007c43f438 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,54 @@ +2022-09-28 Eugene Rozenfeld + + * c-c++-common/ubsan/pr85213.c: Pass -gno-statement-frontiers. + +2022-09-28 H.J. Lu + + PR target/107061 + * gcc.target/i386/keylocker-encodekey128.c: Don't check + XMM4-XMM6. + * gcc.target/i386/keylocker-encodekey256.c: Likewise. + +2022-09-28 Ju-Zhe Zhong + + * gcc.target/riscv/rvv/base/abi-1.c: New test. + * gcc.target/riscv/rvv/base/abi-2.c: New test. + * gcc.target/riscv/rvv/base/abi-3.c: New test. + * gcc.target/riscv/rvv/base/abi-4.c: New test. + * gcc.target/riscv/rvv/base/abi-5.c: New test. + * gcc.target/riscv/rvv/base/abi-6.c: New test. + * gcc.target/riscv/rvv/base/abi-7.c: New test. + * gcc.target/riscv/rvv/rvv.exp: New test. + +2022-09-28 Andrea Corallo + + * gcc.target/arm/attr-crypto.c: Update test. + +2022-09-28 Torbjörn SVENSSON + Yvan ROUX + + * gcc.target/aarch64/advsimd-intrinsics/vld1x2.c: Rephrase + to unimplemented. + * gcc.target/aarch64/advsimd-intrinsics/vld1x3.c: Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vld1x4.c: Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vst1x2.c: Replace + dg-xfail-if with dg-skip-if. + * gcc.target/aarch64/advsimd-intrinsics/vst1x3.c: Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vst1x4.c: Likewise. + +2022-09-28 H.J. Lu + + PR middle-end/58245 + * g++.dg/fstack-protector-strong.C: Adjusted. + * g++.dg/pr58245-1.C: New test. + +2022-09-28 Eugene Rozenfeld + + * gcc.dg/tree-prof/cold_partition_label.c: Don't check for hot/cold splitting with AutoFDO. + * gcc.dg/tree-prof/section-attr-1.c: Don't check for hot/cold splitting with AutoFDO. + * gcc.dg/tree-prof/section-attr-2.c: Don't check for hot/cold splitting with AutoFDO. + * gcc.dg/tree-prof/section-attr-3.c: Don't check for hot/cold splitting with AutoFDO. + 2022-09-27 Marek Polacek PR c++/101165 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index c74efc03505..3b41845eee7 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,28 @@ +2022-09-28 Eugene Rozenfeld + + * include/line-map.h: Add discriminator to location_adhoc_data. + (get_combined_adhoc_loc): Add discriminator parameter. + (get_discriminator_from_adhoc_loc): Add external declaration. + (get_discriminator_from_loc): Add external declaration. + (COMBINE_LOCATION_DATA): Add discriminator parameter. + * lex.cc (get_location_for_byte_range_in_cur_line) Pass 0 discriminator + in a call to COMBINE_LOCATION_DATA. + (warn_about_normalization): Pass 0 discriminator in a call to + COMBINE_LOCATION_DATA. + (_cpp_lex_direct): Pass 0 discriminator in a call to + COMBINE_LOCATION_DATA. + * line-map.cc (location_adhoc_data_hash): Use discriminator compute + location_adhoc_data hash. + (location_adhoc_data_eq): Use discriminator when comparing + location_adhoc_data. + (can_be_stored_compactly_p): Check discriminator to determine + compact storage. + (get_combined_adhoc_loc): Add discriminator parameter. + (get_discriminator_from_adhoc_loc): New function to get the discriminator + from an ad-hoc location. + (get_discriminator_from_loc): New function to get the discriminator + from a location. + 2022-09-27 Jakub Jelinek PR c++/106652 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index a5830a463d9..97ae4b29054 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2022-09-28 Tobias Burnus + + * libgomp.texi (OpenMP 5.1): Mark 'assume' as implemented + for C/C++. Remove duplicated 'begin declare target' entry. + 2022-09-24 Jakub Jelinek PR c/106981 diff --git a/libitm/ChangeLog b/libitm/ChangeLog index 01f6bfa041e..9796ef159ce 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,11 @@ +2022-09-28 Lulu Cheng + Yang Yujie + + * configure.tgt: Add loongarch support. + * config/loongarch/asm.h: New file. + * config/loongarch/sjlj.S: New file. + * config/loongarch/target.h: New file. + 2022-08-31 Martin Liska * configure: Regenerate. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7ed1052536d..a1585d80dfa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,44 @@ +2022-09-28 Jonathan Wakely + + * doc/xml/manual/evolution.xml: Document std::bind API + changes. + * doc/xml/manual/intro.xml: Document LWG 2487 status. + * doc/xml/manual/using.xml: Clarify default value of + _GLIBCXX_USE_DEPRECATED. + * doc/html/*: Regenerate. + * include/std/functional (_Bind::operator()(Args&&...) volatile) + (_Bind::operator()(Args&&...) const volatile) + (_Bind_result::operator()(Args&&...) volatile) + (_Bind_result::operator()(Args&&...) const volatile): Replace + with deleted overload for C++20 and later. + * testsuite/20_util/bind/cv_quals.cc: Check for deprecated + warnings in C++17. + * testsuite/20_util/bind/cv_quals_2.cc: Likewise, and check for + ill-formed in C++20. + +2022-09-28 Jonathan Wakely + + PR libstdc++/70692 + * include/bits/invoke.h [__cplusplus < 201703] (__invoke_r): + Remove is_invocable and is_convertible constraints. + * include/std/type_traits (__is_invocable_impl::_S_conv): Use + non-deduced context for parameter. + (__is_invocable_impl::_S_test): Remove _Check_noex template + parameter and use deduced noexcept value in its place. Add bool + parameter to detect dangling references. + (__is_invocable_impl::type): Adjust call to _S_test to avoid + deducing unnecessary noexcept property.. + (__is_invocable_impl::__nothrow_type): Rename to ... + (__is_invocable_impl::__nothrow_conv): ... this. Adjust call + to _S_test to deduce noexcept property. + * testsuite/20_util/bind/dangling_ref.cc: New test. + * testsuite/20_util/function/cons/70692.cc: New test. + * testsuite/20_util/function_objects/invoke/dangling_ref.cc: + New test. + * testsuite/20_util/is_invocable/dangling_ref.cc: New test. + * testsuite/30_threads/packaged_task/cons/dangling_ref.cc: + New test. + 2022-09-27 Jonathan Wakely PR c++/107049