[gcc r15-5835] Daily bump.

GCC Administrator gccadmin@gcc.gnu.org
Sun Dec 1 00:17:52 GMT 2024


https://gcc.gnu.org/g:ff5e235e120c1746a1587b33cd4fcab535fa7b59

commit r15-5835-gff5e235e120c1746a1587b33cd4fcab535fa7b59
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Sun Dec 1 00:17:14 2024 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 156 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/c-family/ChangeLog  |   7 +++
 gcc/c/ChangeLog         |  11 ++++
 gcc/cp/ChangeLog        |   6 ++
 gcc/testsuite/ChangeLog |  67 +++++++++++++++++++++
 libgcc/ChangeLog        |   7 +++
 libstdc++-v3/ChangeLog  |  38 ++++++++++++
 8 files changed, 293 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3d2e737b13f7..146c4bf03009 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,159 @@
+2024-11-30  Lewis Hyatt  <lhyatt@gmail.com>
+
+	* diagnostic-show-locus.cc
+	(test_one_liner_fixit_validation_adhoc_locations): Adapt so it can
+	effectively test 7-bit ranges instead of 5-bit ranges.
+	(test_one_liner_fixit_validation_adhoc_locations_utf8): Likewise.
+	* input.cc (get_end_location): Adjust types to support 64-bit
+	location_t.
+	(write_digit_row): Likewise.
+	(dump_location_range): Likewise.
+	(dump_location_info): Likewise.
+	(class line_table_case): Likewise.
+	(test_accessing_ordinary_linemaps): Replace some hard-coded
+	constants with the values defined in line-map.h.
+	(for_each_line_table_case): Likewise.
+
+2024-11-30  Lewis Hyatt  <lhyatt@gmail.com>
+
+	* toplev.cc (general_init): Replace hard-coded constant with
+	line_map_suggested_range_bits.
+
+2024-11-30  Lewis Hyatt  <lhyatt@gmail.com>
+
+	* config/aarch64/aarch64-c.cc (aarch64_resolve_overloaded_builtin):
+	Change "unsigned int" argument to "location_t".
+	* config/avr/avr-c.cc (avr_resolve_overloaded_builtin): Likewise.
+	* config/riscv/riscv-c.cc (riscv_resolve_overloaded_builtin): Likewise.
+	* target.def: Likewise.
+	* doc/tm.texi: Regenerate.
+
+2024-11-30  Joseph Myers  <josmyers@redhat.com>
+	    Richard Biener  <rguenther@suse.de>
+
+	PR c/100501
+	PR c/100792
+	* gimplify.cc (gimplify_asm_expr): Handle void expressions for
+	memory inputs like other non-lvalues.
+
+2024-11-30  Mark Harmstone  <mark@harmstone.com>
+
+	* dwarf2codeview.cc (enum cv_sym_type): Add S_INLINESITE and
+	S_INLINESITE_END.
+	(get_func_id): Add declaration.
+	(write_s_inlinesite): New function.
+	(write_inlinesite_records): New function.
+	(write_function): Call write_inlinesite_records.
+
+2024-11-30  Mark Harmstone  <mark@harmstone.com>
+
+	* dwarf2codeview.cc (DEBUG_S_INLINEELINES): Define.
+	(CV_INLINEE_SOURCE_LINE_SIGNATURE): Define.
+	(struct codeview_inlinee_lines): Define.
+	(struct inlinee_lines_hasher): Define.
+	(func_htab, inlinee_lines_htab): New global variables.
+	(get_file_id): New function.
+	(codeview_source_line): Move file_id logic to get_file_id.
+	(write_inlinee_lines_entry): New function.
+	(write_inlinee_lines): New function.
+	(codeview_debug_finish): Call write_inlinee_lines, and free func_htab
+	and inlinee_lines_htab.
+	(get_func_id): New function.
+	(add_function): Move func_id logic to get_func_id.
+	(codeview_abstract_function): New function.
+	* dwarf2codeview.h (codeview_abstract_function): Add declaration.
+	* dwarf2out.cc (dwarf2out_abstract_function): Call
+	codeview_abstract_function if outputting CodeView debug info.
+
+2024-11-30  Mark Harmstone  <mark@harmstone.com>
+
+	* dwarf2codeview.cc (struct codeview_function): Add parent and
+	inline_block fields.
+	(cur_func): New global variable.
+	(new_codeview_function): New function.
+	(codeview_source_line): Call new_codeview_function, and use cur_func
+	instead of last_func.
+	(codeview_begin_block): New function.
+	(codeview_end_block): New function.
+	(write_line_numbers): No longer free data as we go along.
+	(codeview_switch_text_section): Call new_codeview_function, and use
+	cur_func instead of last_func.
+	(codeview_end_epilogue): Use cur_func instead of last_func.
+	(codeview_debug_finish): Free funcs list and its contents.
+	* dwarf2codeview.h (codeview_begin_block): Add declaration.
+	(codeview_end_block): Add declaration.
+	* dwarf2out.cc (dwarf2out_begin_block): Call codeview_begin_block if
+	outputting CodeView debug info.
+	(dwarf2out_end_block): Call codeview_end_block if outputting CodeView
+	debug info.
+
+2024-11-30  Mark Harmstone  <mark@harmstone.com>
+
+	* debug.cc (do_nothing_debug_hooks): Change begin_block
+	function pointer.
+	(debug_nothing_int_int_tree): New function.
+	* debug.h (struct gcc_debug_hooks): Add tree parameter to begin_block.
+	(debug_nothing_int_int_tree): Add declaration.
+	* dwarf2out.cc (dwarf2out_begin_block): Add tree parameter.
+	(dwarf2_lineno_debug_hooks): Use new dummy function for begin_block.
+	* final.cc (final_scan_insn_1): Pass insn block through to
+	debug_hooks->begin_block.
+	* vmsdbgout.cc (vmsdbgout_begin_block): Add tree parameter.
+
+2024-11-30  Georg-Johann Lay  <avr@gjlay.de>
+
+	PR target/84211
+	* config/avr/avr-passes.cc (try_split_any) [SET, MOVW]: Prefer
+	reg=reg move over reg=const when splitting a reg=reg insn.
+
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	PR tree-optimization/117057
+	* tree-ssa-strlen.cc (strlen_pass::count_nonzero_bytes): Punt also
+	when byte_size is equal to offset or nchars.  Punt if offset is bigger
+	than INT_MAX.  Handle vector CONSTRUCTOR with some elements constant,
+	possibly followed by non-constant.
+
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	PR libgomp/117851
+	* lto-wrapper.cc (find_crtoffloadtable): Add PIE_OR_SHARED argument,
+	search for crtoffloadtableS.o rather than crtoffloadtable.o if
+	true.
+	(run_gcc): Add pie_or_shared variable.  If OPT_pie or OPT_shared or
+	OPT_static_pie is seen, set pie_or_shared to true, if OPT_no_pie is
+	seen, set pie_or_shared to false.  Pass it to find_crtoffloadtable.
+
+2024-11-30  Jinyang He  <hejinyang@loongson.cn>
+
+	* config/loongarch/constraints.md (Uuv6, Uuvx): Remove Uuv6,
+	add Uuvx as replicated vector const with unsigned range [0,umax].
+	* config/loongarch/lasx.md (xvsrl, xvsra, xvsll): Mask shift
+	offset by its unit bits.
+	* config/loongarch/lsx.md (vsrl, vsra, vsll): Likewise.
+	* config/loongarch/loongarch-protos.h
+	(loongarch_const_vector_same_int_p): Set default for low and high.
+	* config/loongarch/predicates.md: Replace reg_or_vector_same_uimm6
+	_operand to reg_or_vector_same_uimm_operand.
+
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	PR rtl-optimization/117360
+	* ext-dce.cc (ext_dce_process_sets): Use HOST_WIDE_INT_UC
+	macro instead of ULL suffixed constants.
+	(carry_backpropagate): Likewise.  Use HOST_WIDE_INT_1U instead of
+	1ULL.  Use GET_MODE_BITSIZE (smode) instead of
+	GET_MODE_BITSIZE (mode) and with that avoid having to use
+	known_lt instead of < or use .to_constant ().  Formatting fixes.
+	(case SIGN_EXTEND): Set mode to GET_MODE_INNER (GET_MODE (XEXP (x, 0)))
+	rather than GET_MODE (XEXP (x, 0)) and don't use GET_MODE_INNER (mode).
+	(ext_dce_process_uses): Use HOST_WIDE_INT_UC macro instead of ULL
+	suffixed constants.
+
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	* doc/invoke.texi (-Wdeprecated-variadic-comma-omission): Document.
+
 2024-11-29  David Malcolm  <dmalcolm@redhat.com>
 
 	* Makefile.in: Rename "libdiagnostics" to "libgdiagnostics".
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index fd179292ccd5..8b81eb36155b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20241130
+20241201
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index b7a488fc07a4..8e438ac53ae3 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	* c.opt (Wdeprecated-variadic-comma-omission): New option.
+	* c.opt.urls: Regenerate.
+	* c-opts.cc (c_common_post_options): Default to
+	-Wdeprecated-variadic-comma-omission for C++26 or -Wpedantic.
+
 2024-11-29  Tejas Belagod  <tejas.belagod@arm.com>
 
 	* c-common.cc (convert_vector_to_array_for_subscript): Add
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index dab194be4fb3..6ecadeb6e2a8 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,14 @@
+2024-11-30  Martin Uecker  <uecker@tugraz.at>
+
+	PR c/117806
+	* c-typeck.cc (composite_type_internal): Call decl_attributes.
+
+2024-11-30  Andrew Pinski  <quic_apinski@quicinc.com>
+
+	PR c/117749
+	* gimple-parser.cc (c_parser_gimple_declaration): Check
+	declarator to be non-null.
+
 2024-11-29  Martin Uecker  <uecker@tugraz.at>
 
 	PR c/117828
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 597dda2af4e5..f13face0b728 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,9 @@
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	* parser.cc: Implement C++26 P3176R1 - The Oxford variadic comma.
+	(cp_parser_parameter_declaration_clause): Emit
+	-Wdeprecated-variadic-comma-omission warnings.
+
 2024-11-29  Tejas Belagod  <tejas.belagod@arm.com>
 
 	* decl.cc (reshape_init_array_1): Handle poly indices.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bc78436b47ca..d4245bdebeac 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,70 @@
+2024-11-30  Joseph Myers  <josmyers@redhat.com>
+	    Richard Biener  <rguenther@suse.de>
+
+	PR c/100501
+	PR c/100792
+	* gcc.dg/pr100501-1.c, gcc.dg/pr100792-1.c: New tests.
+	* gcc.dg/pr48552-1.c, gcc.dg/pr48552-2.c,
+	gcc.dg/torture/pr98601.c: Update expected errors.
+
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	PR tree-optimization/117057
+	* gcc.dg/strlenopt-32.c: Remove xfail and vect_slp_v2qi_store_unalign
+	specific scan-tree-dump-times directive.
+	* gcc.dg/strlenopt-96.c: New test.
+
+2024-11-30  Jinyang He  <hejinyang@loongson.cn>
+
+	* gcc.target/loongarch/vector/lasx/lasx-shift-sameimm-vec.c: New test.
+	* gcc.target/loongarch/vector/lsx/lsx-shift-sameimm-vec.c: New test.
+
+2024-11-30  Lulu Cheng  <chenglulu@loongson.cn>
+
+	* gcc.target/loongarch/lasx-andn-iorn.c:
+	Add '-fdump-tree-optimized'.
+	* gcc.target/loongarch/lsx-andn-iorn.c:
+	Likewise.
+
+2024-11-30  Lulu Cheng  <chenglulu@loongson.cn>
+
+	* gcc.target/loongarch/vect-frint-scalar.c: Add
+	'-ffp-int-builtin-inexact'.
+
+2024-11-30  Martin Uecker  <uecker@tugraz.at>
+
+	PR c/117806
+	* gcc.dg/pr117806.c: New test.
+
+2024-11-30  Andrew Pinski  <quic_apinski@quicinc.com>
+
+	PR c/117749
+	* gcc.dg/gimplefe-55.c: New test.
+
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	* g++.dg/cpp26/variadic-comma1.C: New test.
+	* g++.dg/cpp26/variadic-comma2.C: New test.
+	* g++.dg/cpp26/variadic-comma3.C: New test.
+	* g++.dg/cpp26/variadic-comma4.C: New test.
+	* g++.dg/cpp26/variadic-comma5.C: New test.
+	* g++.dg/cpp1z/fold10.C: Expect a warning for C++26.
+	* g++.dg/ext/attrib33.C: Likewise.
+	* g++.dg/cpp1y/lambda-generic-variadic19.C: Likewise.
+	* g++.dg/cpp2a/lambda-generic10.C: Likewise.
+	* g++.dg/cpp0x/lambda/lambda-const3.C: Likewise.
+	* g++.dg/cpp0x/variadic164.C: Likewise.
+	* g++.dg/cpp0x/variadic17.C: Likewise.
+	* g++.dg/cpp0x/udlit-args-neg.C: Likewise.
+	* g++.dg/cpp0x/variadic28.C: Likewise.
+	* g++.dg/cpp0x/gen-attrs-33.C: Likewise.
+	* g++.dg/cpp23/explicit-obj-diagnostics3.C: Likewise.
+	* g++.old-deja/g++.law/operators15.C: Likewise.
+	* g++.old-deja/g++.mike/p811.C: Likewise.
+	* g++.old-deja/g++.mike/p12306.C (printf): Add , before ... .
+	* g++.dg/analyzer/fd-bind-pr107783.C (bind): Likewise.
+	* g++.dg/cpp0x/vt-65790.C (printf): Likewise.
+
 2024-11-29  David Malcolm  <dmalcolm@redhat.com>
 
 	* libdiagnostics.dg/*: Rename to libgdiagnostics.dg, renaming
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 96988a350400..0541bf83ff45 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,10 @@
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	PR libgomp/117851
+	* configure.ac (extra_parts): Add crtoffloadtableS.o.
+	* Makefile.in (crtoffloadtableS$(objext)): New goal.
+	* configure: Regenerated.
+
 2024-11-29  Yury Khrustalev  <yury.khrustalev@arm.com>
 
 	* config/aarch64/aarch64-unwind.h (_CHKFEAT_GCS): Add.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e13cb56d1f14..888f10882af0 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,41 @@
+2024-11-30  Jonathan Wakely  <jwakely@redhat.com>
+
+	PR libstdc++/117858
+	* testsuite/20_util/optional/assignment/117858.cc: Also test
+	assignment from rvalue optional.
+
+2024-11-30  Jonathan Wakely  <jwakely@redhat.com>
+
+	PR libstdc++/117858
+	* include/std/optional (operator=(const optional<U>&)): Fix copy
+	and paste error in constraints.
+	(operator=(optional<U>&&)): Likewise.
+	* testsuite/20_util/optional/assignment/117858.cc: New test.
+
+2024-11-30  Jonathan Wakely  <jwakely@redhat.com>
+
+	* include/Makefile.am: Add bits/monostate.h.
+	* include/Makefile.in: Regenerate.
+	* include/std/utility: Include <bits/monostate.h>.
+	* include/std/variant (monostate, hash<monostate>): Move
+	definitions to ...
+	* include/bits/monostate.h: New file.
+	* testsuite/20_util/headers/utility/synopsis.cc: Add monostate
+	and hash<monostate> declarations.
+	* testsuite/20_util/monostate/requirements.cc: New test.
+
+2024-11-30  Jonathan Wakely  <jwakely@redhat.com>
+
+	* testsuite/20_util/headers/utility/synopsis.cc: Add
+	declarations from C++11 and later.
+
+2024-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	* include/std/functional (_Bind_check_arity): Add , before ... .
+	* include/bits/refwrap.h (_Mem_fn_traits, _Weak_result_type_impl):
+	Likewise.
+	* include/tr1/type_traits (is_function): Likewise.
+
 2024-11-28  Jonathan Wakely  <jwakely@redhat.com>
 
 	* include/std/stacktrace (basic_stacktrace::_M_impl::_M_resize):


More information about the Libstdc++-cvs mailing list