https://gcc.gnu.org/g:8a620edb125542987c78982280da706e61dd383d
commit r17-1908-g8a620edb125542987c78982280da706e61dd383d Author: GCC Administrator <[email protected]> Date: Fri Jun 26 00:16:54 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 266 +++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cobol/ChangeLog | 12 ++ gcc/cp/ChangeLog | 11 ++ gcc/objcp/ChangeLog | 4 + gcc/rust/ChangeLog | 433 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 211 +++++++++++++++++++++++ libgcobol/ChangeLog | 21 +++ libgfortran/ChangeLog | 13 ++ libgomp/ChangeLog | 24 +++ libstdc++-v3/ChangeLog | 158 ++++++++++++++++++ 11 files changed, 1154 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdda11dc95d2..336492664a18 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,269 @@ +2026-06-25 Jeff Law <[email protected]> + + * config/riscv/riscv.md (seq_sne_qi): Mark name for debugging purposes + only. + +2026-06-25 Peter Bergner <[email protected]> + + PR target/87466 + * config/riscv/riscv.cc (TARGET_SETJMP_PRESERVES_NONVOLATILE_REGS_P): + Define. + +2026-06-25 Manjunath Matti <[email protected]> + + * config/rs6000/predicates.md (const_0_to_6_operand): New predicate. + * config/rs6000/rs6000-builtins.def (__builtin_vsx_xxmulmul): Add new + builtin definitions under [future] stanza. + (__builtin_vsx_xxmulmulhiadd): Likewise. + (__builtin_vsx_xxmulmulloadd): Likewise. + (__builtin_vsx_xxssumudm): Likewise. + (__builtin_vsx_xxssumudmc): Likewise. + (__builtin_vsx_xxssumudmcext): Likewise. + (__builtin_vsx_xsaddadduqm): Likewise. + (__builtin_vsx_xsaddaddsuqm): Likewise. + (__builtin_vsx_xsaddsubuqm): Likewise. + (__builtin_vsx_xsaddsubsuqm): Likewise. + (__builtin_vsx_xsmerge2t1uqm): Likewise. + (__builtin_vsx_xsmerge2t2uqm): Likewise. + (__builtin_vsx_xsmerge2t3uqm): Likewise. + (__builtin_vsx_xsmerge3t1uqm): Likewise. + (__builtin_vsx_xsrebase2t1uqm): Likewise. + (__builtin_vsx_xsrebase2t2uqm): Likewise. + (__builtin_vsx_xsrebase2t3uqm): Likewise. + (__builtin_vsx_xsrebase2t4uqm): Likewise. + (__builtin_vsx_xsrebase3t1uqm): Likewise. + (__builtin_vsx_xsrebase3t2uqm): Likewise. + (__builtin_vsx_xsrebase3t3uqm): Likewise. + * config/rs6000/vsx.md (UNSPEC_XXMULMUL): Add UNSPEC entry. + (UNSPEC_XXMULMULHIADD): Likewise. + (UNSPEC_XXMULMULLOADD): Likewise. + (UNSPEC_XXSSUMUDM): Likewise. + (UNSPEC_XXSSUMUDMC): Likewise. + (UNSPEC_XXSSUMUDMCEXT): Likewise. + (UNSPEC_XSADDADDUQM): Likewise. + (UNSPEC_XSADDADDSUQM): Likewise. + (UNSPEC_XSADDSUBUQM): Likewise. + (UNSPEC_XSADDSUBSUQM): Likewise. + (UNSPEC_XSMERGE2T1UQM): Likewise. + (UNSPEC_XSMERGE2T2UQM): Likewise. + (UNSPEC_XSMERGE2T3UQM): Likewise. + (UNSPEC_XSMERGE3T1UQM): Likewise. + (UNSPEC_XSREBASE2T1UQM): Likewise. + (UNSPEC_XSREBASE2T2UQM): Likewise. + (UNSPEC_XSREBASE2T3UQM): Likewise. + (UNSPEC_XSREBASE2T4UQM): Likewise. + (UNSPEC_XSREBASE3T1UQM): Likewise. + (UNSPEC_XSREBASE3T2UQM): Likewise. + (UNSPEC_XSREBASE3T3UQM): Likewise. + (vsx_xxmulmul): New define_insn. + (vsx_xxmulmulhiadd): Likewise. + (vsx_xxmulmulloadd): Likewise. + (vsx_xxssumudm): Likewise. + (vsx_xxssumudmc): Likewise. + (vsx_xxssumudmcext): Likewise. + (vsx_xsaddadduqm): Likewise. + (vsx_xsaddaddsuqm): Likewise. + (vsx_xsaddsubuqm): Likewise. + (vsx_xsaddsubsuqm): Likewise. + (vsx_xsmerge2t1uqm): Likewise. + (vsx_xsmerge2t2uqm): Likewise. + (vsx_xsmerge2t3uqm): Likewise. + (vsx_xsmerge3t1uqm): Likewise. + (vsx_xsrebase2t1uqm): Likewise. + (vsx_xsrebase2t2uqm): Likewise. + (vsx_xsrebase2t3uqm): Likewise. + (vsx_xsrebase2t4uqm): Likewise. + (vsx_xsrebase3t1uqm): Likewise. + (vsx_xsrebase3t2uqm): Likewise. + (vsx_xsrebase3t3uqm): Likewise. + * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Add + documentation for ECC cryptography builtins available on + future ISA. + +2026-06-25 Milan Tripkovic <[email protected]> + Jeff Law <[email protected]> + + PR target/123884 + PR target/106585 + * config/riscv/bitmanip.md: Add new splits for single bit manipulation + cases followed by a sign extension. + +2026-06-25 Jeff Law <[email protected]> + Daniel Barboza <[email protected]> + + PR target/124019 + * config/riscv/riscv.md (seq_sne_qi): New define_insn_and_split. + +2026-06-25 Konstantinos Eleftheriou <[email protected]> + + PR tree-optimization/102793 + * tree-ssa-ifcombine.cc (bb_guards_loop_p): New function. + (ifcombine_ifandif): Use it to avoid combining the conditions + guarding a loop. + * tree-ssa-tail-merge.cc: Include tree-ssa-ifcombine.h and + tree-ssa.h. + (ifcombine_candidate_bbs): New static bitmap. + (apply_clusters): Collect the merged block's predecessors as + ifcombine candidates. + (tail_merge_optimize): Run tree_ssa_ifcombine_bb on the candidates; + return TODO_cleanup_cfg when it changed the CFG. + +2026-06-25 Konstantinos Eleftheriou <[email protected]> + + * gimple-predicate-analysis.cc (get_pred_info_from_cond_edge): + New function. + (predicate::init_from_control_deps): Use it. + (predicate::drop_conjuncts_implied_by): New method. + (uninit_analysis::is_use_guarded): Retry the superset test + after relaxing the definition predicate by the maybe-undef + edge conditions. + * gimple-predicate-analysis.h (class predicate): Declare + drop_conjuncts_implied_by. + +2026-06-25 Konstantinos Eleftheriou <[email protected]> + + * tree-ssa-ifcombine.cc: Include tree-ssa-ifcombine.h. + (recognize_if_then_else): Removed 'static'. + (tree_ssa_ifcombine_bb): Removed 'static'. + * tree-ssa-ifcombine.h: New file. + +2026-06-25 Richard Biener <[email protected]> + + PR middle-end/125977 + * cfgexpand.cc (pass_expand::execute): Guard ranger use + on optimize. + +2026-06-25 Artemiy Volkov <[email protected]> + + PR target/125716 + * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Add + (?w,r) alternative for VSUB64 types. + +2026-06-25 Xi Ruoyao <[email protected]> + + Revert: + 2026-06-25 Xi Ruoyao <[email protected]> + + PR target/125077 + * config/mips/predicates.md (ssp_gp_operand): New + define_predicate. + (ssp_operand): New define_predicate. + (ssp_normal_operand): New define_predicate. + * config/mips/constraints.md (ZA): New define_constraint. + (ZB): New define_constraint. + * config/mips/mips.md (UNSPEC_SSP): New unspec. + (UNSPEC_SSP_GP): New unspec. + (cbranch<mode>4): Add '@' to generate the helper function taking + mode as a parameter. + (@stack_protect_combined_set_normal_<mode>): New define_insn. + (stack_protect_combined_set_abs64): New define_insn. + (@stack_protect_combined_test_internal_<mode>): New define_insn. + (stack_protect_combined_set): New define_expand. + (stack_protect_combined_test): New define_expand. + * config/mips/mips-protos.h (mips_canary_expose_gp_use): + Declare. + (mips_output_asm_load_canary): Declare. + * config/mips/mips.cc (mips_small_data_pattern_1): Don't rewrite + GP-relative symbol wrapped in UNSPEC_SSP_GP. + (mips_canary_expose_gp_use): Implement. + (mips_output_asm_load_canary): Implement. + (mips_print_operand): Allow 'w' to print d/w for DImode/SImode. + +2026-06-25 Xi Ruoyao <[email protected]> + + PR target/125628 + * config/mips/sync.md (sync_old_<optab><mode>): Fix + uninitialized operand use. + (sync_new_<optab><mode>): Fix uninitialized operand use, use the + same expression for the set source of operand 0 and 1. + +2026-06-25 Xi Ruoyao <[email protected]> + + PR target/125077 + * config/mips/predicates.md (ssp_gp_operand): New + define_predicate. + (ssp_operand): New define_predicate. + (ssp_normal_operand): New define_predicate. + * config/mips/constraints.md (ZA): New define_constraint. + (ZB): New define_constraint. + * config/mips/mips.md (UNSPEC_SSP): New unspec. + (UNSPEC_SSP_GP): New unspec. + (cbranch<mode>4): Add '@' to generate the helper function taking + mode as a parameter. + (@stack_protect_combined_set_normal_<mode>): New define_insn. + (stack_protect_combined_set_abs64): New define_insn. + (@stack_protect_combined_test_internal_<mode>): New define_insn. + (stack_protect_combined_set): New define_expand. + (stack_protect_combined_test): New define_expand. + * config/mips/mips-protos.h (mips_canary_expose_gp_use): + Declare. + (mips_output_asm_load_canary): Declare. + * config/mips/mips.cc (mips_small_data_pattern_1): Don't rewrite + GP-relative symbol wrapped in UNSPEC_SSP_GP. + (mips_canary_expose_gp_use): Implement. + (mips_output_asm_load_canary): Implement. + (mips_print_operand): Allow 'w' to print d/w for DImode/SImode. + +2026-06-25 Richard Biener <[email protected]> + + * target.def (reassociation_width): Use default_reassociation_width. + * targhooks.h (default_reassociation_width): Declare. + * targhooks.cc (default_reassociation_width): Define. + +2026-06-25 Richard Biener <[email protected]> + + PR tree-optimization/125953 + * gimple-range.cc (gimple_ranger::range_of_expr): Document. + Fall back to global ranges if 'stmt' is not in the IL. + +2026-06-25 Richard Biener <[email protected]> + + * tree-vect-patterns.cc (vect_recog_divmod_pattern): Pass + the division stmt as context for the range query on op0. + Use the active ranger. + +2026-06-25 Richard Biener <[email protected]> + + * coretypes.h (enum tree_code): Declare. + * tree-core.h (enum tree_code): Adjust. + * target.def (reassociation_width): Get a tree_code instead + of unsigned int. + * doc/tm.texi: Regenerate. + * genmatch.cc (enum tree_code): Adjust. + * gimple-loop-versioning.cc (address_info_hasher::hash): Likewise. + * config/aarch64/aarch64.cc (aarch64_reassociation_width): + Likewise. + * config/loongarch/loongarch.cc + (loongarch_cpu_sched_reassociation_width): Likewise. + * config/mips/mips.cc (mips_sched_reassociation_width): Likewise. + * config/rs6000/rs6000.cc (rs6000_reassociation_width): Likewise. + * config/i386/i386.cc (ix86_reassociation_width): Likewise + and fix bogus compares. + +2026-06-25 Martin Uecker <[email protected]> + + * doc/extend.texi (Constructing Calls): Document + __builtin_call_static_chain and __builtin_call_code_address + and update __builtin_call_with_static_chain. + (Nested Functions): Update. + +2026-06-25 Martin Uecker <[email protected]> + + * builtins.def (BUILT_IN_CALL_CODE_ADDRESS, + BUILT_IN_CALL_STATIC_CHAIN): New. + * builtins.cc (expand_builtin): Emit errors for invalid uses. + (is_simple_builtin): Add new built-in functions. + * gimple-fold.cc (gimple_fold_builtin_call_info): New function. + (gimple_fold_builtin): Expand new built-ins for non-nested functions. + * tree-nested.cc (convert_tramp_reference_stmt): Ingore new built-ins. + (convert_gimple_call): Expand built-ins for nested functions. + * tree-inline.cc (initialize_inlined_parameters): Set a missing + static chain to NULL. + +2026-06-25 Jan Beulich <[email protected]> + + * config/riscv/arch-canonicalize: Avoid f"..." strings. + 2026-06-24 Oleg Tolmatcev <[email protected]> * config/i386/prfchwintrin.h (_m_prefetchw): Take diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 155841997d62..29656a8522bf 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260625 +20260626 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 69da64703645..8ddee6e1c064 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,15 @@ +2026-06-25 Robert Dubner <[email protected]> + + * gengen.cc (gg_abs): Use fold_build1(). + * genutil.cc (scale_and_round): Remove function. + (round_this_value): New function for rounding. + * genutil.h (scale_and_round): Remove function. + (round_this_value): New declaration. + * move.cc (cobol_wider_type_with_x_signedness): New function. + (mh_binary_to_numdisp): Faster routine. + (mh_binary_to_packed): Faster routine. + (move_helper): Use the faster routines. + 2026-06-24 James K. Lowden <[email protected]> * parse.y: Modify grammar to accept list of intrinic function tokens. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6c57b618b4ab..210bea501748 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,14 @@ +2026-06-25 Marek Polacek <[email protected]> + + PR c++/125922 + * parser.cc (cp_parser_reflect_expression): Temporarily set + parser->type_definition_forbidden_message. + +2026-06-25 Richard Biener <[email protected]> + + * module.cc (trees_out::decl_value): Adjust for enum class + tree_code. + 2026-06-24 Marek Polacek <[email protected]> PR c++/125939 diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index bb81b5af8d81..6540bb0bb714 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,7 @@ +2026-06-25 Iain Sandoe <[email protected]> + + * Make-lang.in: Test in parallel with up to 6 instances. + 2025-06-12 Jakub Jelinek <[email protected]> * objcp-decl.h (TYPE_OBJC_INFO): Define to info.objc_info diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index 444ec4398b3b..5ba10b5c3c3a 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,436 @@ +2026-06-25 Enes Cevik <[email protected]> + + * Make-lang.in: Add rust-hir-type-check-intrinsic.o. + * typecheck/rust-hir-type-check-implitem.cc + (TypeCheckTopLevelExternItem::visit): Check intrinsic signature. + * typecheck/rust-hir-type-check-intrinsic.cc: New file. + * typecheck/rust-hir-type-check-intrinsic.h: New file. + +2026-06-25 Enes Cevik <[email protected]> + + * backend/rust-builtins.cc + (BuiltinsContext::register_rust_mappings): Use Values::Intrinsics + constants instead of raw strings. + * util/rust-intrinsic-values.h (class Intrinsics): Add missing + builtin intrinsics. + +2026-06-25 Enes Cevik <[email protected]> + + * backend/rust-compile-intrinsic.cc (generic_intrinsics): Add + min_align_of to map. + * backend/rust-intrinsic-handlers.cc (min_align_of_handler): + New function. + * backend/rust-intrinsic-handlers.h (min_align_of_handler): + New declaration. + +2026-06-25 Arthur Cohen <[email protected]> + + * typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path): Add + special casing for resolving to the builtin type definition if the found type + has the same name and is a module. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-name-resolution-context.hxx: Remove hacks. + +2026-06-25 Arthur Cohen <[email protected]> + + * util/rust-hir-map.cc (Mappings::insert_module_id): New function. + (Mappings::is_module): Likewise. + * util/rust-hir-map.h: Store a set of AST modules, declare functions for adding and + retrieving them. + * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit): Insert modules in the type + namespace and store them in mappings. + * resolve/rust-late-name-resolver-2.0.cc (resolve_type_path_like): Error out when an + expected type resolves to a module. + * resolve/rust-name-resolution.h: Add empty Definition constructor. + * resolve/rust-resolve-builtins.cc (find_builtin_node_id): New function. + * resolve/rust-resolve-builtins.h: Declare it. + +2026-06-25 Yap Zhi Heng <[email protected]> + + * resolve/rust-name-resolution-context.h (NameResolutionContext): Add new function + definition for `should_search_prelude`. + * resolve/rust-name-resolution-context.hxx (NameResolutionContext::should_search_prelude): + Add implementation. + (NameResolutionContext::resolve_segments): Update the check to trigger lang_prelude search + during name resolution in modules. + +2026-06-25 Lishin <[email protected]> + + * backend/rust-compile-context.h: Include + rust-compile-drop-candidate.h instead of rust-compile-drop.h. + * backend/rust-compile-drop.cc: Add copyright header. + (CompileDrop::compile_drop_call): Assert that Drop lookup returns a + single function candidate. + * backend/rust-compile-drop.h: Add copyright header. Include + rust-compile-context.h. + (RUST_COMPILE_DROP): Rename to... + (RUST_COMPILE_DROP_H): ...this. + (DropCandidate): Move to... + * backend/rust-compile-drop-candidate.h: ...this new file. + +2026-06-25 lishin <[email protected]> + + * backend/rust-compile-base.cc (HIRCompileBase::compile_function_body): + Add drop calls at the end of function bodies. + +2026-06-25 Lishin <[email protected]> + + * Make-lang.in: Add rust-compile-drop.o. + * backend/rust-compile-block.cc (compile_drop_call): Move to CompileDrop. + (CompileBlock::visit): Use CompileDrop to emit scope drop calls. + * backend/rust-compile-context.h (struct DropCandidate): Move to rust-compile-drop.h. + * backend/rust-compile-pattern.cc (type_has_drop_impl): Move to CompileDrop. + (CompilePatternLet::visit): Use CompileDrop to check Drop impls. + * backend/rust-compile-drop.cc: New file. + * backend/rust-compile-drop.h: New file. + +2026-06-25 lishin <[email protected]> + + * backend/rust-compile-pattern.cc (CompilePatternLet::visit): Check ref + pattern base types and emit a sorry for unsupported Drop ref/subpatterns. + +2026-06-25 lishin <[email protected]> + + * backend/rust-compile-block.cc (compile_drop_call): New helper to + build a drop call. + (CompileBlock::visit): Add drop calls for candidates. + * backend/rust-compile-pattern.cc (type_has_drop_impl): New helper to + check whether a type implements Drop. + (CompilePatternLet::visit): Save initialized simple drop candidates. + +2026-06-25 lishin <[email protected]> + + * backend/rust-compile-context.h (struct DropCandidate): New struct + for tracking block-local drop candidates. + +2026-06-25 Enes Cevik <[email protected]> + + * backend/rust-compile-base.cc (HIRCompileBase::setup_fndecl): Dispatch the new + attributes. + (HIRCompileBase::handle_rustc_allocator_on_fndecl): New function. + (HIRCompileBase::handle_rustc_allocator_nounwind_on_fndecl): New function. + * backend/rust-compile-base.h (handle_rustc_allocator_on_fndecl): New declaration. + (handle_rustc_allocator_nounwind_on_fndecl): Likewise. + * util/rust-attribute-values.h (Attributes): Add RUSTC_ALLOCATOR and + RUSTC_ALLOCATOR_NOUNWIND constexprs. + * util/rust-attributes.cc (__definitions): Register rustc_allocator and + rustc_allocator_nounwind in the BuiltinAttributes list. + * checks/errors/rust-builtin-attribute-checker.cc (rustc_allocator): New function. + (rustc_allocator_nounwind): New function. + (attribute_checking_handlers): Add rustc_allocator and rustc_allocator_nounwind + functions. + +2026-06-25 Enes Cevik <[email protected]> + + * backend/rust-compile-base.cc (should_mangle_item): Bypass + mangling for rustc_std_internal_symbol. + (HIRCompileBase::setup_fndecl): Dispatch the new attribute. + (HIRCompileBase::handle_rustc_std_internal_symbol_attribute_on_fndecl): + New function. + * backend/rust-compile-base.h: + (handle_rustc_std_internal_symbol_attribute_on_fndecl): New declaration. + * util/rust-attribute-values.h (Attributes): Add + RUSTC_STD_INTERNAL_SYMBOL constexpr. + * util/rust-attributes.cc (__definitions): Register + rustc_std_internal_symbol in the BuiltinAttributes list. + * checks/errors/rust-builtin-attribute-checker.cc (rustc_std_internal_symbol): + New function. + (attribute_checking_handlers): Add rustc_std_internal_symbol function. + +2026-06-25 Enes Cevik <[email protected]> + + * backend/rust-compile-base.cc (HIRCompileBase::setup_fndecl): + Remove reduntant as_string calls. + +2026-06-25 Pierre-Emmanuel Patry <[email protected]> + + * lex/rust-lex.cc (Lexer::parse_decimal_int_or_float): Prevent use + after move. + +2026-06-25 Arthur Cohen <[email protected]> + + * backend/rust-compile-expr.cc (CompileExpr::visit): Call the new name. + (CompileExpr::lookup_temp_var): Rename it to... + (CompileExpr::lookup_label_temp_var): ...this. + * backend/rust-compile-expr.h: Likewise. + +2026-06-25 Arthur Cohen <[email protected]> + + * checks/errors/rust-unsafe-checker.cc (UnsafeChecker::visit): Add Types as a + namespace in which to lookup PathInExpressions. + +2026-06-25 Arthur Cohen <[email protected]> + + * checks/errors/privacy/rust-privacy-reporter.cc + (PrivacyReporter::check_for_privacy_violation): Add new overload for two namespaces. + (PrivacyReporter::visit): Call it. + (PrivacyReporter::check_violation_inner): New function. + * checks/errors/privacy/rust-privacy-reporter.h: Declare it. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-finalized-name-resolution-context.cc + (FinalizedNameResolutionContext::lookup): New function. + * resolve/rust-finalized-name-resolution-context.h: Declare it. + * resolve/rust-name-resolution-context.cc (NameResolutionContext::lookup): New function. + * resolve/rust-name-resolution-context.h: Declare it. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-early-name-resolver-2.0.cc (Early::finalize_simple_import): Cleanup + dead code. + (Early::finalize_rebind_import): Likewise. + * resolve/rust-finalized-name-resolution-context.h: Add class documentation. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-forever-stack.h: Comment out flatten with an explanation. + * resolve/rust-forever-stack.hxx: Likewise. + * resolve/rust-name-resolution-context.cc (NameResolutionContext::flatten): Likewise. + * resolve/rust-name-resolution-context.h: Likewise. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-early-name-resolver-2.0.cc + (Early::finalize_rebind_import): Remove locus variable. + +2026-06-25 Enes Cevik <[email protected]> + + * checks/lints/rust-lint-marklive.cc (MarkLive::visit_path_segment): Add Types namespace + lookup. + * checks/lints/unused/rust-unused-checker.cc (UnusedChecker::visit): Use safe optional + unwrapping. + * checks/lints/unused/rust-unused-collector.cc (UnusedCollector::visit): Likewise. + * checks/lints/unused/rust-unused-collector.h: Use helper for multiple namespace lookups. + * resolve/rust-early-name-resolver-2.0.cc (Early::finalize_simple_import): Prevent ICE on + single self imports. + (Early::finalize_rebind_import): Return early to prevent ICE. + * resolve/rust-name-resolution-context.hxx: Use value_or for safe leaf module lookup. + * rust-session-manager.cc (Session::compile_crate): Remove obsolete flatten() calls. + * typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): Look up enum variants + in Types namespace. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-early-name-resolver-2.0.cc (Early::try_insert_once): Use new + Usage -> Definition map for macros. + * resolve/rust-finalized-name-resolution-context.cc + (FinalizedNameResolutionContext::map_usage): Dispatch to proper resolution map. + * resolve/rust-forever-stack.h (enum class LookupFinalizeError): Move here. + * resolve/rust-forever-stack.hxx: Make resolution take a resolve_segment lambda with + an extra namespace parameter. + * resolve/rust-name-resolution-context.hxx: Likewise. + * resolve/rust-name-resolution-context.cc (find_leaf_definition_inner): Move here... + (NameResolutionContext::find_leaf_definition): Likewise. + (NameResolutionContext::flatten): Likewise. + * resolve/rust-name-resolution-context.h: ...from here. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-early-name-resolver-2.0.h: Properly insert resolutions in + the returned vector as that was previously missing. + +2026-06-25 Arthur Cohen <[email protected]> + + * checks/lints/rust-lint-marklive.cc (MarkLive::find_value_definition): Use Types NS + alongside Values NS for lookup. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-finalized-name-resolution-context.cc + (FinalizedNameResolutionContext::lookup): New function. + * resolve/rust-finalized-name-resolution-context.h: Declare it. + * resolve/rust-forever-stack.h: Remove assertion in map_usage. + * resolve/rust-name-resolution-context.h: Add new NSLookup return type. + * resolve/rust-name-resolution-context.cc (NameResolutionContext::lookup): Use it. + * typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::resolve_root_path): Likewise. + +2026-06-25 Arthur Cohen <[email protected]> + + * backend/rust-compile-implitem.cc (CompileTraitItem::visit): Adapt for new NR APIs. + * backend/rust-compile-item.cc (CompileItem::visit): Likewise. + * backend/rust-compile-resolve-path.cc (ResolvePathRef::resolve): Likewise. + * checks/errors/borrowck/rust-bir-builder-internal.h: Likewise. + * checks/errors/privacy/rust-privacy-reporter.cc + (PrivacyReporter::check_for_privacy_violation): Likewise. + (PrivacyReporter::check_base_type_privacy): Likewise. + (PrivacyReporter::visit): Likewise. + * checks/errors/privacy/rust-privacy-reporter.h: Likewise. + * checks/errors/privacy/rust-visibility-resolver.cc + (VisibilityResolver::resolve_module_path): Likewise. + * checks/errors/rust-const-checker.cc (ConstChecker::visit): Likewise. + * checks/errors/rust-hir-pattern-analysis.cc (PatternChecker::visit): Likewise. + * checks/errors/rust-readonly-check.cc (ReadonlyChecker::visit): Likewise. + * checks/errors/rust-unsafe-checker.cc (UnsafeChecker::visit): Likewise. + * checks/lints/rust-lint-marklive.cc (MarkLive::visit): Likewise. + (MarkLive::visit_path_segment): Likewise. + (MarkLive::find_ref_node_id): Likewise. + (MarkLive::find_value_definition): Likewise. + * checks/lints/rust-lint-marklive.h: Likewise. + * checks/lints/unused/rust-unused-checker.cc (UnusedChecker::visit): Likewise. + * checks/lints/unused/rust-unused-collector.cc (UnusedCollector::visit): Likewise. + * checks/lints/unused/rust-unused-collector.h: Likewise. + * resolve/rust-early-name-resolver-2.0.cc (Early::resolve_glob_import): Likewise. + (Early::resolve_rebind_import): Likewise. + (Early::visit): Likewise. + (Early::visit_derive_attribute): Likewise. + (Early::visit_non_builtin_attribute): Likewise. + (Early::finalize_simple_import): Likewise. + (Early::finalize_rebind_import): Likewise. + * resolve/rust-early-name-resolver-2.0.h: Likewise. + * resolve/rust-finalized-name-resolution-context.cc + (FinalizedNameResolutionContext::map_usage): Likewise. + (FinalizedNameResolutionContext::lookup): Likewise. + (FinalizedNameResolutionContext::to_canonical_path): Likewise. + * resolve/rust-finalized-name-resolution-context.h: Likewise. + * resolve/rust-forever-stack.h: Likewise. + * resolve/rust-late-name-resolver-2.0.cc (visit_identifier_as_pattern): Likewise. + (Late::visit): Likewise. + (Late::resolve_label): Likewise. + (resolve_type_path_like): Likewise. + * resolve/rust-name-resolution-context.cc + (CanonicalPathRecordCrateRoot::as_path): Likewise. + (CanonicalPathRecordNormal::as_path): Likewise. + (CanonicalPathRecordLookup::as_path): Likewise. + (CanonicalPathRecordImpl::as_path): Likewise. + (CanonicalPathRecordTraitImpl::as_path): Likewise. + (NameResolutionContext::map_usage): Likewise. + (NameResolutionContext::lookup): Likewise. + * resolve/rust-name-resolution-context.h: Likewise. + * typecheck/rust-hir-trait-resolve.cc (TraitResolver::resolve_path_to_trait): Likewise. + * typecheck/rust-hir-type-check-enumitem.cc (TypeCheckEnumItem::visit): Likewise. + * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Likewise. + (TypeCheckExpr::resolve_fn_trait_call): Likewise. + * typecheck/rust-hir-type-check-implitem.cc (TypeCheckImplItem::visit): Likewise. + * typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit): Likewise. + * typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::visit): Likewise. + (TypeCheckExpr::resolve_root_path): Likewise. + (TypeCheckExpr::resolve_segments): Likewise. + * typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): Likewise. + * typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path): Likewise. + (ResolveWhereClauseItem::visit): Likewise. + * typecheck/rust-hir-type-check.cc (TraitItemReference::get_type_from_fn): Likewise. + * typecheck/rust-type-util.cc (query_type): Likewise. + * backend/rust-compile-expr.h (CompileExpr::resolve_nodeid): Likewise. + * backend/rust-compile-expr.cc (CompileExpr::visit): Likewise. + (CompileExpr::lookup_label): Likewise. + (CompileExpr::lookup_temp_var): Likewise. + (CompileExpr::resolve_NodeId): Likewise, and rename to... + (CompileExpr::resolve_nodeid): ...this. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-early-name-resolver-2.0.cc (Early::insert_once): Rename... + (Early::try_insert_once): ...to this, and improve logic. + (Early::go): Use new API. + (Early::visit): Likewise. + (Early::finalize_simple_import): Likewise. + (Early::finalize_rebind_import): Likewise. + * resolve/rust-early-name-resolver-2.0.h: Declare the new API. + +2026-06-25 Arthur Cohen <[email protected]> + + * rust-session-manager.cc (Session::compile_crate): Call nr_ctx.flatten() + +2026-06-25 Arthur Cohen <[email protected]> + + * Make-lang.in: Rename. + * backend/rust-compile-base.cc: Use new name and API. + * backend/rust-compile-context.h: Likewise. + * backend/rust-compile-expr.cc (CompileExpr::visit): Likewise. + (CompileExpr::generate_closure_function): Likewise. + * backend/rust-compile-implitem.cc (CompileTraitItem::visit): Likewise. + * backend/rust-compile-item.cc (CompileItem::visit): Likewise. + * backend/rust-compile-resolve-path.cc (ResolvePathRef::resolve): Likewise. + * checks/errors/borrowck/rust-bir-builder-internal.h (struct BuilderContext): Likewise. + * checks/errors/privacy/rust-privacy-check.cc (Resolver::resolve): Likewise. + * checks/errors/privacy/rust-privacy-reporter.cc: Likewise. + * checks/errors/privacy/rust-privacy-reporter.h: Likewise. + * checks/errors/privacy/rust-visibility-resolver.cc: Likewise. + * checks/errors/privacy/rust-visibility-resolver.h: Likewise. + * checks/errors/rust-const-checker.cc (ConstChecker::visit): Likewise. + * checks/errors/rust-hir-pattern-analysis.cc (PatternChecker::PatternChecker): Likewise. + * checks/errors/rust-hir-pattern-analysis.h: Likewise. + * checks/errors/rust-readonly-check.cc (ReadonlyChecker::visit): Likewise. + * checks/errors/rust-unsafe-checker.cc (UnsafeChecker::visit): Likewise. + * checks/lints/rust-lint-marklive.cc (MarkLive::visit_path_segment): Likewise. + (MarkLive::visit): Likewise. + (MarkLive::find_ref_node_id): Likewise. + * checks/lints/unused/rust-unused-checker.cc (UnusedChecker::UnusedChecker): Likewise. + * checks/lints/unused/rust-unused-checker.h: Likewise. + * checks/lints/unused/rust-unused-collector.cc (UnusedCollector::UnusedCollector): Likewise. + * checks/lints/unused/rust-unused-collector.h: Likewise. + * resolve/rust-immutable-name-resolution-context.cc: Move to... + * resolve/rust-finalized-name-resolution-context.cc: ...here. + * resolve/rust-name-resolution-context.h: Likewise. + * rust-session-manager.cc (Session::compile_crate): Likewise. + * typecheck/rust-hir-trait-resolve.cc (TraitResolver::resolve_path_to_trait): Likewise. + * typecheck/rust-hir-type-check-enumitem.cc (TypeCheckEnumItem::visit): Likewise. + * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Likewise. + (TypeCheckExpr::resolve_fn_trait_call): Likewise. + * typecheck/rust-hir-type-check-implitem.cc (TypeCheckImplItem::visit): Likewise. + * typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit): Likewise. + * typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::visit): Likewise. + (TypeCheckExpr::resolve_root_path): Likewise. + (TypeCheckExpr::resolve_segments): Likewise. + * typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): Likewise. + * typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path): Likewise. + (ResolveWhereClauseItem::visit): Likewise. + * typecheck/rust-hir-type-check.cc (TraitItemReference::get_type_from_fn): Likewise. + * typecheck/rust-type-util.cc (query_type): Likewise. + * checks/errors/rust-const-checker.h: Likewise. + * checks/errors/rust-unsafe-checker.h: Likewise. + * checks/lints/rust-lint-marklive.h: Likewise. + * resolve/rust-immutable-name-resolution-context.h: Removed. + * resolve/rust-finalized-name-resolution-context.h: New file. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-early-name-resolver-2.0.cc (Early::finalize_rebind_import): Insert imports + as possible glob containers. + * resolve/rust-name-resolution-context.cc (NameResolutionContext::map_usage): Allow + multiple mappings of the same usage. + * resolve/rust-name-resolution-context.hxx: Properly handle imports and modules in segments. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-forever-stack.h: Move resolve_segments and resolve_final_segment to... + * resolve/rust-forever-stack.hxx: Likewise. + * resolve/rust-name-resolution-context.h: ...here. + * resolve/rust-name-resolution-context.hxx: Likewise. + +2026-06-25 Arthur Cohen <[email protected]> + + * resolve/rust-early-name-resolver-2.0.cc: Properly resolve and insert imports in the + types NS. + * resolve/rust-name-resolution-context.cc (find_leaf_definition_inner): New. + (NameResolutionContext::find_leaf_definition): New. + (NameResolutionContext::flatten): New. + * resolve/rust-name-resolution-context.h: Declare flattening functions. + * rust-session-manager.cc (Session::compile_crate): Call NR flattening. + +2026-06-25 Yap Zhi Heng <[email protected]> + + * resolve/rust-default-resolver.h (DefaultResolver): Add new visited_crates + member for recursion protection. + * resolve/rust-default-resolver.cc (DefaultResolver::visit(ExternCrate)): + Make references of `self` resolve to the current crate. + +2026-06-25 Enes Cevik <[email protected]> + + * util/rust-lang-item.cc (Rust::LangItem::lang_items): Register + exchange_malloc to BiMap. + * util/rust-lang-item.h (LangItem::Kind): Add EXCHANGE_MALLOC. + +2026-06-25 Owen Avery <[email protected]> + + * resolve/rust-finalize-imports-2.0.cc (GlobbingVisitor::visit): + Add overrides for more items. + * resolve/rust-finalize-imports-2.0.h (GlobbingVisitor::visit): + Likewise. + 2026-06-01 Yap Zhi Heng <[email protected]> * parse/rust-parse-impl.hxx(parse_expr_stmt): Return error early when diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7512afb5e028..4fb9c464842f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,214 @@ +2026-06-25 Jerry DeLisle <[email protected]> + + PR libfortran/118793 + * gfortran.dg/namelist_40.f90: Update expected dg-output. + * gfortran.dg/namelist_47.f90: Likewise + +2026-06-25 Iain Sandoe <[email protected]> + + * gcc.dg/lto/toplevel-extended-asm-1_0.c: Skip for Darwin. + * gcc.dg/lto/toplevel-extended-asm-2_0.c: Fix Mach-O syntax. + * gcc.dg/lto/toplevel-extended-asm-2_1.c: Likewise. + * gcc.dg/lto/toplevel-simple-asm-1_0.c: Skip for Darwin. + * gcc.dg/lto/toplevel-simple-asm-2_1.c: Fix Mach-O syntax. + +2026-06-25 Enes Cevik <[email protected]> + + * rust/compile/ctlz.rs: Fix incorrect intrinsic signature. + * rust/compile/ctlz_nonzero.rs: Likewise. + * rust/compile/cttz.rs: Likewise. + * rust/compile/cttz_nonzero.rs: Likewise. + * rust/compile/issue-4245.rs: Likewise. + * rust/compile/torture/intrinsics-3.rs: Likewise. + * rust/execute/torture/ctlz.rs: Likewise. + * rust/execute/torture/ctlz_i16.rs: Likewise. + * rust/execute/torture/ctlz_i32.rs: Likewise. + * rust/execute/torture/ctlz_i64.rs: Likewise. + * rust/execute/torture/ctlz_i8.rs: Likewise. + * rust/execute/torture/ctlz_nonzero.rs: Likewise. + * rust/execute/torture/ctlz_nonzero_i16.rs: Likewise. + * rust/execute/torture/ctlz_nonzero_i32.rs: Likewise. + * rust/execute/torture/ctlz_nonzero_i64.rs: Likewise. + * rust/execute/torture/ctlz_nonzero_i8.rs: Likewise. + * rust/execute/torture/ctlz_nonzero_u16.rs: Likewise. + * rust/execute/torture/ctlz_nonzero_u32.rs: Likewise. + * rust/execute/torture/ctlz_nonzero_u64.rs: Likewise. + * rust/execute/torture/ctlz_nonzero_u8.rs: Likewise. + * rust/execute/torture/ctlz_u16.rs: Likewise. + * rust/execute/torture/ctlz_u32.rs: Likewise. + * rust/execute/torture/ctlz_u64.rs: Likewise. + * rust/execute/torture/ctlz_u8.rs: Likewise. + * rust/execute/torture/cttz.rs: Likewise. + * rust/execute/torture/cttz_nonzero.rs: Likewise. + * rust/compile/intrinsic-checker.rs: New test. + +2026-06-25 Owen Avery <[email protected]> + + * rust/compile/attr-macro.rs: Move to... + * rust/compile/macros/mbe/macro_attr_expr.rs: ...here. + +2026-06-25 Enes Cevik <[email protected]> + + * rust/execute/min_align_of.rs: New test. + +2026-06-25 Arthur Cohen <[email protected]> + + * rust/compile/type-with-builtin-type-name.rs: New test. + +2026-06-25 Arthur Cohen <[email protected]> + + * rust/compile/issue-4563.rs: New test. + +2026-06-25 Arthur Cohen <[email protected]> + + * rust/compile/mod_in_types_ns.rs: New test. + * rust/compile/mod_in_types_ns2.rs: New test. + +2026-06-25 Yap Zhi Heng <[email protected]> + + * rust/compile/name_resolution28.rs: New file. + +2026-06-25 lishin <[email protected]> + + * rust/execute/drop-function-scope-unit.rs: New test. + * rust/execute/drop-function-scope.rs: New test. + +2026-06-25 lishin <[email protected]> + + * rust/execute/drop-block-scope.rs: Extend test coverage for simple + immutable and mutable bindings. + * rust/compile/drop-ref-pattern.rs: New test. + +2026-06-25 lishin <[email protected]> + + * rust/execute/drop-block-scope.rs: New test. + +2026-06-25 Enes Cevik <[email protected]> + + * rust/compile/attr-allocator1.rs: New test. + * rust/compile/attr-allocator2.rs: New test. + * rust/compile/attr-allocator3.rs: New test. + +2026-06-25 Enes Cevik <[email protected]> + + * rust/compile/rustc_std_internal_symbol1.rs: New test. + * rust/compile/rustc_std_internal_symbol2.rs: New test. + +2026-06-25 Pierre-Emmanuel Patry <[email protected]> + + * rust/compile/float_literals.rs: New test. + +2026-06-25 Arthur Cohen <[email protected]> + + * rust/compile/torture/utf8_identifiers.rs: Use a more classical + looking float value to test our UTF-8 identifier. + +2026-06-25 Arthur Cohen <[email protected]> + + * rust/compile/import_in_type_ns6.rs: New test. + * rust/compile/import_in_type_ns7.rs: New test. + +2026-06-25 Yap Zhi Heng <[email protected]> + + * rust/compile/extern_crate_self.rs: New file. + +2026-06-25 Enes Cevik <[email protected]> + + * rust/compile/exchange_malloc.rs: New test. + +2026-06-25 Owen Avery <[email protected]> + + * rust/compile/name_resolution27.rs: New test. + +2026-06-25 Marek Polacek <[email protected]> + + PR c++/125922 + * g++.dg/reflect/error14.C: New test. + +2026-06-25 Jakub Jelinek <[email protected]> + + PR c++/125832 + * g++.dg/cpp29/lambda-order1.C: New test. + * g++.dg/cpp29/lambda-order2.C: New test. + +2026-06-25 Jakub Jelinek <[email protected]> + + PR c++/125824 + * lib/target-supports.exp + (check_effective_target_flt_dbl_ldbl_inf_nan): New. + * g++.dg/cpp29/ext-floating1.C: New test. + * g++.dg/cpp29/std-floating1.C: New test. + +2026-06-25 Manjunath Matti <[email protected]> + + * gcc.target/powerpc/ecc-builtin-1.c: New test for ECC builtins. + +2026-06-25 Milan Tripkovic <[email protected]> + Jeff Law <[email protected]> + + PR target/123884 + PR target/106585 + * gcc.target/riscv/pr123884-a.c: New test. + * gcc.target/riscv/pr123884-b.c: New test. + * gcc.target/riscv/pr123884-c.c: New test. + +2026-06-25 Jeff Law <[email protected]> + Daniel Barboza <[email protected]> + + PR target/124019 + * gcc.target/riscv/pr124019.c: New test. + +2026-06-25 Konstantinos Eleftheriou <[email protected]> + + PR tree-optimization/102793 + * g++.dg/tree-ssa/pr117123.C: --param logical-op-non-short-circuit=0. + * gcc.dg/tree-ssa/pr102793-1.c: New test. + * gcc.dg/tree-ssa/pr102793-2.c: New test. + * gcc.dg/uninit-pred-13.c: New test. + +2026-06-25 Christopher Bazley <[email protected]> + + * gcc.target/aarch64/popcnt-sve.c: Update test expectations + to allow both current and alternative valid mask + specifications. + +2026-06-25 Artemiy Volkov <[email protected]> + + PR target/125716 + * gcc.target/aarch64/aarch64-json-tunings/gp2fp-2.json: New JSON + tuning file. + * gcc.target/aarch64/simd/pr125716.c: New test. + +2026-06-25 Jakub Jelinek <[email protected]> + + * c-c++-common/gomp/atomic-builtins-1.c: Add int128 effective target. + +2026-06-25 Richard Biener <[email protected]> + + PR tree-optimization/125953 + * gcc.dg/torture/pr125953.c: New testcase. + +2026-06-25 Rainer Orth <[email protected]> + + * gcc.target/i386/pr125958.c (dg-options): Add -mno-stackrealign. + +2026-06-25 Martin Uecker <[email protected]> + + * gcc.dg/builtin-call-info-1.c: New test. + * gcc.dg/builtin-call-info-2.c: New test. + * gcc.dg/builtin-call-info-3.c: New test. + +2026-06-25 Robert Dubner <[email protected]> + + * cobol.dg/group1/simple-classes.cob: + * cobol.dg/group1/simple-if.cob: + * cobol.dg/group2/Rounding_from_BINARY_signable_and_negative.cob: New test. + * cobol.dg/group2/Rounding_from_BINARY_signable_and_negative.out: New test. + * cobol.dg/group2/Rounding_from_BINARY_signable_and_positive.cob: New test. + * cobol.dg/group2/Rounding_from_BINARY_signable_and_positive.out: New test. + * cobol.dg/group2/Rounding_from_BINARY_unsignable.cob: New test. + * cobol.dg/group2/Rounding_from_BINARY_unsignable.out: New test. + 2026-06-24 Thomas Schwinge <[email protected]> * gcc.dg/autopar/runtime-auto.c: Adjust. diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index c1dfe9ba2c88..209c498d1a60 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,24 @@ +2026-06-25 Robert Dubner <[email protected]> + + * charmaps.cc (__gg__miconverter): Use table instead of a map. + (__gg__get_charmap): Likewise. + * charmaps.h (ebcdic_zero): New constant. + (ebcdic_plus): Likewise. + (ebcdic_minus): Likewise. + * encodings.h (enum cbl_encoding_t): Guardrail for table. + (ASCII_e): Remove trailing spaces. + * stringbin.cc (string_from_combined): Improved routine. + (defined): Likewise. + (FALLTHROUGH): Likewise. + (uint_to_8_digits): Improve speed. + (__gg__binary_to_string_ascii): Likewise. + (binary_to_string): Likewise. + (__gg__binary_to_string_ebcdic): Likewise. + (__gg__binary_to_string_encoded): Likewise. + (packed_from_combined): Likewise. + (__gg__binary_to_packed): Likewise. + (__gg__packed_to_binary): Likewise. + 2026-06-20 Robert Dubner <[email protected]> * charmaps.cc: Eliminate rt_encoding_t. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 78cd8af76915..92dcd41151f7 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,16 @@ +2026-06-25 Jerry DeLisle <[email protected]> + + PR libfortran/118793 + * io/file_pos.c (st_rewind): Reset line and column numbers. + * io/io.h: Add line and column number to the gfc_unit + structure. + * io/list_read.c (next_char_default): Increment the column + position and line number as needed. + (next_char_internal): Likewise. + (next_char_utf8): Likewise. + (nml_err_ret): Build the expanded diagnostic message. + * io/unit.c (insert_unit): Initialize the line_number. + 2026-06-22 Jerry DeLisle <[email protected]> PR libfortran/118774 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index b854582a5b8b..8128d995c840 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,27 @@ +2026-06-25 Paul-Antoine Arras <[email protected]> + + * libgomp.texi (Implementing MASKED and MASTER construct): Fix + @end smallexample. + (Implementing FOR construct): Likewise. + +2026-06-25 Paul-Antoine Arras <[email protected]> + + * libgomp.texi (Implementing MASKED and MASTER construct): Update + pseudocode; describe GOMP_has_masked_thread_num. + (Implementing ATOMIC construct): Fix stale function names; note + exclusivity to explicit atomic constructs. + (Implementing BARRIER construct): Document GOMP_barrier_ext and + GOMP_barrier_cancel_ext; describe the kind parameter. + (Implementing REDUCTION clause): Document GOMP_reduction_start and + GOMP_reduction_end. + (Implementing FOR construct): Document GOMP_loop_static_worksharing + and GOMP_distribute_static_worksharing. + +2026-06-25 Thomas Schwinge <[email protected]> + + * libgomp_g.h (GOMP_reduction_start, GOMP_reduction_end): Sort + correctly. + 2026-06-24 Paul-Antoine Arras <[email protected]> * atomic.c (GOMP_reduction_start): New function. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 39e3a5afc2ce..7d2ffd8f6f39 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,161 @@ +2026-06-25 Jonathan Wakely <[email protected]> + + * include/bits/version.def (stds): Add C++29 value and adjust + C++23 and C++26 values. + * include/bits/version.h: Regenerate. + * testsuite/lib/libstdc++.exp (v3_max_std): Update to 29. + +2026-06-25 Jonathan Wakely <[email protected]> + + * acinclude.m4 (GLIBCXX_CHECK_STDIO_LOCKING): Remove trailing + whitespace. + +2026-06-25 Pietro Monteiro <[email protected]> + + PR bootstrap/103459 + * configure.ac: Update AC_FOREACH to m4_foreach_w. + +2026-06-25 Pietro Monteiro <[email protected]> + + PR bootstrap/103459 + * configure: Regenerate. + * configure.ac: Update AM_PROG_LIBTOOL to LT_INIT. + +2026-06-25 Pietro Monteiro <[email protected]> + + PR bootstrap/103459 + * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Replace + AC_LANG_SAVE AC_LANG_CPLUSPLUS (...) AC_LANG_RESTORE with + AC_LANG_PUSH([C++]) (...) AC_LANG_POP([C++]). + (GLIBCXX_CHECK_SETRLIMIT): Likewise. + (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise. + (GLIBCXX_CHECK_POLL): Likewise. + (GLIBCXX_CHECK_WRITEV): Likewise. + (GLIBCXX_CHECK_LFS): Likewise. + (GLIBCXX_ENABLE_C99): Likewise. + (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Likewise. + (GLIBCXX_CHECK_GETTIMEOFDAY): Likewise. + (GLIBCXX_CHECK_C99_TR1): Likewise. + (GLIBCXX_CHECK_UCHAR_H): Likewise. + (GLIBCXX_CHECK_STDIO_PROTO): Likewise. + (GLIBCXX_CHECK_MATH11_PROTO): Likewise. + (GLIBCXX_ENABLE_FLOAT128): Likewise. + (GLIBCXX_ENABLE_WCHAR_T): Likewise. + (GLIBCXX_ENABLE_PCH): Likewise. + (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Likewise. + (GLIBCXX_ENABLE_LOCK_POLICY): Likewise. + (GLIBCXX_CHECK_GTHREADS): Likewise. + (GLIBCXX_CHECK_GET_NPROCS): Likewise. + (GLIBCXX_CHECK_SC_NPROCESSORS_ONLN): Likewise. + (GLIBCXX_CHECK_SC_NPROC_ONLN): Likewise. + (GLIBCXX_CHECK_PTHREADS_NUM_PROCESSORS_NP): Likewise. + (GLIBCXX_CHECK_PTHREAD_COND_CLOCKWAIT): Likewise. + (GLIBCXX_CHECK_PTHREAD_MUTEX_CLOCKLOCK): Likewise. + (GLIBCXX_CHECK_PTHREAD_RWLOCK_CLOCKLOCK): Likewise. + (GLIBCXX_CHECK_SYSCTL_HW_NCPU): Likewise. + (GLIBCXX_CHECK_TMPNAM): Likewise. + (GLIBCXX_CHECK_SDT_H): Likewise. + (GLIBCXX_CHECK_FILESYSTEM_DEPS): Likewise. + (GLIBCXX_CHECK_GETENTROPY): Likewise. + (GLIBCXX_CHECK_ARC4RANDOM): Likewise. + (GLIBCXX_ENABLE_BACKTRACE): Likewise. + (GLIBCXX_STRUCT_TM_TM_ZONE): Likewise. + (GLIBCXX_CHECK_ALIGNAS_CACHELINE): Likewise. + (GLIBCXX_CHECK_INIT_PRIORITY): Likewise. + (GLIBCXX_CHECK_FILEBUF_NATIVE_HANDLES): Likewise. + (GLIBCXX_CHECK_TEXT_ENCODING): Likewise. + (GLIBCXX_CHECK_DEBUGGING): Likewise. + (GLIBCXX_CHECK_STDIO_LOCKING): Likewise. + * configure: Regenerate. + * crossconfig.m4 (GLIBCXX_CHECK_MATH_DECL): Replace + AC_LANG_SAVE AC_LANG_C with AC_LANG_PUSH([C]). + * linkage.m4 (GLIBCXX_CHECK_MATH_DECL_1): Replace + AC_LANG_SAVE AC_LANG_CPLUSPLUS (...) AC_LANG_RESTORE with + AC_LANG_PUSH([C++]) (...) AC_LANG_POP([C++]). + (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1) Likewise. + (GLIBCXX_CHECK_MATH_DECL_2): Likewise. + (GLIBCXX_CHECK_MATH_DECL_3): Likewise. + (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_1): Likewise. + (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Likewise. + (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3): Likewise. + +2026-06-25 Pietro Monteiro <[email protected]> + + PR bootstrap/103459 + * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Update + AC_TRY_COMPILE to AC_COMPILE_IFELSE. + (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Likewise. + (GLIBCXX_CHECK_SETRLIMIT): Likewise. + (GLIBCXX_ENABLE_C99): Likewise. + (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Likewise. + (GLIBCXX_CHECK_C99_TR1): Likewise. + (GLIBCXX_CHECK_UCHAR_H): Likewise. + (GLIBCXX_ENABLE_CLOCALE): Likewise. + (GLIBCXX_ENABLE_WCHAR_T): Likewise. + (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Likewise. + (GLIBCXX_ENABLE_LOCK_POLICY): Likewise. + (GLIBCXX_ENABLE_LIBSTDCXX_VISIBILITY): Likewise. + (GLIBCXX_ENABLE_SYMVERS): Likewise. + (GLIBCXX_CHECK_GTHREADS): Likewise. + (GLIBCXX_CHECK_X86_RDRAND): Likewise. + (GLIBCXX_CHECK_X86_RDSEED): Likewise. + (GLIBCXX_CHECK_SIZE_T_MANGLING): Likewise. + (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Likewise. + (GLIBCXX_CHECK_ALIGNAS_CACHELINE): Likewise. + (GLIBCXX_CHECK_INIT_PRIORITY): Likewise. + (GLIBCXX_CHECK_FILEBUF_NATIVE_HANDLES): Likewise. + (GLIBCXX_CHECK_TEXT_ENCODING): Likewise. + (GLIBCXX_CHECK_DEBUGGING): Likewise. + (GLIBCXX_CHECK_STDIO_LOCKING): Likewise. + * configure: Regenerate. + * configure.ac: Update AC_TRY_COMPILE to AC_COMPILE_IFELSE. + * crossconfig.m4 (GLIBCXX_CHECK_MATH_DECL): Likewise. + * linkage.m4 (GLIBCXX_CHECK_MATH_DECL_1): Likewise. + (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Likewise. + (GLIBCXX_CHECK_MATH_DECL_2): Likewise. + (GLIBCXX_CHECK_MATH_DECL_3): Likewise. + (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Delete. + (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_1): Update + AC_TRY_COMPILE to AC_COMPILE_IFELSE. + (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Likewise. + (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3): Likewise. + +2026-06-25 Pietro Monteiro <[email protected]> + + PR bootstrap/103459 + * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Update + AC_TRY_LINK to AC_LINK_IFELSE. + (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Likewise. + (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Likewise. + (GLIBCXX_ENABLE_BACKTRACE): Likewise. + +2026-06-25 Pietro Monteiro <[email protected]> + + PR bootstrap/103459 + * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Update + AC_HELP_STRING to AS_HELP_STRING. + (GLIBCXX_ENABLE): Likewise. + (GLIBCXX_ENABLE_CLOCALE): Likewise. + (GLIBCXX_ENABLE_HOSTED): Likewise. + (GLIBCXX_ENABLE_VERBOSE): Likewise. + (GLIBCXX_ENABLE_LOCK_POLICY): Likewise. + (GLIBCXX_EMERGENCY_EH_ALLOC): Likewise. + (GLIBCXX_ZONEINFO_DIR): Likewise. + +2026-06-25 Jonathan Wakely <[email protected]> + + PR libstdc++/125956 + * src/c++20/format.cc [_GLIBCXX_HAVE_ICONV] (iconv_input): New + concept. + (__encoding::conv) [_GLIBCXX_HAVE_ICONV]: Use iconv_input to + decide which type to cast the input pointer to. + +2026-06-25 Jakub Jelinek <[email protected]> + + * src/c++23/Makefile.am (stamp-modules-bits): Use abs_builddir instead + of abs_srcdir. + * src/c++23/Makefile.in: Regenerate. + 2026-06-24 Jonathan Wakely <[email protected]> * testsuite/27_io/filesystem/operations/copy_symlink/1.cc: Add
