https://gcc.gnu.org/g:c4e28a43f3ad52d85b88de9b5264b42b639eb64a
commit r16-5524-gc4e28a43f3ad52d85b88de9b5264b42b639eb64a Author: GCC Administrator <[email protected]> Date: Sun Nov 23 00:19:38 2025 +0000 Daily bump. Diff: --- contrib/ChangeLog | 4 ++ gcc/ChangeLog | 51 ++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 7 ++++ gcc/c/ChangeLog | 21 ++++++++++ gcc/cp/ChangeLog | 104 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 97 ++++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 26 ++++++++++++ 8 files changed, 311 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index d3e29ecc5a71..01afa80b8a31 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2025-11-22 Andrew Pinski <[email protected]> + + * gcc-changelog/git_commit.py: Add algol68. + 2025-11-16 Rainer Orth <[email protected]> * make_sunver.pl ($elfdump): Remove ccs from path. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a811b0fd5f83..7bb19080aa98 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,54 @@ +2025-11-22 Jeff Law <[email protected]> + + PR rtl-optimization/122701 + * ext-dce.cc (ext_dce_try_optimize_rshift): Emit a fresh reg->reg + copy rather than modifying the existing right shift. + +2025-11-22 Sandra Loosemore <[email protected]> + + * omp-general.cc (omp_context_selector_matches): Add an optional + bool argument for the code elision case. + * omp-general.h (omp_context_selector_matches): Likewise. + +2025-11-22 Sandra Loosemore <[email protected]> + + * omp-general.cc (omp_mangle_variant_name): New. + (omp_check_for_duplicate_variant): New. + (omp_copy_trait_set): New. + (omp_trait_selectors_equivalent): New. + (omp_combine_trait_sets): New. + (omp_merge_context_selectors): New. + * omp-general.h (omp_mangle_variant_name): Declare. + (omp_check_for_duplicate_variant): Declare. + (omp_merge_context_selectors): Declare. + +2025-11-22 zhaozhou <[email protected]> + + * config/loongarch/loongarch.cc: Extract plus operation. + +2025-11-22 Deng Jianbo <[email protected]> + + * config/loongarch/loongarch.md + (*bstrins_w_for_ior_ashift_and_extend): New template. + (*bstrins_d_for_ior_ashift_and): New template. + * config/loongarch/predicates.md (const_uimm63_operand): New + predicate. + +2025-11-22 zhaozhou <[email protected]> + + * config/loongarch/lsx.md (lsx_vshuf4i_mem_w_0): Add template. + (lsx_vldrepl_merge_w_0): Ditto. + +2025-11-22 Kees Cook <[email protected]> + + * config/aarch64/aarch64-protos.h (aarch64_indirect_branch_asm): + Declare. + * config/aarch64/aarch64.cc (aarch64_indirect_branch_asm): New + function to generate indirect branch with SLS barrier. + * config/aarch64/aarch64.md (*sibcall_insn): Use + aarch64_indirect_branch_asm. + (*sibcall_value_insn): Likewise. + 2025-11-21 Vladimir N. Makarov <[email protected]> PR target/118358 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 5e2abcc58566..aaefa8d123a9 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20251122 +20251123 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index e8c488880939..741c11e634c6 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,10 @@ +2025-11-22 Sandra Loosemore <[email protected]> + Julian Brown <[email protected]> + waffl3x <[email protected]> + + * c-omp.cc (c_omp_directives): Uncomment "begin declare variant" + and "end declare variant". + 2025-11-11 Alejandro Colomar <[email protected]> * c-warn.cc (warn_parms_array_mismatch): Split out body of diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 118421c7f0f7..07472e7202fd 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,24 @@ +2025-11-22 Sandra Loosemore <[email protected]> + Julian Brown <[email protected]> + + * c-decl.cc (current_omp_declare_variant_attribute): Define. + * c-lang.h (struct c_omp_declare_variant_attr): Declare. + (current_omp_declare_variant_attribute): Declare. + * c-parser.cc (struct omp_begin_declare_variant_map_entry): New. + (omp_begin_declare_variant_map): New. + (c_parser_skip_to_pragma_omp_end_declare_variant): New. + (c_parser_translation_unit): Check for "omp begin declare variant" + with no matching "end". Record base functions for variants. + (c_parser_declaration_or_fndef): Handle functions in "omp begin + declare variant" block. + (c_finish_omp_declare_variant): Merge context selectors with + surrounding "omp begin declare variant". + (JOIN_STR): Define. + (omp_start_variant_function): New. + (omp_finish_variant_function): New. + (c_parser_omp_begin): Handle "omp begin declare variant". + (c_parser_omp_end): Likewise. + 2025-11-10 Alejandro Colomar <[email protected]> * c-parser.cc (c_parser_sizeof_expression): Remove function. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1ed37ee7b7bf..aba03f8374d4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,107 @@ +2025-11-22 Nathaniel Shead <[email protected]> + + PR c++/122636 + * module.cc (instantiating_tu_local_entity): Don't check + importingness of originating module decl; also check templates. + +2025-11-22 Nathaniel Shead <[email protected]> + + * constraint.cc (diagnose_trait_expr): + <case CPTK_IS_POINTER_INTERCONVERTIBLE_BASE_OF>: Explain failure + with more detail. + * cp-tree.h (pointer_interconvertible_base_of_p): Add explain + parameter. + * semantics.cc (pointer_interconvertible_base_of_p): Explain why + not. + +2025-11-22 Nathaniel Shead <[email protected]> + + * constraint.cc (diagnose_trait_expr) + <case CPTK_IS_LAYOUT_COMPATIBLE>: Explain why not. + * cp-tree.h (layout_compatible_type_p): Add explain parameter. + * typeck.cc (layout_compatible_type_p): Add explanations when + returning false. + +2025-11-22 Nathaniel Shead <[email protected]> + + * constraint.cc (diagnose_trait_expr) + <case CPTK_HAS_UNIQUE_OBJ_REPRESENTATIONS>: Explain failure with + more detail. + * cp-tree.h (type_has_unique_obj_representations): Add explain + parameter. + * tree.cc (record_has_unique_obj_representations): Explain when + returning false. + (type_has_unique_obj_representations): Likewise. + +2025-11-22 Nathaniel Shead <[email protected]> + + * method.cc (destructible_expr): Add explanation when type is + neither class nor scalar. + +2025-11-22 Nathaniel Shead <[email protected]> + + * constraint.cc (diagnose_trait_expr): Use t2's location for + is_base_of, is_pointer_interconvertible_base_of, and + is_virtual_base_of. + +2025-11-22 Nathaniel Shead <[email protected]> + + * constraint.cc (diagnose_trait_expr): Reset input_location. + +2025-11-22 Nathaniel Shead <[email protected]> + + * typeck.cc (layout_compatible_type_p): Do not check TYPE_SIZE. + +2025-11-22 Sandra Loosemore <[email protected]> + Julian Brown <[email protected]> + waffl3x <[email protected]> + + * cp-tree.h (struct cp_omp_declare_variant_attr): New. + (struct saved_scope): Add omp_declare_variant_attribute field. + * decl.cc (omp_declare_variant_finalize_one): Add logic to inject + "this" parameter for method calls. + * parser.cc (cp_parser_skip_to_pragma_omp_end_declare_variant): New. + (cp_parser_translation_unit): Handle leftover "begin declare variant" + functions. + (omp_start_variant_function): New. + (omp_finish_variant_function): New. + (omp_maybe_record_variant_base): New. + (cp_parser_init_declarator): Handle variant functions. + (cp_parser_class_specifier): Handle deferred lookup of base functions + when the entire class has been seen. + (cp_parser_member_declaration): Handle variant functions. + (cp_finish_omp_declare_variant): Merge context selectors if in + a "begin declare variant" block. + (cp_parser_omp_begin): Match "omp begin declare variant". Adjust + error messages. + (cp_parser_omp_end): Match "omp end declare variant". + * parser.h (struct omp_begin_declare_variant_map_entry): New. + (struct cp_parser): Add omp_begin_declare_variant_map field. + * semantics.cc (finish_translation_unit): Detect unmatched + "omp begin declare variant". + +2025-11-22 Jakub Jelinek <[email protected]> + + PR c++/122788 + * pt.cc (finish_expansion_stmt): Or in TREE_USED and DECL_READ_P + flags from range_decl to decl or from corresponding structured binding + to this_decl. + +2025-11-22 Jakub Jelinek <[email protected]> + + PR c++/122185 + * cp-gimplify.cc (cp_fold) <case CALL_EXPR>: For -ffold-simple-inlines + restore check that both types are INDIRECT_TYPE_P, except for + "to_underlying" check that r has ENUMERAL_TYPE and x has + INTEGRAL_TYPE_P. + +2025-11-22 Daniele Sahebi <[email protected]> + Jakub Jelinek <[email protected]> + + PR c++/122658 + * call.cc (build_over_call): Don't call build_cplus_new in + template declarations. + 2025-11-21 Marek Polacek <[email protected]> PR c++/120529 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 63c3647deb55..ebb818bbb2ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,100 @@ +2025-11-22 Nathaniel Shead <[email protected]> + + PR c++/122636 + * g++.dg/modules/internal-19_a.C: New test. + * g++.dg/modules/internal-19_b.C: New test. + +2025-11-22 Nathaniel Shead <[email protected]> + + * g++.dg/cpp2a/is-pointer-interconvertible-base-of2.C: New test. + +2025-11-22 Nathaniel Shead <[email protected]> + + * g++.dg/cpp2a/is-layout-compatible4.C: New test. + +2025-11-22 Nathaniel Shead <[email protected]> + + * g++.dg/cpp1z/has-unique-obj-representations5.C: New test. + +2025-11-22 Nathaniel Shead <[email protected]> + + * g++.dg/ext/is_destructible3.C: Add test for function type. + +2025-11-22 Nathaniel Shead <[email protected]> + + * g++.dg/ext/is_virtual_base_of_diagnostic2.C: Adjust + diagnostic. + +2025-11-22 Nathaniel Shead <[email protected]> + + * g++.dg/cpp2a/is-layout-compatible3.C: Adjust expected results. + +2025-11-22 Jeff Law <[email protected]> + + PR rtl-optimization/122701 + * gcc.dg/torture/pr122701.c: New test. + +2025-11-22 Sandra Loosemore <[email protected]> + Tobias Burnus <[email protected]> + + * c-c++-common/gomp/delim-declare-variant-1.c: New. + * c-c++-common/gomp/delim-declare-variant-2.c: New. + * c-c++-common/gomp/delim-declare-variant-3.c: New. + * c-c++-common/gomp/delim-declare-variant-4.c: New. + * c-c++-common/gomp/delim-declare-variant-5.c: New. + * c-c++-common/gomp/delim-declare-variant-6.c: New. + * c-c++-common/gomp/delim-declare-variant-7.c: New. + * c-c++-common/gomp/delim-declare-variant-8.c: New. + * c-c++-common/gomp/delim-declare-variant-9.c: New. + +2025-11-22 Sandra Loosemore <[email protected]> + Julian Brown <[email protected]> + waffl3x <[email protected]> + + * g++.dg/gomp/delim-declare-variant-1.C: New. + * g++.dg/gomp/delim-declare-variant-2.C: New. + * g++.dg/gomp/delim-declare-variant-3.C: New. + * g++.dg/gomp/delim-declare-variant-4.C: New. + * g++.dg/gomp/delim-declare-variant-5.C: New. + * g++.dg/gomp/delim-declare-variant-6.C: New. + * g++.dg/gomp/delim-declare-variant-7.C: New. + * g++.dg/gomp/delim-declare-variant-40.C: New. + * g++.dg/gomp/delim-declare-variant-41.C: New. + * g++.dg/gomp/delim-declare-variant-50.C: New. + * g++.dg/gomp/delim-declare-variant-51.C: New. + * g++.dg/gomp/delim-declare-variant-52.C: New. + * g++.dg/gomp/delim-declare-variant-70.C: New. + * g++.dg/gomp/delim-declare-variant-71.C: New. + +2025-11-22 Jakub Jelinek <[email protected]> + + PR c++/122788 + * g++.dg/cpp26/expansion-stmt27.C: New test. + +2025-11-22 Jakub Jelinek <[email protected]> + + PR c++/122185 + * g++.dg/cpp1z/pr122185.C: New test. + +2025-11-22 zhaozhou <[email protected]> + + * gcc.target/loongarch/vector/lasx/lasx-struct-move.c: New test. + +2025-11-22 Deng Jianbo <[email protected]> + + * gcc.target/loongarch/bstrins-5.c: New test. + * gcc.target/loongarch/bstrins-6.c: New test. + +2025-11-22 zhaozhou <[email protected]> + + * gcc.target/loongarch/vector/lsx/lsx-vec-construct-opt.c: + +2025-11-22 Daniele Sahebi <[email protected]> + Jakub Jelinek <[email protected]> + + PR c++/122658 + * g++.dg/cpp2a/consteval42.C: New test. + 2025-11-21 Vladimir N. Makarov <[email protected]> PR target/118358 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 062a75ffcac0..ae35cd2e35e2 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,29 @@ +2025-11-22 Sandra Loosemore <[email protected]> + + * libgomp.texi (OpenMP 5.1): Update "begin declare variant" status. + +2025-11-22 Sandra Loosemore <[email protected]> + Tobias Burnus <[email protected]> + + * testsuite/libgomp.c-c++-common/delim-declare-variant-1.c: New. + * testsuite/libgomp.c-c++-common/delim-declare-variant-2.c: New. + +2025-11-22 Sandra Loosemore <[email protected]> + Julian Brown <[email protected]> + waffl3x <[email protected]> + + * testsuite/libgomp.c++/bdv_module1.C: New. + * testsuite/libgomp.c++/bdv_module1_main.C: New. + * testsuite/libgomp.c++/bdv_module2.C: New. + * testsuite/libgomp.c++/bdv_module2_impl.C: New. + * testsuite/libgomp.c++/bdv_module2_main.C: New. + * testsuite/libgomp.c++/bdv_module3.C: New. + * testsuite/libgomp.c++/bdv_module3_impl.C: New. + * testsuite/libgomp.c++/bdv_module3_main.C: New. + * testsuite/libgomp.c++/delim-declare-variant-1.C: New. + * testsuite/libgomp.c++/delim-declare-variant-2.C: New. + * testsuite/libgomp.c++/delim-declare-variant-7.C: New. + 2025-11-21 Arsen Arsenović <[email protected]> * testsuite/libgomp.oacc-c-c++-common/data-2-lib.c (explanatory
