aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--gcc/ChangeLog175
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/c-family/ChangeLog10
-rw-r--r--gcc/cp/ChangeLog20
-rw-r--r--gcc/m2/ChangeLog7
-rw-r--r--gcc/testsuite/ChangeLog83
-rw-r--r--libgcc/ChangeLog10
9 files changed, 318 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9845720..f78d331 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-01-23 Tobias Burnus <tburnus@baylibre.com>
+
+ * MAINTAINERS: Update my email address.
+
+2024-01-23 Andrew Stubbs <ams@baylibre.com>
+
+ * MAINTAINERS: Update
+
2024-01-16 Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
* Makefile.def: Add a dependency to libgrust for all-gcc.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 86400ea..5c85533 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,178 @@
+2024-01-23 Andrew Pinski <quic_apinski@quicinc.com>
+ Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/100942
+ * ccmp.cc (ccmp_candidate_p): Add outer argument.
+ Allow if the outer is true and the lhs is used more
+ than once.
+ (expand_ccmp_expr): Update call to ccmp_candidate_p.
+ * expr.h (expand_expr_real_gassign): Declare.
+ * expr.cc (expand_expr_real_gassign): New function, split out from...
+ (expand_expr_real_1): ...here.
+ * cfgexpand.cc (expand_gimple_stmt_1): Use expand_expr_real_gassign.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113089
+ * config/aarch64/aarch64-ldp-fusion.cc (reset_debug_use): New.
+ (fixup_debug_use): New.
+ (fixup_debug_uses_trailing_add): New.
+ (fixup_debug_uses): New. Use it ...
+ (ldp_bb_info::fuse_pair): ... here.
+ (try_promote_writeback): Call fixup_debug_uses_trailing_add to
+ fix up debug uses of the base register that are affected by
+ folding in the trailing add insn.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113089
+ * config/aarch64/aarch64-ldp-fusion.cc (ldp_bb_info::fuse_pair):
+ Update trailing nondebug uses of the base register in the case
+ of cancelling writeback.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113089
+ * rtl-ssa/accesses.h (use_info::next_debug_insn_use): New.
+ (debug_insn_use_iterator): New.
+ (set_info::first_debug_insn_use): New.
+ (set_info::debug_insn_uses): New.
+ * rtl-ssa/member-fns.inl (use_info::next_debug_insn_use): New.
+ (set_info::first_debug_insn_use): New.
+ (set_info::debug_insn_uses): New.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113356
+ * config/aarch64/aarch64-ldp-fusion.cc (ldp_bb_info::try_fuse_pair):
+ Don't record hazards against the opposite insn in the pair.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113070
+ * config/aarch64/aarch64-ldp-fusion.cc
+ (struct stp_change_builder): New.
+ (decide_stp_strategy): Reanme to ...
+ (try_repurpose_store): ... this.
+ (ldp_bb_info::fuse_pair): Refactor to use stp_change_builder to
+ construct stp changes. Fix up uses when inserting new stp insns.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113070
+ * rtl-ssa.h: Include hash-set.h.
+ * rtl-ssa/changes.cc (function_info::finalize_new_accesses): Add
+ new_sets parameter and use it to keep track of new user-created sets.
+ (function_info::apply_changes_to_insn): Also call add_def on new sets.
+ (function_info::change_insns): Add hash_set to keep track of new
+ user-created defs. Plumb it through.
+ * rtl-ssa/functions.h: Add hash_set parameter to finalize_new_accesses and
+ apply_changes_to_insn.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113070
+ * rtl-ssa/accesses.cc (function_info::create_use): New.
+ * rtl-ssa/changes.cc (function_info::finalize_new_accesses):
+ Ensure new uses end up referring to permanent defs.
+ * rtl-ssa/functions.h (function_info::create_use): Declare.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113070
+ * rtl-ssa/changes.cc (function_info::change_insns): Split out the call
+ to finalize_new_accesses from the backwards placement loop, run it
+ forwards in a separate loop.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/113552
+ * tree-vect-stmts.cc (vectorizable_simd_clone_call): Use
+ floor_log2 instead of exact_log2 on the number of calls.
+
+2024-01-23 Jeff Law <jlaw@ventanamicro.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ * config/ia64/ia64.cc (ia64_start_function): Add ATTRIBUTE_UNUSED to
+ decl.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg):
+ Separate single and multi-exit case when creating PHIs between
+ the main and epilogue.
+
+2024-01-23 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/112989
+ * config/aarch64/aarch64-sve-builtins-shapes.cc (build_one): Skip
+ MODE_single variants of functions that don't take tuple arguments.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113114
+ * config/aarch64/aarch64-ldp-fusion.cc (try_promote_writeback):
+ Don't assert recog success, just punt if the writeback pair
+ isn't recognized.
+
+2024-01-23 Jakub Jelinek <jakub@redhat.com>
+
+ * config/gcn/gcn.cc (gcn_hsa_declare_function_name): Add
+ ATTRIBUTE_UNUSED to decl.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ PR debug/107058
+ * dwarf2out.cc (dwarf2out_die_ref_for_decl): Gracefully
+ handle unexpected but bogus DIE contexts when not checking
+ enabled.
+
+2024-01-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113462
+ * fold-const.cc (native_interpret_int): Don't punt if total_bytes
+ is larger than HOST_BITS_PER_DOUBLE_INT / BITS_PER_UNIT.
+ (fold_view_convert_expr): Use XALLOCAVEC buffers for types with
+ sizes between 129 and 8192 bytes.
+
+2024-01-23 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/loongarch.cc (loongarch_explicit_relocs_p):
+ If la_opt_explicit_relocs is EXPLICIT_RELOCS_AUTO, return false
+ for SYMBOL_TLS_LDM and SYMBOL_TLS_GD.
+ (loongarch_call_tls_get_addr): Do not split symbols of
+ SYMBOL_TLS_LDM or SYMBOL_TLS_GD if la_opt_explicit_relocs is
+ EXPLICIT_RELOCS_AUTO.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ * alias.cc (known_base_value_p): Remove.
+ (find_base_value): Remove PLUS/MINUS handling
+ when both operands are not CONST_INT_P.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ PR rtl-optimization/113255
+ * alias.cc (find_base_term): Remove PLUS/MINUS handling
+ when both operands are not CONST_INT_P.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ PR debug/112718
+ * dwarf2out.cc (dwarf2out_finish): Reset all type units
+ for the fat part of an LTO compile.
+
+2024-01-23 chenxiaolong <chenxiaolong@loongson.cn>
+
+ * doc/sourcebuild.texi: Add attributes for keywords.
+
+2024-01-23 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR c++/90463
+ * doc/invoke.texi (Warning Options): Correct lists of options
+ enabled by -Wall and -Wextra by checking against common.opt
+ and c-family/c.opt.
+
2024-01-22 Andrew Pinski <quic_apinski@quicinc.com>
PR target/113030
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index d34258b..c9eb603 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240123
+20240124
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 3ca92dc..694b255 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2024-01-23 Ronan Desplanques <desplanques@adacore.com>
+
+ * gnatvsn.ads: Update year.
+
2024-01-09 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Array_Type>: Use the
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 6038d47..74a96a9 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,13 @@
+2024-01-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/113518
+ * c-common.cc (atomic_bitint_fetch_using_cas_loop): Call c_fully_fold
+ on lhs_addr, val and model for C.
+
+2024-01-23 Sandra Loosemore <sandra@codesourcery.com>
+
+ * c.opt: Improve sorting of warning options.
+
2024-01-16 Eric Botcazou <ebotcazou@adacore.com>
PR ada/113397
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 92aee9a..74979da 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,23 @@
+2024-01-23 Marek Polacek <polacek@redhat.com>
+
+ PR c++/113256
+ PR c++/111607
+ PR c++/109640
+ * call.cc (do_warn_dangling_reference): Don't warn if the temporary
+ is of lambda type.
+
+2024-01-23 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/112820
+ PR c++/102607
+ * module.cc (trees_out::lang_type_bools): Write interface_only
+ and interface_unknown.
+ (trees_in::lang_type_bools): Read the above flags.
+ (trees_in::decl_value): Reset CLASSTYPE_INTERFACE_* except for
+ extern templates.
+ (trees_in::read_class_def): Remove buggy extern template
+ handling.
+
2024-01-19 Jason Merrill <jason@redhat.com>
PR c++/113498
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 8777af7..ab3f14e 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,10 @@
+2024-01-23 H.J. Lu <hjl.tools@gmail.com>
+
+ PR bootstrap/113554
+ * mc/mc.flex (alloca): Don't redefine.
+ (handleDate): Replace (long *)0 with (time_t *)0 when calling
+ time.
+
2024-01-19 Gaius Mulley <gaiusmod2@gmail.com>
* gm2-compiler/M2BasicBlock.mod (InitBasicBlocks): Rename
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a17b112..503ea2c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,86 @@
+2024-01-23 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ * g++.dg/modules/pr113292_c.C: Require TLS.
+
+2024-01-23 Marek Polacek <polacek@redhat.com>
+
+ PR c++/113256
+ PR c++/111607
+ PR c++/109640
+ * g++.dg/warn/Wdangling-reference14.C: New test.
+ * g++.dg/warn/Wdangling-reference15.C: New test.
+ * g++.dg/warn/Wdangling-reference16.C: New test.
+
+2024-01-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/113518
+ * gcc.dg/bitint-77.c: New test.
+
+2024-01-23 Andrew Pinski <quic_apinski@quicinc.com>
+ Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/100942
+ * gcc.target/aarch64/ccmp_3.c: New test.
+ * gcc.target/aarch64/ccmp_4.c: New test.
+ * gcc.target/aarch64/ccmp_5.c: New test.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113089
+ * gcc.c-torture/compile/pr113089.c: New test.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113356
+ * gcc.target/aarch64/pr113356.C: New test.
+
+2024-01-23 Xi Ruoyao <xry111@xry111.site>
+
+ * g++.target/loongarch/got-load.C (dg-options): Add
+ -fno-stack-protector.
+
+2024-01-23 H.J. Lu <(no_default)>
+
+ PR rtl-optimization/113255
+ * gcc.dg/torture/pr113255.c (dg-additional-options): Add only
+ if not ia32.
+
+2024-01-23 Alex Coplan <alex.coplan@arm.com>
+
+ PR target/113114
+ * gcc.c-torture/compile/pr113114.c: New test.
+ * gcc.target/aarch64/pr113114.c: New test.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ PR debug/107058
+ * c-c++-common/pr107058.c: New testcase.
+
+2024-01-23 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/112820
+ PR c++/102607
+ * g++.dg/modules/debug-2_a.C: New test.
+ * g++.dg/modules/debug-2_b.C: New test.
+ * g++.dg/modules/debug-2_c.C: New test.
+ * g++.dg/modules/debug-3_a.C: New test.
+ * g++.dg/modules/debug-3_b.C: New test.
+
+2024-01-23 Xi Ruoyao <xry111@xry111.site>
+
+ * gcc.target/loongarch/explicit-relocs-auto-tls-ld-gd.c: Check
+ for la.tls.ld and la.tls.gd.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ PR rtl-optimization/113255
+ * gcc.dg/torture/pr113255.c: New testcase.
+
+2024-01-23 Richard Biener <rguenther@suse.de>
+
+ PR debug/112718
+ * gcc.dg/debug/pr112718.c: New testcase.
+
2024-01-22 Marek Polacek <polacek@redhat.com>
PR c++/109642
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 9799de1..6829d05 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,13 @@
+2024-01-23 Zac Walker <zacwalker@microsoft.com>
+
+ * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
+ (ENTRY_ALIGN, GNU_PROPERTY): New macros.
+ * config/aarch64/__arm_sme_state.S: Use them.
+ * config/aarch64/__arm_tpidr2_save.S: Likewise.
+ * config/aarch64/__arm_za_disable.S: Likewise.
+ * config/aarch64/crti.S: Likewise.
+ * config/aarch64/lse.S: Likewise.
+
2024-01-12 Jakub Jelinek <jakub@redhat.com>
* libgcc2.h (UBILtype): New typedef with may_alias attribute.