aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gcc/ChangeLog55
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog43
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/cp/ChangeLog11
-rw-r--r--gcc/rust/ChangeLog4
-rw-r--r--gcc/testsuite/ChangeLog27
-rw-r--r--libcpp/ChangeLog11
9 files changed, 161 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b146c53da1..cb426cbadc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-19 Lewis Hyatt <lhyatt@gmail.com>
+
+ * Makefile.in: Regenerate.
+ * Makefile.tpl: Add dependency on site.exp to check-gcc-* targets
+
2023-11-18 Petter Tomner <tomner@bahnhof.se>
* MAINTAINERS: Update my email address.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 67906ac3ad8..89a1782f4ca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,58 @@
+2023-11-19 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * config/riscv/riscv-v.cc (emit_vlmax_insn_lra): Optimize constant AVL.
+
+2023-11-19 Philipp Tomsich <philipp.tomsich@vrull.eu>
+
+ * config/riscv/riscv-protos.h (extract_base_offset_in_addr): Prototype.
+ * config/riscv/riscv.cc (riscv_fusion_pairs): New enum.
+ (riscv_tune_param): Add fusible_ops field.
+ (riscv_tune_param_rocket_tune_info): Initialize new field.
+ (riscv_tune_param_sifive_7_tune_info): Likewise.
+ (thead_c906_tune_info): Likewise.
+ (generic_oo_tune_info): Likewise.
+ (optimize_size_tune_info): Likewise.
+ (riscv_macro_fusion_p): New function.
+ (riscv_fusion_enabled_p): Likewise.
+ (riscv_macro_fusion_pair_p): Likewise.
+ (TARGET_SCHED_MACRO_FUSION_P): Define.
+ (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
+ (extract_base_offset_in_addr): Moved into riscv.cc from...
+ * config/riscv/thead.cc: Here.
+ Co-authored-by: Raphael Zinsly <rzinsly@ventanamicro.com>
+ Co-authored-by: Jeff Law <jlaw@ventanamicro.com>
+
+2023-11-19 Jeff Law <jlaw@ventanamicro.com>
+
+ * config/c6x/c6x.md (mvilc): Add mode to UNSPEC source.
+ * config/mips/mips.md (rdhwr_synci_step_<mode>): Likewise.
+ * config/riscv/riscv.md (riscv_frcsr, riscv_frflags): Likewise.
+ * config/s390/s390.md (@split_stack_call<mode>): Likewise.
+ (@split_stack_cond_call<mode>): Likewise.
+ * config/sh/sh.md (sp_switch_1): Likewise.
+
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ * diagnostic.h: Include "rich-location.h".
+ * edit-context.h (class fixit_hint): New forward decl.
+ * gcc-rich-location.h: Include "rich-location.h".
+ * genmatch.cc: Likewise.
+ * pretty-print.h: Likewise.
+
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ * Makefile.in (CPPLIB_H): Add libcpp/include/rich-location.h.
+ * coretypes.h (class rich_location): New forward decl.
+
+2023-11-19 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * config/riscv/riscv-v.cc (expand_tuple_move): Fix bug.
+
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/107573
+ * doc/invoke.texi: Add -Wanalyzer-undefined-behavior-strtok.
+
2023-11-18 Xi Ruoyao <xry111@xry111.site>
* config/loongarch/predicates.md (const_call_insn_operand):
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 6ce2b650d7b..8bf6a025def 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20231119
+20231120
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index e92c518cb36..bab9e5475e9 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,46 @@
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ * analyzer.h: Include "rich-location.h".
+
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/107573
+ * analyzer.h (register_known_functions): Add region_model_manager
+ param.
+ * analyzer.opt (Wanalyzer-undefined-behavior-strtok): New.
+ * call-summary.cc
+ (call_summary_replay::convert_region_from_summary_1): Handle
+ RK_PRIVATE.
+ * engine.cc (impl_run_checkers): Pass model manager to
+ register_known_functions.
+ * kf.cc (class undefined_function_behavior): New.
+ (class kf_strtok): New.
+ (register_known_functions): Add region_model_manager param.
+ Use it to register "strtok".
+ * region-model-manager.cc
+ (region_model_manager::get_or_create_conjured_svalue): Add "idx"
+ param.
+ * region-model-manager.h
+ (region_model_manager::get_or_create_conjured_svalue): Add "idx"
+ param.
+ (region_model_manager::get_root_region): New accessor.
+ * region-model.cc (region_model::scan_for_null_terminator): Handle
+ "expr" being null.
+ (region_model::get_representative_path_var_1): Handle RK_PRIVATE.
+ * region-model.h (region_model::called_from_main_p): Make public.
+ * region.cc (region::get_memory_space): Handle RK_PRIVATE.
+ (region::can_have_initial_svalue_p): Handle MEMSPACE_PRIVATE.
+ (private_region::dump_to_pp): New.
+ * region.h (MEMSPACE_PRIVATE): New.
+ (RK_PRIVATE): New.
+ (class private_region): New.
+ (is_a_helper <const private_region *>::test): New.
+ * store.cc (store::replay_call_summary_cluster): Handle
+ RK_PRIVATE.
+ * svalue.h (struct conjured_svalue::key_t): Add "idx" param to
+ ctor and "m_idx" field.
+ (class conjured_svalue::conjured_svalue): Likewise.
+
2023-11-18 David Malcolm <dmalcolm@redhat.com>
PR analyzer/106147
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index ed26f97e588..b9fbc4da421 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,7 @@
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ * c-lex.cc: Include "rich-location.h".
+
2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* c-cppbuiltin.cc (c_cpp_builtins): Define
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 1feb5b38d48..b5b1f184e09 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,14 @@
+2023-11-19 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/99187
+ * cp-tree.h (enum cp_tree_index): Add CPTI_THREAD_ATEXIT.
+ (thread_atexit_node): New.
+ * decl.cc (get_thread_atexit_node): Cache in thread_atexit_node.
+
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ * mapper-client.cc: Include "rich-location.h".
+
2023-11-16 Jakub Jelinek <jakub@redhat.com>
PR c++/112365
diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog
index 186ff4cb27e..f942a8f5887 100644
--- a/gcc/rust/ChangeLog
+++ b/gcc/rust/ChangeLog
@@ -1,3 +1,7 @@
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ * rust-location.h: Include "rich-location.h".
+
2023-10-20 Patrick Palka <ppalka@redhat.com>
PR rust/111899
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 53e7e89de79..6fa4ecd4373 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,30 @@
+2023-11-19 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * gcc.target/riscv/rvv/autovec/post-ra-avl.c: New test.
+
+2023-11-19 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/99187
+ * g++.dg/modules/pr99187.C: New test.
+
+2023-11-19 David Edelsohn <dje.gcc@gmail.com>
+
+ * lib/target-supports.exp (add_options_for___float128): Only add
+ -mfloat128 to powerpc*-*-linux*.
+
+2023-11-19 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * gcc.target/riscv/rvv/autovec/pr112561.c: New test.
+
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/107573
+ * c-c++-common/analyzer/strtok-1.c: New test.
+ * c-c++-common/analyzer/strtok-2.c: New test.
+ * c-c++-common/analyzer/strtok-3.c: New test.
+ * c-c++-common/analyzer/strtok-4.c: New test.
+ * c-c++-common/analyzer/strtok-cppreference.c: New test.
+
2023-11-18 Xi Ruoyao <xry111@xry111.site>
* gcc.target/loongarch/div-div32.c: New test.
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 5247b809190..2c5adca8d30 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,14 @@
+2023-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ * Makefile.in (TAGS_SOURCES): Add "include/rich-location.h".
+ * include/cpplib.h (class rich_location): New forward decl.
+ * include/line-map.h (class range_label)
+ (enum range_display_kind, struct location_range)
+ (class semi_embedded_vec, class rich_location, class label_text)
+ (class range_label, class fixit_hint): Move to...
+ * include/rich-location.h: ...this new file.
+ * internal.h: Include "rich-location.h".
+
2023-11-14 Jakub Jelinek <jakub@redhat.com>
* makeucnid.cc (write_copyright): Update copyright year.