aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog106
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/cp/ChangeLog17
-rw-r--r--gcc/testsuite/ChangeLog51
4 files changed, 175 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