[gcc r14-9378] Daily bump.

GCC Administrator gccadmin@gcc.gnu.org
Fri Mar 8 00:18:12 GMT 2024


https://gcc.gnu.org/g:1e74c758a2cf7abf4e501aa0feae31b747c40c7e

commit r14-9378-g1e74c758a2cf7abf4e501aa0feae31b747c40c7e
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Fri Mar 8 00:17:33 2024 +0000

    Daily bump.

Diff:
---
 contrib/ChangeLog       |   4 ++
 gcc/ChangeLog           |  69 ++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/ada/ChangeLog       |   6 +++
 gcc/analyzer/ChangeLog  |   9 +++++
 gcc/cp/ChangeLog        |  66 ++++++++++++++++++++++++++++++
 gcc/m2/ChangeLog        |  22 ++++++++++
 gcc/testsuite/ChangeLog | 104 ++++++++++++++++++++++++++++++++++++++++++++++++
 libgfortran/ChangeLog   |  13 ++++++
 libstdc++-v3/ChangeLog  |  70 ++++++++++++++++++++++++++++++++
 10 files changed, 364 insertions(+), 1 deletion(-)

diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 47b44cb9870..4b980b7519c 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2024-03-07  Filip Kastl  <fkastl@suse.cz>
+
+	* test_mklog.py: "Moved to..." -> "Move to..."
+
 2024-03-01  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
 
 	* mklog.py: Use present tense in ChangeLog.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b9b55d955ea..0c3b96eab71 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,72 @@
+2024-03-07  Wilco Dijkstra  <wilco.dijkstra@arm.com>
+
+	PR target/113618
+	* config/aarch64/aarch64.cc (aarch64_copy_one_block): Remove.
+	(aarch64_expand_cpymem): Emit single load/store only.
+	(aarch64_set_one_block): Emit single stores only.
+
+2024-03-07  Robin Dapp  <rdapp@ventanamicro.com>
+
+	PR middle-end/114196
+	* tree-vect-loop-manip.cc (vect_can_peel_nonlinear_iv_p): Merge
+	vectorization guards.
+
+2024-03-07  Jonathan Wakely  <jwakely@redhat.com>
+
+	* doc/cppopts.texi: Remove incorrect claim about -dD not
+	outputting predefined macros.
+
+2024-03-07  Jeevitha Palanisamy  <jeevitha@linux.ibm.com>
+
+	PR target/113950
+	* config/rs6000/vsx.md (vsx_splat_<mode>): Correct assignment to operand1
+	and simplify else if with else.
+
+2024-03-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+	* system.h: Include safe-ctype.h after C++ standard headers.
+
+2024-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR rtl-optimization/110079
+	* bb-reorder.cc (fix_crossing_unconditional_branches): Don't adjust
+	asm goto.
+
+2024-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/105533
+	* expmed.cc (choose_mult_variant): Only try the val - 1 variant
+	if val is not HOST_WIDE_INT_MIN or if mode has exactly
+	HOST_BITS_PER_WIDE_INT precision.  Avoid triggering UB while computing
+	val - 1.
+
+2024-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/105533
+	* tree-ssa-sccvn.cc (ao_ref_init_from_vn_reference) <case ARRAY_REF>:
+	Multiple op->off by BITS_PER_UNIT instead of shifting it left by
+	LOG2_BITS_PER_UNIT.
+
+2024-03-07  Yang Yujie  <yangyujie@loongson.cn>
+
+	* config.gcc: Add a case for loongarch*-*-linux-musl*.
+	* config/loongarch/linux.h: Disable the multilib-compatible
+	treatment for *musl* targets.
+	* config/loongarch/musl.h: New file.
+
+2024-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR tree-optimization/114009
+	* genmatch.cc (decision_tree::gen): Emit ARG_UNUSED for captures
+	argument even for GENERIC, not just for GIMPLE.
+	* match.pd (a * !a -> 0): New simplifications.
+
+2024-03-07  demin.han  <demin.han@starfivetech.com>
+
+	* config/riscv/riscv-protos.h (expand_vec_cmp): Change proto
+	* config/riscv/riscv-v.cc (expand_vec_cmp): Use default arguments
+	(expand_vec_cmp_float): Adapt arguments
+
 2024-03-06  Uros Bizjak  <ubizjak@gmail.com>
 
 	PR target/114232
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 8b3f474f4cc..e8af66d0ce0 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240307
+20240308
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index dd8a85d704b..86acfbbf3e5 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,9 @@
+2024-03-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+	PR ada/113979
+	* exp_ch4.adb (Expand_N_Allocator): In the subtype indication case,
+	call Apply_Predicate_Check on the resulting access value if needed.
+
 2024-02-26  Eric Botcazou  <ebotcazou@adacore.com>
 
 	PR ada/113893
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 49824f0044a..22a54e5332e 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,12 @@
+2024-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	* access-diagram.cc: Include diagnostic-core.h before including
+	diagnostic.h or diagnostic-path.h.
+	* sm-malloc.cc: Likewise.
+	* diagnostic-manager.cc: Likewise.
+	* call-summary.cc: Likewise.
+	* record-layout.cc: Likewise.
+
 2024-02-29  David Malcolm  <dmalcolm@redhat.com>
 
 	PR analyzer/114159
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index fbf3739eb95..93673ae1b94 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,69 @@
+2024-03-07  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/114229
+	* module.cc (trees_out::core_bools): Redetermine
+	DECL_INTERFACE_KNOWN on stream-in for vtables and tinfo.
+	* decl2.cc (import_export_decl): Add fixme for ABI changes with
+	module vtables and tinfo.
+
+2024-03-07  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/103994
+	* cp-tree.h (add_mergeable_specialization): Remove second
+	parameter.
+	* module.cc (depset::disc_bits::DB_ALIAS_TMPL_INST_BIT): Remove.
+	(depset::disc_bits::DB_ALIAS_SPEC_BIT): Remove.
+	(depset::is_alias_tmpl_inst): Remove.
+	(depset::is_alias): Remove.
+	(merge_kind::MK_tmpl_alias_mask): Remove.
+	(merge_kind::MK_alias_spec): Remove.
+	(merge_kind_name): Remove entries for alias specializations.
+	(trees_out::core_vals) <case TEMPLATE_DECL>: Adjust after
+	removing is_alias_tmpl_inst.
+	(trees_in::decl_value): Adjust add_mergeable_specialization
+	calls.
+	(trees_out::get_merge_kind) <case depset::EK_SPECIALIZATION>:
+	Use MK_decl_spec for alias template specializations.
+	(trees_out::key_mergeable): Simplify after MK_tmpl_alias_mask
+	removal.
+	(depset::hash::make_dependency): Adjust after removing
+	DB_ALIAS_TMPL_INST_BIT.
+	(specialization_add): Don't allow alias templates when !decl_p.
+	(depset::hash::add_specializations): Remove now-dead code
+	accomodating alias template specializations in the type table.
+	* pt.cc (lookup_template_class): Dispatch early to
+	instantiate_alias_template for alias templates.  Simplify
+	accordingly.
+	(add_mergeable_specialization): Remove alias_p parameter and
+	simplify accordingly.
+
+2024-03-07  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/110730
+	PR c++/105512
+	* module.cc (module_state::write_namespaces): Stream the
+	abi_tag attribute of an inline namespace.
+	(module_state::read_namespaces): Likewise.
+
+2024-03-07  Marek Polacek  <polacek@redhat.com>
+
+	PR c++/110031
+	* pt.cc (lookup_and_finish_template_variable): Pass complain to
+	mark_used.
+
+2024-03-07  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/98356
+	* typeck2.cc (cxx_incomplete_type_diagnostic): Don't assume
+	'member' will be a FUNCTION_DECL (or something like it).
+
+2024-03-07  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/98881
+	* module.cc (trees_out::tpl_parms_fini): Stream out DECL_CONTEXT
+	for template template parameters.
+	(trees_in::tpl_parms_fini): Read it.
+
 2024-03-06  Marek Polacek  <polacek@redhat.com>
 
 	PR c++/114114
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 95188be48b3..6ea1c647f15 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,25 @@
+2024-03-07  Gaius Mulley  <gaiusmod2@gmail.com>
+
+	PR modula2/109969
+	* gm2-compiler/M2LexBuf.def (TokenToLineNo): Rename parameter.
+	(TokenToColumnNo): Rename parameter.
+	(TokenToLocation): Rename parameter.
+	(FindFileNameFromToken): Rename parameter.
+	(DumpTokens): Rewrite comment.
+	* gm2-compiler/M2LexBuf.mod: Rewrite.
+	* gm2-compiler/P0SyntaxCheck.bnf (CheckInsertCandidate):
+	DumpTokens before and after inserting recovery token.
+	* gm2-gcc/m2builtins.cc (do_target_support_exists): Add
+	bf_c99_compl case.
+	* gm2-libs/Indexing.def (InitIndexTuned): New procedure
+	function.
+	(IsEmpty): New procedure function.
+	* gm2-libs/Indexing.mod (InitIndexTuned): New procedure
+	function.
+	(IsEmpty): New procedure function.
+	(Index): New field GrowFactor.
+	(PutIndice): Use GrowFactor to extend dynamic array.
+
 2024-03-04  Gaius Mulley  <gaiusmod2@gmail.com>
 
 	PR modula2/114227
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ea1865922e2..d9118b2bda9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,107 @@
+2024-03-07  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/114229
+	* g++.dg/modules/virt-2_b.C: Update test to acknowledge that we
+	now emit vtables here too.
+	* g++.dg/modules/virt-3_a.C: New test.
+	* g++.dg/modules/virt-3_b.C: New test.
+	* g++.dg/modules/virt-3_c.C: New test.
+	* g++.dg/modules/virt-3_d.C: New test.
+
+2024-03-07  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/103994
+	* g++.dg/modules/pr99425-1_b.H: s/alias/decl in dump scan.
+	* g++.dg/modules/tpl-alias-1_a.H: Likewise.
+	* g++.dg/modules/tpl-alias-2_a.H: New test.
+	* g++.dg/modules/tpl-alias-2_b.C: New test.
+
+2024-03-07  Wilco Dijkstra  <wilco.dijkstra@arm.com>
+
+	PR target/113618
+	* gcc.target/aarch64/pr113618.c: New test.
+
+2024-03-07  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/110730
+	PR c++/105512
+	* g++.dg/modules/hello-2_a.C: New test.
+	* g++.dg/modules/hello-2_b.C: New test.
+	* g++.dg/modules/namespace-6_a.H: New test.
+	* g++.dg/modules/namespace-6_b.C: New test.
+
+2024-03-07  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+	PR target/114233
+	* lib/target-supports.exp: Fix test for C++.
+
+2024-03-07  Robin Dapp  <rdapp@ventanamicro.com>
+
+	* gcc.target/aarch64/pr114196.c: New test.
+	* gcc.target/riscv/rvv/autovec/pr114196.c: New test.
+
+2024-03-07  Marek Polacek  <polacek@redhat.com>
+
+	PR c++/110031
+	* g++.dg/cpp1z/inline-var11.C: New test.
+
+2024-03-07  Jeevitha Palanisamy  <jeevitha@linux.ibm.com>
+
+	PR target/113950
+	* gcc.target/powerpc/pr113950.c: New testcase.
+
+2024-03-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* gnat.dg/predicate15.adb: New test.
+
+2024-03-07  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/98356
+	* g++.dg/pr98356.C: New test.
+
+2024-03-07  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+	PR c++/98881
+	* g++.dg/modules/tpl-tpl-parm-3.h: New test.
+	* g++.dg/modules/tpl-tpl-parm-3_a.H: New test.
+	* g++.dg/modules/tpl-tpl-parm-3_b.C: New test.
+	* g++.dg/modules/tpl-tpl-parm-3_c.C: New test.
+
+2024-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR rtl-optimization/110079
+	* gcc.dg/pr110079.c: New test.
+
+2024-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/105533
+	* gcc.dg/pr105533.c: New test.
+
+2024-03-07  chenxiaolong  <chenxiaolong@loongson.cn>
+
+	* gcc.target/loongarch/vector/lasx/lasx-xvfrint_s.c: Replace
+	ASSERTEQ_64 with the macro ASSERTEQ_32.
+	* gcc.target/loongarch/vector/lasx/lasx-xvshuf_b.c: Modify the expected
+	test results of some functions according to the function of the vector
+	instruction.
+	* gcc.target/loongarch/vector/lsx/lsx-vfrint_s.c: Same
+	modification as lasx-xvfrint_s.c.
+	* gcc.target/loongarch/vector/lsx/lsx-vshuf.c: Same
+	modification as lasx-xvshuf_b.c.
+	* gcc.target/loongarch/vector/simd_correctness_check.h: Use the llabs()
+	function instead of abs() to check the correctness of the results.
+
+2024-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR tree-optimization/114009
+	* gcc.dg/tree-ssa/pr114009.c: New test.
+
+2024-03-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+	PR libfortran/105456
+	* gfortran.dg/pr105456.f90: Revise using '%' characters
+	in users error message.
+
 2024-03-06  Robin Dapp  <rdapp@ventanamicro.com>
 
 	* gcc.target/riscv/rvv/autovec/pr114200.c: New test.
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index e62cc0f3415..897a43ad5ff 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,16 @@
+2024-03-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+	PR libfortran/105456
+	* io/list_read.c (list_formatted_read_scalar): Use fstrcpy
+	from libgfortran/runtime/string.c to replace snprintf.
+	(nml_read_obj): Likewise.
+	* io/transfer.c (unformatted_read): Likewise.
+	(unformatted_write): Likewise.
+	(formatted_transfer_scalar_read): Likewise.
+	(formatted_transfer_scalar_write): Likewise.
+	* io/write.c (list_formatted_write_scalar): Likewise.
+	(nml_write_obj): Likewise.
+
 2024-03-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
 	PR libfortran/105456
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a305046a34e..3ed4b0fc3a1 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,73 @@
+2024-03-07  Jonathan Wakely  <jwakely@redhat.com>
+
+	* include/bits/chrono_io.h (_Parser::operator()): Use
+	std::from_chars to parse fractional seconds.
+
+2024-03-07  Jonathan Wakely  <jwakely@redhat.com>
+
+	PR libstdc++/114244
+	* include/bits/chrono_io.h (_Parser::operator()): Remove
+	redundant uses of duration_cast. Use chrono::round to convert
+	long double value to durations with integer representations.
+	Check represenation type when deciding whether to skip parsing
+	fractional seconds.
+	* testsuite/20_util/duration/114244.cc: New test.
+	* testsuite/20_util/duration/io.cc: Check that a floating-point
+	duration with ratio<1> precision can be parsed.
+
+2024-03-07  Jonathan Wakely  <jwakely@redhat.com>
+
+	PR libstdc++/114103
+	* include/bits/version.def (atomic_lock_free_type_aliases): Add
+	extra_cond to check for at least one always-lock-free type.
+	* include/bits/version.h: Regenerate.
+	* include/std/atomic (atomic_signed_lock_free)
+	(atomic_unsigned_lock_free): Only use always-lock-free types.
+	* src/c++20/tzdb.cc (time_zone::_Impl::RulesCounter): Don't use
+	atomic counter if lock-free aliases aren't available.
+	* testsuite/29_atomics/atomic/lock_free_aliases.cc: XFAIL for
+	targets without lock-free word-size compare_exchange.
+
+2024-03-07  Jonathan Wakely  <jwakely@redhat.com>
+
+	* include/std/chrono (__get_leap_second_info): Update expiry
+	time for hardcoded list of leap seconds.
+	* testsuite/std/time/tzdb/leap_seconds.cc: Update comment.
+
+2024-03-07  Jonathan Wakely  <jwakely@redhat.com>
+
+	* testsuite/23_containers/deque/allocator/default_init.cc: Use
+	std::memset instead of __builtin_memset.
+	* testsuite/23_containers/forward_list/allocator/default_init.cc:
+	Likewise.
+	* testsuite/23_containers/list/allocator/default_init.cc:
+	Likewise.
+	* testsuite/23_containers/map/allocator/default_init.cc:
+	Likewise.
+	* testsuite/23_containers/set/allocator/default_init.cc:
+	Likewise.
+	* testsuite/23_containers/unordered_map/allocator/default_init.cc:
+	Likewise.
+	* testsuite/23_containers/unordered_set/allocator/default_init.cc:
+	Likewise.
+	* testsuite/23_containers/vector/allocator/default_init.cc:
+	Likewise.
+	* testsuite/23_containers/vector/bool/allocator/default_init.cc:
+	Likewise.
+	* testsuite/29_atomics/atomic/compare_exchange_padding.cc:
+	Likewise.
+	* testsuite/util/atomic/wait_notify_util.h: Likewise.
+
+2024-03-07  Jonathan Wakely  <jwakely@redhat.com>
+
+	* include/std/format (_Arg_store::_S_make_elt): Add two
+	static_assert checks to give more user-friendly error messages.
+	* testsuite/lib/prune.exp (libstdc++-dg-prune): Prune another
+	form of "in requirements with" note.
+	* testsuite/std/format/arguments/args_neg.cc: Check for
+	user-friendly diagnostics for non-formattable types.
+	* testsuite/std/format/string_neg.cc: Likewise.
+
 2024-03-04  Jonathan Wakely  <jwakely@redhat.com>
 
 	PR libstdc++/114147


More information about the Libstdc++-cvs mailing list