aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog106
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/cp/ChangeLog17
-rw-r--r--gcc/testsuite/ChangeLog51
-rw-r--r--libcpp/ChangeLog25
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libitm/ChangeLog8
-rw-r--r--libstdc++-v3/ChangeLog41
8 files changed, 254 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ce38410..25721e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,109 @@
+2022-09-28 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * 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 <hjl.tools@gmail.com>
+
+ 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 <juzhe.zhong@rivai.ai>
+
+ * 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 <stefansf@linux.ibm.com>
+
+ * var-tracking.cc (vt_add_function_parameter): Add entry values
+ up to maximal register mode.
+
+2022-09-28 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
+
+ * cselib.cc (new_cselib_val): Keep track of further subvalue
+ relations.
+
+2022-09-28 Andrea Corallo <andrea.corallo@arm.com>
+
+ * config/arm/arm-c.cc (arm_cpu_builtins): Define
+ __ARM_FEATURE_AES and __ARM_FEATURE_SHA2.
+
+2022-09-28 Xi Ruoyao <xry111@xry111.site>
+
+ PR tree-optimization/105414
+ * config/loongarch/loongarch.md (UNSPEC_FMAX): New unspec.
+ (UNSPEC_FMIN): Likewise.
+ (fmax<mode>3): Use UNSPEC_FMAX instead of smax.
+ (fmin<mode>3): Use UNSPEC_FMIN instead of smin.
+
+2022-09-28 Lulu Cheng <chenglulu@loongson.cn>
+
+ * config/loongarch/loongarch.cc (loongarch_asan_shadow_offset):
+ Fixed typo in "asan_mapping.h".
+
+2022-09-28 H.J. Lu <hjl.tools@gmail.com>
+
+ PR middle-end/58245
+ * calls.cc: Include "tree-eh.h".
+ (expand_call): Check stack canary before throwing exception.
+
2022-09-27 Eugene Rozenfeld <erozen@microsoft.com>
* ipa-cp.cc (good_cloning_opportunity_p): Fix profile count comparison.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 8830fa8..ea4b4d1 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220928
+20220929
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 8d4c6d1..3f512c6 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,20 @@
+2022-09-28 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * module.cc (write_location): Write discriminator.
+ (read_location): Read discriminator.
+
+2022-09-28 Nathan Sidwell <nathan@acm.org>
+
+ * 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 <polacek@redhat.com>
PR c++/101165
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4aaf795..9007c43 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,54 @@
+2022-09-28 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * c-c++-common/ubsan/pr85213.c: Pass -gno-statement-frontiers.
+
+2022-09-28 H.J. Lu <hjl.tools@gmail.com>
+
+ 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 <juzhe.zhong@rivai.ai>
+
+ * 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 <andrea.corallo@arm.com>
+
+ * gcc.target/arm/attr-crypto.c: Update test.
+
+2022-09-28 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
+ Yvan ROUX <yvan.roux@foss.st.com>
+
+ * 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 <hjl.tools@gmail.com>
+
+ PR middle-end/58245
+ * g++.dg/fstack-protector-strong.C: Adjusted.
+ * g++.dg/pr58245-1.C: New test.
+
+2022-09-28 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * 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 <polacek@redhat.com>
PR c++/101165
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index c74efc0..3b41845 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,28 @@
+2022-09-28 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * 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 <jakub@redhat.com>
PR c++/106652
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index a5830a4..97ae4b2 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2022-09-28 Tobias Burnus <tobias@codesourcery.com>
+
+ * libgomp.texi (OpenMP 5.1): Mark 'assume' as implemented
+ for C/C++. Remove duplicated 'begin declare target' entry.
+
2022-09-24 Jakub Jelinek <jakub@redhat.com>
PR c/106981
diff --git a/libitm/ChangeLog b/libitm/ChangeLog
index 01f6bfa..9796ef1 100644
--- a/libitm/ChangeLog
+++ b/libitm/ChangeLog
@@ -1,3 +1,11 @@
+2022-09-28 Lulu Cheng <chenglulu@loongson.cn>
+ Yang Yujie <yangyujie@loongson.cn>
+
+ * 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 <mliska@suse.cz>
* configure: Regenerate.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 7ed1052..a1585d8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,44 @@
+2022-09-28 Jonathan Wakely <jwakely@redhat.com>
+
+ * 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 <jwakely@redhat.com>
+
+ 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 <jwakely@redhat.com>
PR c++/107049