https://gcc.gnu.org/g:2e76f0ca47367a2a90307bf1c5f8805a37138d84
commit r17-5175-g2e76f0ca47367a2a90307bf1c5f8805a37138d84 Author: GCC Administrator <[email protected]> Date: Wed Oct 14 00:17:12 2026 +0000 Daily bump. Diff: --- ChangeLog | 12 + config/ChangeLog | 6 + fixincludes/ChangeLog | 5 + gcc/ChangeLog | 272 +++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 9 + gcc/analyzer/ChangeLog | 5 + gcc/c-family/ChangeLog | 6 + gcc/cp/ChangeLog | 26 ++ gcc/fortran/ChangeLog | 83 ++++++ gcc/m2/ChangeLog | 5 + gcc/rust/ChangeLog | 695 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 411 ++++++++++++++++++++++++++++ libgfortran/ChangeLog | 132 +++++++++ libgomp/ChangeLog | 6 + libgrust/ChangeLog | 5 + libstdc++-v3/ChangeLog | 14 + 17 files changed, 1693 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 837cde09252c..33f06d00dd13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2026-10-13 Simon Marchi <[email protected]> + + * MAINTAINERS: Regenerate. + * MAINTAINERS.yml: Add record for myself. + +2026-10-12 Zhongteng Gui <[email protected]> + + PR target/126608 + * configure.ac (x86_64-*mingw* | *-w64-mingw*): Do not use + /mingw symlink. + * configure: Regenerate. + 2026-10-09 Gabriel Dos Reis <[email protected]> * MAINTAINERS: Regenerate. diff --git a/config/ChangeLog b/config/ChangeLog index 8f91d0e54e08..5b1f23cedd40 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,9 @@ +2026-10-13 Pietro Monteiro <[email protected]> + + * enable.m4: Sync with binutils. + * lib-prefix.m4: Likewise. + * tcl.m4: Likewise. + 2026-10-11 Pietro Monteiro <[email protected]> * acinclude.m4: Removed. diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 12bcb2781fa9..4569e675c75a 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,8 @@ +2026-10-13 Simon Marchi <[email protected]> + + * configure.ac: Add AC_CONFIG_MACRO_DIRS. + * configure: Regenerate. + 2026-10-09 Sam James <[email protected]> PR bootstrap/112422 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1bbfcfeb67d..986ff820619b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,275 @@ +2026-10-13 Jakub Jelinek <[email protected]> + + * config/bpf/bpf.opt.urls: Regenerate. + +2026-10-13 Tobias Burnus <[email protected]> + + * tree-core.h (enum omp_clause_code): Extend comment to + OMP_CLAUSE_MESSAGE. + * tree-pretty-print.cc (dump_omp_clause): Print space before + 'severity(fatal)'. + +2026-10-13 Richard Biener <[email protected]> + + PR tree-optimization/127858 + * tree-ssa-loop-im.cc (gather_mem_refs_stmt): When merging + accesses with differing access path always reset base and + offset to the canonical form by re-using the already canonical + ao_ref. + +2026-10-13 Richard Ball <[email protected]> + + * config/aarch64/aarch64-builtins.cc + (aarch64_expand_atomic_hints_builtins_fetch): Change require_const_argument. + * config/aarch64/atomics.md: Change values in hint value switch. + +2026-10-13 John David Anglin <[email protected]> + + PR target/127843 + * config/pa/pa.cc (pa_emit_move_sequence): Don't check constant + pool address. + (pa_legitimate_constant_p): Likewise. + (pa_legitimate_address_p): Likewise. + +2026-10-13 Roger Sayle <[email protected]> + Hongtao Liu <[email protected]> + + * config/i386/i386-expand.cc (ix86_expand_vector_init_insert) + <case E_V16QImode>: We don't need to zero extend var, if the + high bytes will be overwritten. + <case E_V8HImode>: Likewise for V8HImode. Whitespace fix. + (ix86_expand_vector_init_qi4): New helper function to effectively + load a V4QImode vector into an SImode register or constant. + (ix86_expand_vector_init_qi8): Likewise, to effectively load + a V8QImode vector into a DImode register or constant. + (ix86_expand_vector_init_v16qi): Change return type to void, + and never fail. Fallback to V2DI on TARGET64 and V4SI otherwise + using the above helper functions. + (ix86_expand_vector_init_general): Update call to + ix86_expand_vector_init_v16qi now that it can't fail. + +2026-10-13 Dusan Stojkovic <[email protected]> + + * config/riscv/spacemit-x60.md (spacemit_x60_alu0, spacemit_x60_alu1): + ((spacemit_x60_alu0|spacemit_x60_alu1)): update ALU reservation + definition. + +2026-10-13 Keith Packard <[email protected]> + + * config/picolibc-c.cc: New file. + * config/t-picolibc: New file + * config.gcc: Use new files. + +2026-10-13 Jeff Law <[email protected]> + + PR target/127778 + * config/riscv/riscv.cc (riscv_add_offset): Use synthesize_add + when safe and likely profitable. + +2026-10-13 Yongqiang Tian <[email protected]> + + PR rtl-optimization/127809 + * jump.cc (delete_related_insns): Ignore debug insns when looking for + a BARRIER before a deleted label. + +2026-10-13 Léo Hardt <[email protected]> + + * caller-save.cc: Remove unused include directives + * cse.cc: Likewise. + * dwarf2ctf.cc: Likewise. + * function-tests.cc: Likewise. + * gimple-pretty-print.cc: Likewise. + * gimple-range-trace.cc: Likewise. + * gimple-range.cc: Likewise. + * gimple-ssa-store-merging.cc: Likewise. + * ipa-devirt.cc: Likewise. + * ipa-inline-transform.cc: Likewise. + * langhooks.cc: Likewise. + * lto-streamer-in.cc: Likewise. + * print-rtl.cc: Likewise. + * rtl-tests.cc: Likewise. + * sanopt.cc: Likewise. + * stmt.cc: Likewise. + * targhooks.cc: Likewise. + * tree-diagnostic-cfg.cc: Likewise. + * tree-if-conv.cc: Likewise. + * tree-ssa-threadupdate.cc: Likewise. + * tree-vect-patterns.cc: Likewise. + * tree.cc: Likewise. + * varasm.cc: Likewise. + +2026-10-13 Vineet Gupta <[email protected]> + + PR rtl-optimization/127852 + * simplify-rtx.cc (simplify_context::simplify_binary_operation_1): + Don't merge two equal operands with side effects in the PLUS and + MINUS coefficient folds and in the (X - 1) * Y + Y and + (X + 1) * Y - Y folds. + +2026-10-13 Vineet Gupta <[email protected]> + + PR tree-optimization/127853 + * tree-ssa-forwprop.cc (simplify_count_zeroes): Only pass the + value at zero to .CLZ/.CTZ when the target defines it. + +2026-10-13 Yongqiang Tian <[email protected]> + + PR rtl-optimization/127808 + * reorg.cc (relax_delay_slots): Ignore debug insns when looking for + a BARRIER before a jump target. + +2026-10-13 Jakub Jelinek <[email protected]> + + PR middle-end/127848 + * tree-tailcall.cc: Include target.h. + (process_assignment): Punt if one of dest and src_var types + is BITINT_TYPE_P and the other is not. If both are BITINT_TYPE_P, + punt if TYPE_SIZE is different, or for narrowing or same precision + conversions on != bitint_ext_undef targets, or for widening + conversions on != bitint_ext_full targets or if signedness differs. + +2026-10-13 xiezhiheng <[email protected]> + + * config/aarch64/aarch64.md (sve_type): Move to ... + * config/aarch64/aarch64-sched-types.md: ... this new file. + * config/arm/arm.md: Include aarch64-sched-types.md. + * config/arm/cortex-a53.md: Treat SVE as NEON. + * config/arm/cortex-a57.md: Likewise. + +2026-10-13 Jakub Jelinek <[email protected]> + + PR target/121688 + * config/i386/sse.md (VF4_128_8_256): Only include + V4DF if TARGET_AVX512FP16 && TARGET_AVX512VL. + (VF48H_AVX512VL): Only include V8DF if TARGET_AVX512FP16. + Include V8SF also if TARGET_F16C && !TARGET_AVX512FP16. + (extend<ssePHmodelower><mode>2): Change condition + from TARGET_AVX512FP16 to TARGET_F16C || TARGET_AVX512F. + Expand !TARGET_AVX512FP16 cases differently. + (extendv4hf<mode>2): Change condition from + TARGET_AVX512FP16 && TARGET_AVX512VL to + TARGET_F16C || TARGET_AVX512VL. Expand + !(TARGET_AVX512FP16 && TARGET_AVX512VL) cases differently. + (trunc<mode><ssePHmodelower>2): Change condition + from TARGET_AVX512FP16 to TARGET_F16C || TARGET_AVX512F. + Expand !TARGET_AVX512FP16 cases differently. + (trunc<mode>v4hf2): Change condition from + TARGET_AVX512FP16 && TARGET_AVX512VL to + TARGET_F16C || TARGET_AVX512VL. Expand + !(TARGET_AVX512FP16 && TARGET_AVX512VL) cases differently. + (*vcvtph2ps_load<mask_name>): Rename to ... + (vcvtph2ps_load<mask_name>): ... this. + +2026-10-13 Jeff Law <[email protected]> + + PR tree-optimization/127813 + * config/riscv/zicond.md: Add new define_insn for czero expressed via + logical ops. Add define_splits when related patterns are used by an + IOR to select across two values. + +2026-10-12 Iain Sandoe <[email protected]> + + PR target/126723 + * config/darwin.h (ASM_GENERATE_INTERNAL_LABEL): Handle + C++ source locations. + +2026-10-12 Andrea Pinski <[email protected]> + + PR tree-optimization/127485 + * gimple-range-fold.cc (fur_source::register_outgoing_edges): Don't + require a singleton; only not undefined or varying. + +2026-10-12 liuhongt <[email protected]> + + PR tree-optimization/127382 + * match.pd (cond_expr_convert_p): Use tree_nop_conversion_p + instead of INTEGRAL_TYPE_P to check the integral selected + operands. + +2026-10-12 Alfie Richards <[email protected]> + + PR tree-optimization/127805 + * tree-vect-loop-manip.cc + (vect_set_loop_condition_partial_vectors_avx512): Use + LOOP_VINFO_MAIN_EXIT instead of exit_edge for final_iv. + (vect_set_loop_condition_normal): Likewise. + +2026-10-12 Jørgen Kvalsvik <[email protected]> + + * path-coverage.cc (find_prime_paths): Call free_graph. + +2026-10-12 Richard Biener <[email protected]> + + PR tree-optimization/127811 + * tree-vect-slp.cc (vect_schedule_slp_node): Allow extern + last_stmt during transform. + +2026-10-12 Robin Dapp <[email protected]> + Richard Sandiford <[email protected]> + + PR rtl-optimization/127443 + * lower-subreg.cc (DECOMPOSED_REGISTER_P): New macro. + (decompose_register): Mark decomposed. + (resolve_reg_p): Only resolve decomposed regs. + (resolve_subreg_p): Move. + (simplify_subreg_concatn): Remove assert. + (simplify_gen_subreg_concatn): Use resolve_subreg_p. + (resolve_operand_for_swap_move_operator): Adjust assert. + (resolve_debug): Unmark as decomposed. + * rtl.h (struct GTY): Document usage of volatil in lower-subreg. + +2026-10-12 Robin Dapp <[email protected]> + + PR target/127662 + * config/riscv/riscv-vector-costs.cc (costs::record_type_sizes): + Add scalar_load and scalar_store. + +2026-10-12 Stefan Schulze Frielinghaus <[email protected]> + + * config/nvptx/nvptx.h (CLZ_DEFINED_VALUE_AT_ZERO): Handle + vector modes. + (CTZ_DEFINED_VALUE_AT_ZERO): Ditto. + +2026-10-12 Josef Melcr <[email protected]> + + PR c/127464 + * doc/extend.texi (callback_only): Add a sentence about unprototyped + functions to callback_only docs. + +2026-10-12 Kyrylo Tkachov <[email protected]> + + * config/aarch64/aarch64-protos.h (aarch64_prepare_sve_int_fma): + Rename to aarch64_prepare_int_fma. + * config/aarch64/aarch64.cc (aarch64_prepare_sve_int_fma): Likewise. + * config/aarch64/aarch64-simd.md (fma<mode>4, fnma<mode>4): New + VDQ_BHSI expanders. + * config/aarch64/aarch64-sve.md (fma<mode>4, fnma<mode>4): Use the + renamed helper. + +2026-10-12 Eric Botcazou <[email protected]> + + * dwarf2out.cc (gen_field_die): Change return type to DW_DIE_REF + and add ANONYMOUS parameter. Adjust implementation accordingly. + (analyze_discr_in_predicate): Rename into... + (extract_discr_in_expr): ...this. Also return a sub-field of the + record type when the containing fields are at offset 0. + (analyze_variants_discr): Adjust to above renaming. + (gen_variant_part): If there is no DIE for the discriminant, create + an anonymous DIE for it in the non-variant part of the record type. + +2026-10-12 Richard Biener <[email protected]> + + PR tree-optimization/127814 + * tree-vect-loop-manip.cc (vect_loop_versioning): Emit + versioning for niter assumption conditions first and + split those to the separate BB together with the cost model + check after rewriting all of it to unconditional defined operations. + +2026-10-12 Torbjörn SVENSSON <[email protected]> + + PR analyzer/125265 + * params.opt (analyzer-max-macro-alias-depth): Move to... + 2026-10-11 Jeff Law <[email protected]> * config/riscv/riscv.md ((x << C1) + C2 splitter): Do not diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 2a44af499b51..619f8fa5c81d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20261012 +20261014 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index e2d61efb3a2d..9070a11a226a 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,12 @@ +2026-10-12 Eric Botcazou <[email protected]> + + * libgnat/system-linux-loongarch.ads (Address): Add size clause. + +2026-10-12 Yang Yujie <[email protected]> + + * libgnat/system-linux-loongarch.ads(Support_Atomic_Primitives): + New boolean constant. + 2026-10-07 Hodong Kim <[email protected]> PR ada/127759 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 09e30b4db17f..5a7e0e1e4f6d 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,8 @@ +2026-10-12 Torbjörn SVENSSON <[email protected]> + + PR analyzer/125265 + * analyzer.opt: ...here. Align parameter definition. + 2026-10-07 Filip Kastl <[email protected]> * region-model.cc: Add some missing override keywords for member diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 25a78f5698be..67348f1e3b83 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2026-10-12 Josef Melcr <[email protected]> + + PR c/127464 + * c-attribs.cc (handle_callback_only_attribute): Reject + unprototyped functions. + 2026-10-09 Tobias Burnus <[email protected]> PR middle-end/127723 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4fd3fcfc6cf4..f5acf2bff979 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,29 @@ +2026-10-13 Léo Hardt <[email protected]> + + * call.cc: Remove unused include directives. + * init.cc: Likewise. + * semantics.cc: Likewise. + +2026-10-12 Marek Polacek <[email protected]> + + PR c++/127780 + * parser.cc (cp_parser_init_statement): Use the location of + 'using' in the C++23 pedwarn. Only consume the ':' if + expect_semicolon_p. + +2026-10-12 Jason Merrill <[email protected]> + + PR c++/127787 + PR c++/99000 + * pt.cc (check_explicit_specialization): Don't clobber a redefinable + imported definition. + +2026-10-12 Tobias Burnus <[email protected]> + + PR c++/127734 + * decl.cc (omp_declare_variant_finalize_one): Remove early + return when a 'simd' trait exists. + 2026-10-08 Marek Polacek <[email protected]> PR c++/127710 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index d3c22769cc10..8cf4458bf575 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,86 @@ +2026-10-13 Jerry DeLisle <[email protected]> + + PR fortran/110421 + * trans-expr.cc (alloc_scalar_allocatable_subcomponent): Use + gfc_typenode_for_spec for BT_DERIVED values too. + +2026-10-13 Tobias Burnus <[email protected]> + + * openmp.cc (OMP_TARGET_CLAUSES, OMP_TEAMS_CLAUSES): Remove + OMP_CLAUSE_SEVERITY. + * trans-openmp.cc (gfc_split_omp_clauses): Remove SEVERITY from + clause splitting for target and teams. + +2026-10-13 Paul Thomas <[email protected]> + + PR fortran/82173 + * decl.cc (gfc_get_pdt_instance): An new, imported PDT instance + must have its refs incremented. Provide a non-PDT parent type + with a default initializer. Set 'instance' referenced. + +2026-10-13 Paul Thomas <[email protected]> + + PR fortran/82173 + * trans-decl.cc (gfc_trans_deferred_vars): gfc_allocate_pdt + _comp cannot be called unless the symbol has a param_list. + +2026-10-13 Paul Thomas <[email protected]> + + PR fortran/82173 + * trans-decl.cc (gfc_trans_deferred_vars): Small formatting + adjustment followed by a guarding of the pdt component dealloc + for allocatable scalar and codimensioned variables. + * trans-stmt.cc (gfc_trans_deallocate): Likewise for all PDTs. + +2026-10-13 Paul Thomas <[email protected]> + + PR fortran/82173 + * expr.cc (find_inquiry_ref): Instead of calling gfc_pdt_find_ + component_copy_initializer directly, build a KIND expression + and call gfc_simplify_len. + * gfortran.h : Add prototype for gfc_simplify_len. + * simplify.cc (gfc_simplify_len): Simplify the logic for access + to the original code by detecting a pdt_string and a variable + string length. Reduce the verbosity of the code by storing the + variable name. If the pdt_string does not have a length that is + a variable, insert the parameter expressions to a copy of the + string length. Return if this then simplifies to a constant + expression. + +2026-10-12 Tobias Burnus <[email protected]> + + * openmp.cc (resolve_omp_clauses): Permit non-constant expressions + for 'priority' clause again. + +2026-10-12 Paul Thomas <[email protected]> + + PR fortran/82173 + * trans-array.cc (structure_alloc_comps): The contribution of + the lbound must be multiplied by the accumulated size to obtain + the offset. + * trans-decl.cc (gfc_trans_deferred_vars): Add a minor format + correction. + +2026-10-12 Tobias Burnus <[email protected]> + + PR middle-end/127723 + * gfortran.h (gfc_omp_clauses): Add simdlen_type and + simdlen_divisor for simdlen. + * module.cc (mio_omp_declare_simd_clauses): Handle scaled; + consume "simdlen" token on reading. + (mio_omp_declare_simd): Remove the latter. + * openmp.cc (gfc_free_omp_clauses): Free simdlen_divisor. + (gfc_match_omp_clauses): Parse 'scaled' modifier to 'simdlen'. + (resolve_scalar_int_expr): Return boolean. + (resolve_positive_int_expr, resolve_nonnegative_int_expr): + Additional boolean WARN argument, if false, require constant + argument and fail with an error. + (resolve_oacc_loop_blocks): Update positive/nonnegative + const argument checking. + (resolve_omp_clauses): Likewise; handle simdlen_type/divisor. + * trans-openmp.cc (gfc_trans_omp_clauses, gfc_split_omp_clauses): + Handle simdlen clause's simdlen_type and simdlen_divisor. + 2026-10-11 Jerry DeLisle <[email protected]> * trans-stmt.cc (gfc_trans_sync_stat): Use gfc_build_addr_expr diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 8b9a88af14b8..799f5f6d3864 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,8 @@ +2026-10-12 Iain Sandoe <[email protected]> + + * Make-lang.in: Do not makr m2.pod as .INTERMEDIATE but delete it + explicitly in clean targets. + 2026-10-09 Sam James <[email protected]> PR bootstrap/112422 diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index 1da4212d9af3..224466d91a61 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,698 @@ +2026-10-13 Utkarsh Bahuguna <[email protected]> + + * rust-gcc.cc (arithmetic_or_logical_expression): Use build2_loc + instead of fold_build2_loc. + * backend/rust-constexpr.cc (eval_check_overflow_p): New function. + (eval_binary_expression): Use it. + +2026-10-13 Arthur Cohen <[email protected]> + + * checks/errors/feature/rust-feature-defs.h (FEATURE_ACTIVE): New feature. + * expand/rust-derive.cc (DeriveVisitor::derive): Add base handling for CoercePointee derive. + * expand/rust-macro-builtins.cc: Add CoercePointee as a built-in derive + * expand/rust-macro-builtins.h (enum class): Likewise. + * resolve/rust-early-name-resolver-2.0.cc (Early::visit_derive_attribute): Special case + derive(CoercePointee). + * rust-session-manager.h (should_support_coerce_pointee): New method. + * expand/rust-derive-coerce-pointee.cc: New file. + * expand/rust-derive-coerce-pointee.h: New file. + * Make-lang.in: Compile it. + +2026-10-13 Arthur Cohen <[email protected]> + + * checks/errors/feature/rust-feature-gate.cc (FeatureGate::visit): Add missing call to + default visitor for ExternType items. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * util/rust-hir-map.cc (CrateMappings::CrateMappings): Update variable + name at call site. + (CrateMappings::get_next_crate_num): Likewise. + (CrateMappings::set_current_crate): Likewise. + (CrateMappings::get_current_crate): Likewise. + (CrateMappings::get_ast_crate): Likewise. + (CrateMappings::get_ast_crate_by_node_id_raw): Likewise. + (CrateMappings::insert_ast_crate): Likewise. + * util/rust-hir-map.h (class CrateMappings): Rename variables. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * expand/rust-macro-expand.h (struct MacroExpander): Update call name. + * resolve/rust-early-name-resolver-2.0.cc (Early::visit_derive_attribute): + Likewise. + (Early::visit_non_builtin_attribute): Likewise. + * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit_extern_crate): + Likewise. + * util/rust-hir-map.cc (ProcMacroMappings::insert_derive_def): Remove. + (ProcMacroMappings::insert_bang_def): Remove. + (ProcMacroMappings::insert_attribute_def): Remove. + (ProcMacroMappings::lookup_derive_def): Remove. + (ProcMacroMappings::lookup_bang_def): Remove. + (ProcMacroMappings::lookup_attribute_def): Remove. + (ProcMacroMappings::insert_derive_invocation): Remove. + (ProcMacroMappings::lookup_derive_invocation): Remove. + (ProcMacroMappings::insert_bang_invocation): Remove. + (ProcMacroMappings::lookup_bang_invocation): Remove. + (ProcMacroMappings::insert_attribute_invocation): Remove. + (ProcMacroMappings::lookup_attribute_invocation): Remove. + * util/rust-hir-map.h (class ProcMacroMappings): Convert to struct. + (struct ProcMacroDefinitionMappings): Add definition mappings. + (struct ProcMacroInvocationsMappings): Add invocation mappings. + (struct ProcMacroMappings): Use two new separate fields for definitions + and invocations. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * checks/errors/borrowck/rust-borrow-checker.cc (BorrowChecker::go): + Update function call name. + * expand/rust-macro-substitute-ctx.cc: Likewise. + * resolve/rust-default-resolver.cc (DefaultResolver::visit): Likewise. + * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit_extern_crate): + Likewise. + * rust-session-manager.cc (Session::load_extern_crate): Likewise. + * util/rust-hir-map.cc (CrateMappings::get_next_crate_num): Likewise. + (CrateMappings::get_crate_name): Remove. + (CrateMappings::set_crate_name): Remove. + (CrateMappings::get_current_crate_name): Update with new lookup + function. + (CrateMappings::lookup_crate_name): Use internal storage getter. + (ProcMacroMappings::insert_bang_proc_macros): Remove. + (ProcMacroMappings::lookup_derive_proc_macros): Remove. + (ProcMacroMappings::lookup_bang_proc_macros): Remove. + (ProcMacroMappings::lookup_attribute_proc_macros): Remove. + * util/rust-hir-map.h (enum class): Move enum. + (class Mapping): Add a getter to const storage in order to allow + iteration on existing mappings. Also add a const getter. + (class CrateMappings): Add proc macro crate mappings. Convert + crate_name getter/setter to Mapping. + (class ProcMacroMappings): Remove crate related mappings. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * backend/rust-compile-item.cc (CompileItem::visit): Adapt call name. + * backend/rust-compile-resolve-path.cc (HIRCompileBase::query_compile): + Likewise. + * backend/rust-mangle-v0.cc (v0_path): Likewise. + * checks/errors/privacy/rust-visibility-resolver.cc + (VisibilityResolver::resolve_module_path): Likewise. + * checks/errors/rust-const-checker.cc (ConstChecker::check_function_call): + Likewise. + * checks/errors/rust-readonly-check.cc (ReadonlyChecker::visit): + Likewise. + * checks/errors/rust-unsafe-checker.cc (UnsafeChecker::check_use_of_static): + Likewise. + (UnsafeChecker::check_function_call): Likewise. + (UnsafeChecker::check_function_attr): Likewise. + * checks/lints/rust-lint-marklive.cc (MarkLive::go): Likewise. + (MarkLive::visit): Likewise. + * checks/lints/unused/rust-unused-checker.cc (UnusedChecker::visit): + Likewise. + * hir/rust-ast-lower-base.cc (ASTLoweringBase::lower_extern_block): + Likewise. + * hir/rust-ast-lower-block.h: Likewise. + * hir/rust-ast-lower-expr.cc (ASTLoweringExpr::translate): Likewise. + * hir/rust-ast-lower-implitem.cc (ASTLowerImplItem::visit): Likewise. + (ASTLowerTraitItem::translate): Likewise. + (ASTLowerTraitItem::visit): Likewise. + * hir/rust-ast-lower-item.cc (ASTLoweringItem::translate): Likewise. + (ASTLoweringItem::visit): Likewise. + * hir/rust-ast-lower-pattern.cc (ASTLoweringPattern::translate): + Likewise. + * hir/rust-ast-lower-stmt.cc (ASTLoweringStmt::translate): Likewise. + * hir/rust-ast-lower-struct-field-expr.h: Likewise. + * hir/rust-ast-lower-type.cc (ASTLoweringType::translate): Likewise. + (ASTLowerGenericParam::translate): Likewise. + * hir/rust-ast-lower.cc (ASTLowerPathInExpression::visit): Likewise. + (ASTLowerQualPathInExpression::visit): Likewise. + * hir/tree/rust-hir-pattern-abstract.cc (PathPattern::is_refutable): + Likewise. + * typecheck/rust-hir-trait-resolve.cc (TraitResolver::resolve_path_to_trait): + Likewise. + * typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::visit): + Likewise. + (TypeCheckExpr::resolve_root_path): Likewise. + * typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): + Likewise. + * typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path): + Likewise. + * typecheck/rust-type-util.cc (query_type): Likewise. + * util/rust-hir-map.cc (Mappings::resolve_nodeid_to_stmt): Likewise. + (Mappings::build_impl_indexes): Likewise. + (Mappings::insert_trait_item_mapping): Likewise. + * util/rust-hir-map.h: Change HIR mapping name to their plural + counterpart. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * ast/rust-collect-lang-items.cc (CollectLangItems::visit): Adapt name + at call site. + * backend/rust-compile-expr.cc: Likewise. + * backend/rust-compile-type.cc (TyTyResolveCompile::get_unit_type): + Likewise. + * checks/errors/borrowck/rust-borrow-checker.cc (BorrowChecker::go): + Likewise. + * checks/errors/privacy/rust-visibility-resolver.cc + (VisibilityResolver::resolve_module_path): Likewise. + * expand/rust-macro-expand.h (struct MacroExpander): Likewise. + * expand/rust-macro-substitute-ctx.cc: Likewise. + * hir/rust-ast-lower-base.cc (ASTLoweringBase::lower_lifetime): + Likewise. + (ASTLoweringBase::lower_loop_label): Likewise. + (ASTLoweringBase::lower_path_expr_seg): Likewise. + (ASTLoweringBase::lower_self): Likewise. + (ASTLoweringBase::lower_extern_block): Likewise. + * hir/rust-ast-lower-block.h: Likewise. + * hir/rust-ast-lower-enumitem.h: Likewise. + * hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Likewise. + * hir/rust-ast-lower-extern.h: Likewise. + * hir/rust-ast-lower-implitem.cc (ASTLowerImplItem::visit): Likewise. + (ASTLowerTraitItem::visit): Likewise. + * hir/rust-ast-lower-item.cc (ASTLoweringItem::visit): Likewise. + (ASTLoweringSimplePath::lower): Likewise. + * hir/rust-ast-lower-pattern.cc (ASTLoweringPattern::visit): Likewise. + * hir/rust-ast-lower-stmt.cc (ASTLoweringStmt::visit): Likewise. + * hir/rust-ast-lower-type.cc (ASTLowerTypePath::visit): Likewise. + (ASTLowerQualifiedPathInType::visit): Likewise. + (ASTLoweringType::visit): Likewise. + (ASTLowerGenericParam::visit): Likewise. + (ASTLoweringTypeBounds::visit): Likewise. + (ASTLowerWhereClauseItem::visit): Likewise. + * hir/rust-ast-lower.cc (ASTLowering::go): Likewise. + (ASTLoweringBlock::visit): Likewise. + (ASTLoweringIfBlock::visit): Likewise. + (ASTLoweringIfLetBlock::desugar_iflet): Likewise. + (ASTLoweringIfLetBlock::visit): Likewise. + (ASTLowerStructExprField::visit): Likewise. + (ASTLoweringExprWithBlock::visit): Likewise. + (ASTLowerPathInExpression::visit): Likewise. + (ASTLoweringBase::lower_qual_path_type): Likewise. + (ASTLowerQualPathInExpression::visit): Likewise. + * metadata/rust-export-metadata.cc (PublicInterface::gather_export_data): + Likewise. + (PublicInterface::write_to_object_file): Likewise. + (PublicInterface::write_to_path): Likewise. + (PublicInterface::expected_metadata_filename): Likewise. + * resolve/rust-default-resolver.cc (DefaultResolver::visit): Likewise. + * resolve/rust-early-name-resolver-2.0.cc (Early::visit_derive_attribute): + Likewise. + (Early::visit_non_builtin_attribute): Likewise. + * resolve/rust-forever-stack.h: Likewise. + * resolve/rust-name-resolution-context.h: Likewise. + * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit_extern_crate): + Likewise. + * rust-session-manager.cc (Session::handle_crate_name): Likewise. + (Session::compile_crate): Likewise. + (Session::load_extern_crate): Likewise. + * typecheck/rust-hir-type-check-base.cc (TypeCheckBase::resolve_literal): + Likewise. + * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): + Likewise. + (TypeCheckExpr::resolve_fn_trait_call): Likewise. + * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): + Likewise. + (TypeCheckImplItem::resolve_function_signature): Likewise. + * typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit): + Likewise. + * typecheck/rust-hir-type-check-struct.cc (TypeCheckStructExpr::resolve): + Likewise. + * typecheck/rust-hir-type-check.cc (TraitItemReference::get_type_from_fn): + Likewise. + * typecheck/rust-type-util.cc (query_type): Likewise. + * typecheck/rust-tyty-bounds.cc: Likewise. + * typecheck/rust-tyty-subst.cc (SubstitutionParamMapping::override_context): + Likewise. + * typecheck/rust-tyty-util.cc (TyVar::monomorphized_clone): Likewise. + * typecheck/rust-tyty.cc (InferType::clone): Likewise. + (VariantDef::clone): Likewise. + (VariantDef::monomorphized_clone): Likewise. + (ConstInferType::clone): Likewise. + * util/rust-hir-map.cc (Mappings::get_ast_crate_by_node_id): Likewise. + (Mappings::insert_macro_def): Likewise. + (Mappings::insert_glob_container): Likewise. + * util/rust-hir-map.h: Rename pmacro_mappings to pmacro and + crate_mappings to crate. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * backend/rust-compile-item.cc (CompileItem::visit): Use new hir + category. + * backend/rust-compile-resolve-path.cc (HIRCompileBase::query_compile): + Likewise. + * backend/rust-mangle-v0.cc (v0_path): Likewise. + * checks/errors/privacy/rust-visibility-resolver.cc + (VisibilityResolver::resolve_module_path): Likewise. + * checks/errors/rust-const-checker.cc (ConstChecker::check_function_call): + Likewise. + * checks/errors/rust-readonly-check.cc (ReadonlyChecker::visit): + Likewise. + * checks/errors/rust-unsafe-checker.cc (UnsafeChecker::check_use_of_static): + Likewise. + (UnsafeChecker::check_function_call): Likewise. + (UnsafeChecker::check_function_attr): Likewise. + * checks/lints/rust-lint-marklive.cc (MarkLive::go): Likewise. + (MarkLive::visit): Likewise. + * checks/lints/unused/rust-unused-checker.cc (UnusedChecker::visit): + Likewise. + * hir/rust-ast-lower-base.cc (ASTLoweringBase::lower_extern_block): + Likewise. + * hir/rust-ast-lower-block.h: Likewise. + * hir/rust-ast-lower-expr.cc (ASTLoweringExpr::translate): Likewise. + * hir/rust-ast-lower-implitem.cc (ASTLowerImplItem::visit): Likewise. + (ASTLowerTraitItem::translate): Likewise. + (ASTLowerTraitItem::visit): Likewise. + * hir/rust-ast-lower-item.cc (ASTLoweringItem::translate): Likewise. + (ASTLoweringItem::visit): Likewise. + * hir/rust-ast-lower-pattern.cc (ASTLoweringPattern::translate): + Likewise. + * hir/rust-ast-lower-stmt.cc (ASTLoweringStmt::translate): Likewise. + * hir/rust-ast-lower-struct-field-expr.h: Likewise. + * hir/rust-ast-lower-type.cc (ASTLoweringType::translate): Likewise. + (ASTLowerGenericParam::translate): Likewise. + * hir/rust-ast-lower.cc (ASTLowerPathInExpression::visit): Likewise. + (ASTLowerQualPathInExpression::visit): Likewise. + * hir/tree/rust-hir-pattern-abstract.cc (PathPattern::is_refutable): + Likewise. + * typecheck/rust-hir-trait-resolve.cc (TraitResolver::resolve_path_to_trait): + Likewise. + * typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::visit): + Likewise. + (TypeCheckExpr::resolve_root_path): Likewise. + * typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): + Likewise. + * typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path): + Likewise. + * typecheck/rust-type-util.cc (query_type): Likewise. + * util/rust-hir-map.cc (Mappings::insert_hir_item): Move to dedicated + mappings within the hir category. + (Mappings::lookup_hir_item): Likewise. + (Mappings::insert_hir_trait_item): Likewise. + (Mappings::lookup_hir_trait_item): Likewise. + (Mappings::insert_hir_extern_block): Likewise. + (Mappings::lookup_hir_extern_block): Likewise. + (Mappings::insert_module): Likewise. + (Mappings::lookup_module): Likewise. + (Mappings::insert_hir_expr): Likewise. + (Mappings::lookup_hir_expr): Likewise. + (Mappings::insert_hir_path_expr_seg): Likewise. + (Mappings::lookup_hir_path_expr_seg): Likewise. + (Mappings::insert_hir_generic_param): Likewise. + (Mappings::lookup_hir_generic_param): Likewise. + (Mappings::insert_hir_type): Likewise. + (Mappings::lookup_hir_type): Likewise. + (Mappings::insert_hir_stmt): Likewise. + (Mappings::lookup_hir_stmt): Likewise. + (Mappings::insert_hir_param): Likewise. + (Mappings::lookup_hir_param): Likewise. + (Mappings::insert_hir_self_param): Likewise. + (Mappings::lookup_hir_self_param): Likewise. + (Mappings::insert_hir_struct_field): Likewise. + (Mappings::lookup_hir_struct_field): Likewise. + (Mappings::insert_hir_pattern): Likewise. + (Mappings::lookup_hir_pattern): Likewise. + (Mappings::resolve_nodeid_to_stmt): Likewise. + (Mappings::build_impl_indexes): Likewise. + (Mappings::insert_trait_item_mapping): Likewise. + * util/rust-hir-map.h (class HIRMappings): Add new class for all hir + related mappings. + * util/rust-hir-map.hxx: New file. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * checks/errors/privacy/rust-privacy-reporter.cc (PrivacyReporter::check_violation_inner): + Use ast category. + * checks/errors/privacy/rust-pub-restricted-visitor.cc + (PubRestrictedVisitor::is_restriction_valid): Likewise. + * checks/errors/privacy/rust-visibility-resolver.cc (VisibilityResolver::go): + Likewise. + (VisibilityResolver::resolve_and_update): Likewise. + (VisibilityResolver::visit): Likewise. + * util/rust-hir-map.cc (Mappings::insert_visibility): Move to + ASTMappings. + (Mappings::lookup_visibility): Likewise. + * util/rust-hir-map.h (class ASTMappings): Add a mapping class + dedicated to mapping an id to an Item. Add a specialized ASTMappings + class to hold all ast related mappings. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * expand/rust-macro-expand.h (struct MacroExpander): Apply new name. + * resolve/rust-early-name-resolver-2.0.cc (Early::visit_derive_attribute): + Likewise. + (Early::visit_non_builtin_attribute): Likewise. + * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit_extern_crate): + Likewise. + * util/rust-hir-map.cc (ProcMacroMappings::insert_bang_proc_macros): + Use new member name. + (ProcMacroMappings::lookup_derive_proc_macros): Likewise. + (ProcMacroMappings::lookup_bang_proc_macros): Likewise. + (ProcMacroMappings::lookup_attribute_proc_macros): Likewise. + (ProcMacroMappings::insert_derive_proc_macro_def): Likewise. + (ProcMacroMappings::insert_derive_def): Likewise. + (ProcMacroMappings::insert_bang_proc_macro_def): Likewise. + (ProcMacroMappings::insert_bang_def): Likewise. + (ProcMacroMappings::insert_attribute_proc_macro_def): Likewise. + (ProcMacroMappings::insert_attribute_def): Likewise. + (ProcMacroMappings::lookup_derive_proc_macro_def): Likewise. + (ProcMacroMappings::lookup_derive_def): Likewise. + (ProcMacroMappings::lookup_bang_proc_macro_def): Likewise. + (ProcMacroMappings::lookup_bang_def): Likewise. + (ProcMacroMappings::lookup_attribute_proc_macro_def): Likewise. + (ProcMacroMappings::lookup_attribute_def): Likewise. + (ProcMacroMappings::insert_derive_invocation): Likewise. + (ProcMacroMappings::lookup_derive_proc_macro_invocation): Likewise. + (ProcMacroMappings::lookup_derive_invocation): Likewise. + (ProcMacroMappings::insert_bang_invocation): Likewise. + (ProcMacroMappings::lookup_bang_invocation): Likewise. + (ProcMacroMappings::insert_attribute_invocation): Likewise. + (ProcMacroMappings::lookup_attribute_invocation): Likewise. + * util/rust-hir-map.h (class ProcMacroMappings): Rename member maps as + well as some functions to remove the proc macro mention. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * expand/rust-macro-expand.h (struct MacroExpander): Use new macro + category. + * resolve/rust-early-name-resolver-2.0.cc (Early::visit_derive_attribute): + Likewise. + (Early::visit_non_builtin_attribute): Likewise. + * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit_extern_crate): + Likewise. + * rust-session-manager.cc (Session::load_extern_crate): Likewise. + * util/rust-hir-map.cc (Mappings::insert_derive_proc_macros): Move to + specialized macro class declartion. + (Mappings::insert_bang_proc_macros): Move from here... + (ProcMacroMappings::insert_bang_proc_macros): ... to here. + (Mappings::insert_attribute_proc_macros): Likewise. + (Mappings::lookup_derive_proc_macros): Likewise. + (ProcMacroMappings::lookup_derive_proc_macros): Likewise. + (Mappings::lookup_bang_proc_macros): Likewise. + (ProcMacroMappings::lookup_bang_proc_macros): Likewise. + (Mappings::lookup_attribute_proc_macros): Likewise. + (ProcMacroMappings::lookup_attribute_proc_macros): Likewise. + (Mappings::insert_derive_proc_macro_def): Likewise. + (ProcMacroMappings::insert_derive_proc_macro_def): Likewise. + (Mappings::insert_bang_proc_macro_def): Likewise. + (ProcMacroMappings::insert_bang_proc_macro_def): Likewise. + (Mappings::insert_attribute_proc_macro_def): Likewise. + (ProcMacroMappings::insert_attribute_proc_macro_def): Likewise. + (Mappings::lookup_derive_proc_macro_def): Likewise. + (ProcMacroMappings::lookup_derive_proc_macro_def): Likewise. + (Mappings::lookup_bang_proc_macro_def): Likewise. + (ProcMacroMappings::lookup_bang_proc_macro_def): Likewise. + (Mappings::lookup_attribute_proc_macro_def): Likewise. + (ProcMacroMappings::lookup_attribute_proc_macro_def): Likewise. + (Mappings::insert_derive_proc_macro_invocation): Likewise. + (Mappings::lookup_derive_proc_macro_invocation): Likewise. + (ProcMacroMappings::lookup_derive_proc_macro_invocation): Likewise. + (Mappings::insert_bang_proc_macro_invocation): Likewise. + (Mappings::lookup_bang_proc_macro_invocation): Likewise. + (Mappings::insert_attribute_proc_macro_invocation): Likewise. + (Mappings::lookup_attribute_proc_macro_invocation): Likewise. + * util/rust-hir-map.h (class ProcMacroMappings): Add specialized class + for macro mappings. + +2026-10-13 Pierre-Emmanuel Patry <[email protected]> + + * ast/rust-collect-lang-items.cc (CollectLangItems::visit): Use sub + category. + * backend/rust-compile-expr.cc: Likewise. + * backend/rust-compile-type.cc (TyTyResolveCompile::get_unit_type): Likewise. + * checks/errors/borrowck/rust-borrow-checker.cc (BorrowChecker::go): Likewise. + * checks/errors/privacy/rust-visibility-resolver.cc + (VisibilityResolver::resolve_module_path): Likewise. + * expand/rust-macro-substitute-ctx.cc: Likewise. + * hir/rust-ast-lower-base.cc (ASTLoweringBase::lower_lifetime): Likewise. + (ASTLoweringBase::lower_loop_label): Likewise. + (ASTLoweringBase::lower_path_expr_seg): Likewise. + (ASTLoweringBase::lower_self): Likewise. + (ASTLoweringBase::lower_extern_block): Likewise. + * hir/rust-ast-lower-block.h: Likewise. + * hir/rust-ast-lower-enumitem.h: Likewise. + * hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Likewise. + * hir/rust-ast-lower-extern.h: Likewise. + * hir/rust-ast-lower-implitem.cc (ASTLowerImplItem::visit): Likewise. + (ASTLowerTraitItem::visit): Likewise. + * hir/rust-ast-lower-item.cc (ASTLoweringItem::visit): Likewise. + (ASTLoweringSimplePath::lower): Likewise. + * hir/rust-ast-lower-pattern.cc (ASTLoweringPattern::visit): Likewise. + * hir/rust-ast-lower-stmt.cc (ASTLoweringStmt::visit): Likewise. + * hir/rust-ast-lower-type.cc (ASTLowerTypePath::visit): Likewise. + (ASTLowerQualifiedPathInType::visit): Likewise. + (ASTLoweringType::visit): Likewise. + (ASTLowerGenericParam::visit): Likewise. + (ASTLoweringTypeBounds::visit): Likewise. + (ASTLowerWhereClauseItem::visit): Likewise. + * hir/rust-ast-lower.cc (ASTLowering::go): Likewise. + (ASTLoweringBlock::visit): Likewise. + (ASTLoweringIfBlock::visit): Likewise. + (ASTLoweringIfLetBlock::desugar_iflet): Likewise. + (ASTLoweringIfLetBlock::visit): Likewise. + (ASTLowerStructExprField::visit): Likewise. + (ASTLoweringExprWithBlock::visit): Likewise. + (ASTLowerPathInExpression::visit): Likewise. + (ASTLoweringBase::lower_qual_path_type): Likewise. + (ASTLowerQualPathInExpression::visit): Likewise. + * metadata/rust-export-metadata.cc (PublicInterface::gather_export_data): + Likewise. + (PublicInterface::write_to_object_file): Likewise. + (PublicInterface::write_to_path): Likewise. + (PublicInterface::expected_metadata_filename): Likewise. + * resolve/rust-default-resolver.cc (DefaultResolver::visit): Likewise. + * resolve/rust-forever-stack.h: Likewise. + * resolve/rust-name-resolution-context.h: Likewise. + * rust-session-manager.cc (Session::handle_crate_name): Likewise. + (Session::compile_crate): Likewise. + (Session::load_extern_crate): Likewise. + * typecheck/rust-hir-type-check-base.cc (TypeCheckBase::resolve_literal): + Likewise. + * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): + Likewise. + (TypeCheckExpr::resolve_fn_trait_call): Likewise. + * typecheck/rust-hir-type-check-implitem.cc (TypeCheckTopLevelExternItem::visit): + Likewise. + (TypeCheckImplItem::resolve_function_signature): Likewise. + * typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit): + Likewise. + * typecheck/rust-hir-type-check-struct.cc (TypeCheckStructExpr::resolve): + Likewise. + * typecheck/rust-hir-type-check.cc (TraitItemReference::get_type_from_fn): + Likewise. + * typecheck/rust-type-util.cc (query_type): Likewise. + * typecheck/rust-tyty-bounds.cc: Likewise. + * typecheck/rust-tyty-subst.cc (SubstitutionParamMapping::override_context): + Likewise. + * typecheck/rust-tyty-util.cc (TyVar::monomorphized_clone): Likewise. + * typecheck/rust-tyty.cc (InferType::clone): Likewise. + (ConstInferType::clone): Likewise. + * util/rust-hir-map.cc (CrateMappings::CrateMappings): Add a new + specialized class to keep all crate related mappings. + (Mappings::Mappings): Move some member functions to CrateMappings. + (Mappings::get_next_crate_num): Likewise. + (CrateMappings::get_next_crate_num): Likewise. + (Mappings::set_current_crate): Likewise. + (CrateMappings::set_current_crate): Likewise. + (Mappings::get_current_crate): Likewise. + (CrateMappings::get_current_crate): Likewise. + (Mappings::get_crate_name): Likewise. + (CrateMappings::get_crate_name): Likewise. + (Mappings::lookup_crate_num): Likewise. + (CrateMappings::lookup_crate_num): Likewise. + (Mappings::set_crate_name): Likewise. + (CrateMappings::set_crate_name): Likewise. + (Mappings::get_current_crate_name): Likewise. + (CrateMappings::get_current_crate_name): Likewise. + (Mappings::lookup_crate_name): Likewise. + (CrateMappings::lookup_crate_name): Likewise. + (Mappings::crate_num_to_nodeid): Likewise. + (CrateMappings::crate_num_to_nodeid): Likewise. + (Mappings::node_is_crate): Likewise. + (CrateMappings::node_is_crate): Likewise. + (Mappings::get_ast_crate): Likewise. + (CrateMappings::get_ast_crate): Likewise. + (Mappings::get_ast_crate_by_node_id): Likewise. + (Mappings::get_ast_crate_by_node_id_raw): Likewise. + (CrateMappings::get_ast_crate_by_node_id_raw): Likewise. + (Mappings::insert_ast_crate): Likewise. + (CrateMappings::insert_ast_crate): Likewise. + (Mappings::insert_macro_def): Likewise. + (Mappings::insert_glob_container): Likewise. + * util/rust-hir-map.h (class Mappings): Move some declarations from + here... + (class CrateMappings): ...to here. + +2026-10-13 Yap Zhi Heng <[email protected]> + + * util/rust-intrinsic-values.h (Rust::Values::Intrinsics): Add entries for atomic_store, + atomic_store_rel, atomic_load, atomic_load_acq. + * backend/rust-compile-intrinsic.cc (generic_intrinsics): Likewise. + +2026-10-13 Owen Avery <[email protected]> + + * checks/errors/rust-ast-validation.cc + (ASTValidation::visit (Function)): Emit error on complex + patterns in non-extern bodyless functions as well. + +2026-10-13 Utkarsh Bahuguna <[email protected]> + + * ast/rust-ast-builder.cc (Builder::new_type_param): Handle + FUNCTION segments. + +2026-10-13 Owen Avery <[email protected]> + + * resolve/rust-late-name-resolver-2.0.cc (Late::Late): + Initialize in_bodyless_params. + (Late::visit (FunctionParam)): New function definition, skip + visiting the patterns of function parameters on bodyless + functions. + (Late::visit_function_params): Set in_bodyless_params. + * resolve/rust-late-name-resolver-2.0.h + (Late::visit (FunctionParam)): New function declaration. + (Late::in_bodyless_params): New member variable. + +2026-10-13 Yap Zhi Heng <[email protected]> + + * lang.opt: Remove frust-c-style-string-literals option. + * rust-session-manager.h (Session): New should_support_cstr_parsing function. + * parse/rust-parse-impl-expr.hxx (Parser<ManagedTokenSource>::parse_literal_expr): + Replace old flag_c_style_string_literals check with should_support_cstr_parsing. + (Parser<ManagedTokenSource>::null_denotation_not_path): Likewise. + * parse/rust-parse.h: Import rust-session-manager.h to access Session class. + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-hir-type-check-base.cc (walk_type_to_constrain): walk binding args + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-hir-trait-resolve.cc (TraitResolver::resolve_trait): add missing + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-hir-dot-operator.cc (MethodResolver::try_hook): use new helper + * typecheck/rust-hir-path-probe-expr.cc (PathProbeExpr::probe_bounds): likewise + * typecheck/rust-hir-path-probe-type.cc (TypePathProbe::probe_generic): likewise + * typecheck/rust-hir-type-check-type.cc (TypeResolveGenericParam::visit): likewise + (TypeResolveGenericParam::apply_trait_bounds): track new decl id + * typecheck/rust-hir-type-check.h: new helper + * typecheck/rust-typecheck-context.cc (TypeCheckContext::predicates_for_type): impl + * typecheck/rust-tyty.cc (ParamType::ParamType): new decl id + (ParamType::clone): likewise + * typecheck/rust-tyty.h: likewise + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-coercion.cc (TypeCoercionRules::TryCoerce): add flag + (TypeCoercionRules::TypeCoercionRules): Likewise. + (TypeCoercionRules::do_coercion): Likewise. + (TypeCoercionRules::coerce_unsafe_ptr): Likewise. + (TypeCoercionRules::coerce_borrowed_pointer): Likewise. + (TypeCoercionRules::select): Likewise. + * typecheck/rust-coercion.h: Likewise. + * typecheck/rust-hir-dot-operator.cc (MethodResolver::try_select_predicate_candidates): + Likewise. + * typecheck/rust-type-util.cc (unify_site_and): Likewise. + * typecheck/rust-type-util.h (unify_site_and): Likewise. + * typecheck/rust-unify.cc (UnifyRules::UnifyRules): Likewise. + (UnifyRules::Resolve): Likewise. + (UnifyRules::resolve_subtype): Likewise. + (UnifyRules::expect_never): Likewise. + * typecheck/rust-unify.h: Likewise. + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-type-util.cc (normalize_projection): resolve through super traits + * typecheck/rust-typecheck-context.cc: disable infer for trait-self + * typecheck/rust-tyty-subst.cc: reuse to handle nested arguments + * typecheck/rust-unify.cc (UnifyRules::go): relax infer on adts + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-tyty.cc (ParamType::clone): add guard + +2026-10-13 Arthur Cohen <[email protected]> + + * parse/rust-parse.h: Remove field and associated method for + retrieving the errors. + +2026-10-13 Philip Herron <[email protected]> + + * backend/rust-compile-context.cc (Context::type_hasher): track active adt's + * backend/rust-compile-context.h: likewise + * backend/rust-compile-type.cc (type_reaches_adt): likewise + (is_recursive_adt): new helper + (TyTyResolveCompile::compile): check for active adt + (TyTyResolveCompile::visit): setup placeholder node then layout + * rust-session-manager.cc (Session::compile_crate): saw errors early return + * typecheck/rust-hir-type-check-item.cc (validate_adt_size): new helper + (TypeCheckItem::visit): setup type node then add variants + * typecheck/rust-hir-type-check-type.cc (TypeCheckType::visit): check for incomplete + * typecheck/rust-hir-type-check.h: new helpers + * typecheck/rust-typecheck-context.cc (make_adt_substitution_key): likewise + * typecheck/rust-tyty.cc (BaseType::monomorphized_clone): early return + (BaseType::contains_infer): track visited for recursive safety + (BaseType::is_concrete): likewise + (ADTType::is_equal): likewise + (ADTType::handle_substitions): likewise + (FnPtr::as_string): likewise + (PointerType::as_string): likewise + * typecheck/rust-tyty.h: recusision safety + * typecheck/rust-unify.cc (UnifyRules::UnifyRules): new ActiveADT's guard + (UnifyRules::Resolve): likewise + (UnifyRules::resolve_subtype): likewise + (UnifyRules::expect_adt): likewise + * typecheck/rust-unify.h: likewise + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-hir-type-check-base.cc (walk_type_to_constrain): walk the generics as well + +2026-10-13 Owen Avery <[email protected]> + + * resolve/rust-name-resolver.cc (Scope::Scope): Remove function + definition. + (Scope::insert): Likewise. + (Scope::lookup): Likewise. + (Scope::lookup_decl_type): Likewise. + (Scope::lookup_rib_for_decl): Likewise. + (Scope::iterate): Likewise. + (Scope::peek): Likewise. + (Scope::push): Likewise. + (Scope::pop): Likewise. + (Scope::append_reference_for_def): Likewise. + (Scope::decl_was_declared_here): Likewise. + * resolve/rust-name-resolver.h (class Scope): Remove. + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-hir-trait-resolve.cc (TraitItemReference::resolve_item): track lifetimes + +2026-10-13 Philip Herron <[email protected]> + + * backend/rust-compile-resolve-path.cc: return a constructor for this ADT + * backend/rust-constexpr.cc (adjust_temp_type): check for constructor + * typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit): this is a coercion site + +2026-10-13 Philip Herron <[email protected]> + + * expand/rust-expand-visitor.cc (builtin_derive_item): check for null and remove + +2026-10-13 Philip Herron <[email protected]> + + * typecheck/rust-hir-type-check-type.cc (TypeCheckType::visit): always update const type + * typecheck/rust-unify.cc (UnifyRules::expect_array): emit_error=false + +2026-10-13 Philip Herron <[email protected]> + + * backend/rust-compile-expr.cc (CompileExpr::visit): check for const args + * hir/tree/rust-hir-expr.cc (CallExpr::CallExpr): add new helper to parse attribute + (CallExpr::operator=): new member + * hir/tree/rust-hir-expr.h (class CallExpr): new helper + * hir/tree/rust-hir-item.cc (Function::get_legacy_const_generic_indexes): likewise + * hir/tree/rust-hir-item.h: likewise + * typecheck/rust-tyty-call.cc (TypeCheckCallExpr::visit): handle const args + * typecheck/rust-tyty-subst.cc (SubstitutionRef::resolve_const_argument): refactor out + * typecheck/rust-tyty-subst.h: likewise + 2026-10-08 Guillaume Gomez <[email protected]> * Make-lang.in: Add compilation of `attr-handlers.c` in diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d0c255a17b0d..fbaf66a9dda8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,414 @@ +2026-10-13 Jerry DeLisle <[email protected]> + + PR fortran/110421 + * gfortran.dg/pr110421.f90: New test. + +2026-10-13 Harald Anlauf <[email protected]> + + PR fortran/127845 + * gfortran.dg/findloc_11.f90: New test. + +2026-10-13 Harald Anlauf <[email protected]> + Federico Perini <[email protected]> + + PR fortran/127846 + * gfortran.dg/minmaxloc_mask_back.f90: New test. + +2026-10-13 Utkarsh Bahuguna <[email protected]> + + * rust/compile/const_overflow_unsigned.rs: Rewrite for E0080. + * rust/compile/const_overflow_signed.rs: New test. + * rust/compile/torture/arrays5.rs: Require lp64 target. + * rust/compile/torture/arrays6.rs: Likewise. + +2026-10-13 Arthur Cohen <[email protected]> + + * rust/compile/derive-coerce-pointee1.rs: New test. + * rust/compile/derive-coerce-pointee2.rs: New test. + * rust/compile/derive-coerce-pointee3.rs: New test. + +2026-10-13 Arthur Cohen <[email protected]> + + * rust/core/core.exp: Switch from testing core until lowering to + testing core until typecheck. + +2026-10-13 Owen Avery <[email protected]> + + * rust/compile/function-param-bodyless.rs: New test. + +2026-10-13 Utkarsh Bahuguna <[email protected]> + + * rust/compile/issues/3939.rs: New test. + +2026-10-13 Owen Avery <[email protected]> + + * rust/compile/multiple_bindings3.rs: New test. + +2026-10-13 Yap Zhi Heng <[email protected]> + + * rust/compile/c_string_null_byte_check.rs: Remove frust-c-style-string-literals + from compilation options. + * rust/execute/torture/c_string_ensure_null_term.rs: Likewise. + * rust/execute/torture/c_string.rs: Likewise. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/4911.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/4912.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/4865-1.rs: New test. + * rust/compile/issues/4865-2.rs: New test. + * rust/compile/projection-bound-decl-id.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/4918.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/generic-type-alias-subst-bug.rs: New test. + * rust/compile/issues/4884.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/3015.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/3903.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/issue-1178.rs: New test. + * rust/compile/issues/issue-2757.rs: New test. + * rust/compile/issues/issue-4709.rs: New test. + * rust/compile/recursive-types-infinite.rs: New test. + * rust/compile/recursive-types-mismatch.rs: New test. + * rust/compile/recusive-types-1.rs: New test. + * rust/compile/recusive-types-2.rs: New test. + * rust/compile/recusive-types-3.rs: New test. + * rust/compile/recusive-types-4.rs: New test. + * rust/compile/recusive-types-5.rs: New test. + * rust/compile/recusive-types-6.rs: New test. + * rust/compile/recusive-types-7.rs: New test. + * rust/execute/recursive-types-fnptr.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/issue-4883.rs: New test. + +2026-10-13 Arthur Cohen <[email protected]> + + * rust/compile/issues/2259.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/issue-4885.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/2477.rs: remove old bad diag + * rust/compile/issues/4165.rs: likewise + * rust/compile/issues/issue-4668.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/4168.rs: remove dup/bad diagnostic + * rust/compile/issues/issue-4153.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/issue-4675.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/issue-4152.rs: New test. + +2026-10-13 Philip Herron <[email protected]> + + * rust/compile/issues/issue-3868.rs: New test. + +2026-10-13 Jerry DeLisle <[email protected]> + + PR libfortran/127837 + * gfortran.dg/coarray/signal_team_1.f90: Add STAT= to END TEAM. + * gfortran.dg/coarray/stop_end_team_1.f90: Likewise and check it. + * gfortran.dg/coarray/stop_sync_team_1.f90: Likewise. + * gfortran.dg/coarray/end_team_stat_1.f90: New test. + * gfortran.dg/coarray/end_team_stat_2.f90: New test. + +2026-10-13 Tobias Burnus <[email protected]> + + * gfortran.dg/gomp/spatial-dimensions-3.f90: Check that severity + clause is not permitted with target/teams. + * gfortran.dg/gomp/spatial-dimensions-4.f90: Remove severity clause + on target/teams constructs except those with parallel; update + expected tree dump. + * gfortran.dg/gomp/spatial-dimensions-5.f90: Likewise. + +2026-10-13 Iain Sandoe <[email protected]> + + PR target/126723 + * g++.dg/modules/src-loc-1_a.H: Allow linker-visible source + location symbols on Darwin. + * g++.dg/modules/src-loc-1_c.C: Likewise. + +2026-10-13 Tobias Burnus <[email protected]> + + PR middle-end/127850 + * c-c++-common/gomp/declare-variant-5.c: Add dg-bogus + xfail to + silence C++ fails. + +2026-10-13 Richard Biener <[email protected]> + + PR tree-optimization/127858 + * gcc.dg/torture/pr127858.c: New testcase. + +2026-10-13 Richard Ball <[email protected]> + + * gcc.target/aarch64/atomic_fetch_add_with_shuh.c: Update test. + * gcc.target/aarch64/atomic_fetch_and_with_shuh.c: Likewise. + * gcc.target/aarch64/atomic_fetch_or_with_shuh.c: Likewise. + * gcc.target/aarch64/atomic_fetch_sub_with_shuh.c: Likewise. + * gcc.target/aarch64/atomic_fetch_xor_with_shuh.c: Likewise. + +2026-10-13 Roger Sayle <[email protected]> + Hongtao Liu <[email protected]> + + * gcc.target/i386/avx2-init-v16qi-1.c: New test case. + * gcc.target/i386/avx-init-v16qi-1.c: Add more test vectors. + * gcc.target/i386/sse-init-v16qi-1.c: Likewise. + * gcc.target/i386/sse2-init-v16qi-2.c: Likewise. + * gcc.target/i386/sse2-init-v16qi-3.c: Likewise. + * gcc.target/i386/sse4_1-init-v16qi-2.c: Likewise. + +2026-10-13 Jeff Law <[email protected]> + + PR target/127778 + * gcc.target/riscv/pr127778.c: New test. + +2026-10-13 Yongqiang Tian <[email protected]> + + PR rtl-optimization/127809 + * gcc.target/sparc/delete-related-insns-debug.c: New test. + +2026-10-13 Vineet Gupta <[email protected]> + + PR rtl-optimization/127852 + * gcc.target/aarch64/volatile-fuse-minus-1.c: New test. + * gcc.target/aarch64/volatile-fuse-minus-2.c: New test. + * gcc.target/i386/volatile-fuse-minus-1.c: New test. + * gcc.target/i386/volatile-fuse-minus-2.c: New test. + +2026-10-13 Vineet Gupta <[email protected]> + + PR tree-optimization/127853 + * gcc.dg/torture/clz-table-zero-1.c: New test. + * gcc.dg/torture/ctz-table-zero-1.c: New test. + * gcc.target/aarch64/clz-ctz-table-zero.c: New test. + * gcc.target/i386/clz-ctz-table-nonzero.c: New test. + * gcc.target/i386/clz-ctz-table-zero.c: New test. + +2026-10-13 Yongqiang Tian <[email protected]> + + PR rtl-optimization/127808 + * gcc.target/sparc/reorg-relax-barrier-debug-1.c: New test. + * gcc.target/sparc/reorg-relax-barrier-debug-2.c: New test. + +2026-10-13 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug7.f90: New test. + * gfortran.dg/pdt_bug22.f90: New test. + +2026-10-13 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug6.f90: New test. + * gfortran.dg/pdt_bug17.f90: New test. + +2026-10-13 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug4.f90: New test. + +2026-10-13 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug1.f90: New test. + +2026-10-13 Jakub Jelinek <[email protected]> + + PR middle-end/127848 + * gcc.dg/pr127848-1.c: New test. + * gcc.dg/pr127848-2.c: New test. + * gcc.dg/pr127848-3.c: New test. + * gcc.dg/pr127848-4.c: New test. + * gcc.dg/pr127848-5.c: New test. + +2026-10-13 xiezhiheng <[email protected]> + + * gcc.target/aarch64/popcnt11.c: Adjust instruction order. + * gcc.target/aarch64/pr117557.c: Likewise. + * gcc.target/aarch64/sve/noeffect2.c: Likewise. + * gcc.target/aarch64/sve/pcs/args_1.c: Match the new assembly. + * gcc.target/aarch64/sve/pred_clobber_4.c: Adjust instruction order. + * gcc.target/aarch64/sve/widen_sum_1.c: Likewise. + +2026-10-13 Jakub Jelinek <[email protected]> + + PR target/121688 + * gcc.target/i386/pr121688-f16c.c: New test. + * gcc.target/i386/pr121688-avx512f.c: New test. + * gcc.target/i386/pr121688-avx512fp16.c: New test. + * gcc.target/i386/pr121688-avx512vl.c: New test. + +2026-10-13 Jeff Law <[email protected]> + + PR tree-optimization/127813 + * gcc.target/riscv/pr127813.c: New test. + +2026-10-12 Marek Polacek <[email protected]> + + PR c++/127780 + * g++.dg/cpp23/init-stmt3.C: New test. + * g++.dg/cpp23/init-stmt4.C: New test. + +2026-10-12 Andrea Pinski <[email protected]> + + PR tree-optimization/127485 + * gcc.dg/tree-ssa/vrp-cmp-sub-1.c: New test. + * gcc.dg/tree-ssa/vrp-cmp-sub-2.c: New test. + * gcc.dg/tree-ssa/vrp-cmp-sub-3.c: New test. + +2026-10-12 Jason Merrill <[email protected]> + + PR c++/127787 + PR c++/99000 + * g++.dg/modules/gmf-8.h: New test. + * g++.dg/modules/gmf-8_a.C: New test. + * g++.dg/modules/gmf-8_b.C: New test. + +2026-10-12 Tobias Burnus <[email protected]> + + * gfortran.dg/gomp/masked-1.f90: Revert to pre-r17-5077 using a + non-constant priority-clause expr. + * gfortran.dg/gomp/taskloop-1.f90: Likewise. + * gfortran.dg/gomp/taskloop-2.f90: Use -1 as priority and update + dg-*. + +2026-10-12 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug5.f90: New test. + +2026-10-12 liuhongt <[email protected]> + + PR tree-optimization/127382 + * gcc.dg/bitint-146.c: New test. + * gcc.target/i386/pr127382.c: Likewise. + +2026-10-12 Richard Biener <[email protected]> + + PR tree-optimization/127811 + * g++.dg/vect/pr127811.cc: New testcase. + +2026-10-12 Robin Dapp <[email protected]> + Richard Sandiford <[email protected]> + + PR rtl-optimization/127443 + * gcc.target/riscv/rvv/autovec/pr127443.c: New test. + +2026-10-12 Robin Dapp <[email protected]> + + PR target/127662 + * gcc.target/riscv/rvv/autovec/pr127662.c: New test. + +2026-10-12 Josef Melcr <[email protected]> + + PR c/127464 + * gcc.dg/pr127464.c: New test. + +2026-10-12 Kyrylo Tkachov <[email protected]> + + * gcc.target/aarch64/simd-int-fma.h: New file. + * gcc.target/aarch64/simd-int-fma.c: New test. + * gcc.target/aarch64/simd-int-fma-run.c: Likewise. + * gcc.target/aarch64/simd-int-fma-shift.c: Likewise. + * gcc.target/aarch64/pr122749_1.c: Remove the expected FMA failure. + * gcc.target/aarch64/pr122749_2.c: Likewise. + * gcc.target/aarch64/pr122749_3.c: Likewise. + * gcc.target/aarch64/pr122749_8.c: Likewise. + * gcc.target/aarch64/pr122749_9.c: Likewise. + * gcc.target/aarch64/sve/mla_3.c: Expect AdvSIMD and SVE FMAs. + +2026-10-12 Tobias Burnus <[email protected]> + + PR c++/127734 + * c-c++-common/gomp/simdlen-scaled-4.c: Remove xfail for C++, + add C++ variant for __attribute__ tree scan. + * g++.dg/gomp/simdlen-scaled-3.C: New test. + +2026-10-12 Eric Botcazou <[email protected]> + + * gnat.dg/specs/debug2.ads: New test. + +2026-10-12 Jeevitha Palanisamy <[email protected]> + + PR target/127519 + * gcc.target/powerpc/builtin_altivec_tr_stxvr_runnable.c: Use + endian-specific expected values for stxvr[hwd]x. + +2026-10-12 Jeevitha Palanisamy <[email protected]> + + PR target/127148 + * gcc.target/powerpc/vsx_mask-extract-runnable.c: Fix expected + results for vec_extractm on big-endian targets. Also remove + unused variables. + +2026-10-12 Richard Biener <[email protected]> + + PR tree-optimization/127814 + * gcc.dg/vect/vect-pr127814.c: New testcase. + +2026-10-12 Torbjörn SVENSSON <[email protected]> + + PR tree-optimization/53805 + * gcc.dg/tree-ssa/fp-trapping-cmp-7.c: Pass --param + logical-op-non-short-circuit=1. + * gcc.dg/tree-ssa/fp-trapping-cmp-8.c: New test. + +2026-10-12 Tobias Burnus <[email protected]> + + PR middle-end/127723 + * gfortran.dg/gomp/clauses-1.f90: Fix testcase: priority must be + a constant expression. + * gfortran.dg/gomp/masked-1.f90: Likewise. + * gfortran.dg/gomp/target2.f90: Likewise. + * gfortran.dg/gomp/taskloop-1.f90: Likewise. + * gfortran.dg/gomp/taskloop-2.f90: Add diagnostic check for a + non-const priority. + * gfortran.dg/goacc/loop-2-kernels-tile.f95: Update dg-warn/error. + * gfortran.dg/goacc/loop-2-parallel-tile.f95: Likewise. + * gfortran.dg/goacc/loop-2-serial-tile.f95: Likewise. + * gfortran.dg/goacc/tile-1.f90: Likewise. + * gfortran.dg/gomp/atomic-18.f90: Likewise. + * gfortran.dg/gomp/atomic-2.f90: Likewise. + * gfortran.dg/gomp/pr67500.f90: Likewise. + * gfortran.dg/gomp/pr77516.f90: Likewise. + * gfortran.dg/gomp/tile-7.f90: Likewise. + * gfortran.dg/gomp/simdlen-scaled-1.f90: New test. + * gfortran.dg/gomp/simdlen-scaled-2.f90: New test. + * gfortran.dg/gomp/simdlen-scaled-3.f90: New test. + * gfortran.dg/gomp/simdlen-scaled-4.f90: New test. + * gfortran.dg/gomp/simdlen-scaled-5-1.f90: New test. + * gfortran.dg/gomp/simdlen-scaled-5-2.f90: New test. + 2026-10-11 Jerry DeLisle <[email protected]> * gfortran.dg/coarray/team_stat_1.f90: New test. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 152137b714ef..d89e92cccc56 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,135 @@ +2026-10-13 Harald Anlauf <[email protected]> + + PR fortran/127845 + * generated/findloc1_c10.c (mfindloc1_c10): Regenerate. + * generated/findloc1_c16.c (mfindloc1_c16): Likewise. + * generated/findloc1_c17.c (mfindloc1_c17): Likewise. + * generated/findloc1_c4.c (mfindloc1_c4): Likewise. + * generated/findloc1_c8.c (mfindloc1_c8): Likewise. + * generated/findloc1_i1.c (mfindloc1_i1): Likewise. + * generated/findloc1_i16.c (mfindloc1_i16): Likewise. + * generated/findloc1_i2.c (mfindloc1_i2): Likewise. + * generated/findloc1_i4.c (mfindloc1_i4): Likewise. + * generated/findloc1_i8.c (mfindloc1_i8): Likewise. + * generated/findloc1_r10.c (mfindloc1_r10): Likewise. + * generated/findloc1_r16.c (mfindloc1_r16): Likewise. + * generated/findloc1_r17.c (mfindloc1_r17): Likewise. + * generated/findloc1_r4.c (mfindloc1_r4): Likewise. + * generated/findloc1_r8.c (mfindloc1_r8): Likewise. + * generated/findloc1_s1.c (mfindloc1_s1): Likewise. + * generated/findloc1_s4.c (mfindloc1_s4): Likewise. + * m4/ifindloc1.m4: Properly advance through MASK array argument when + MASK and DIM are present. + +2026-10-13 Harald Anlauf <[email protected]> + Federico Perini <[email protected]> + + PR fortran/127846 + * generated/maxloc0_16_i1.c (mmaxloc0_16_i1): Regenerate. + * generated/maxloc0_16_i16.c (mmaxloc0_16_i16): Likewise. + * generated/maxloc0_16_i2.c (mmaxloc0_16_i2): Likewise. + * generated/maxloc0_16_i4.c (mmaxloc0_16_i4): Likewise. + * generated/maxloc0_16_i8.c (mmaxloc0_16_i8): Likewise. + * generated/maxloc0_16_m1.c (mmaxloc0_16_m1): Likewise. + * generated/maxloc0_16_m16.c (mmaxloc0_16_m16): Likewise. + * generated/maxloc0_16_m2.c (mmaxloc0_16_m2): Likewise. + * generated/maxloc0_16_m4.c (mmaxloc0_16_m4): Likewise. + * generated/maxloc0_16_m8.c (mmaxloc0_16_m8): Likewise. + * generated/maxloc0_16_r10.c (mmaxloc0_16_r10): Likewise. + * generated/maxloc0_16_r16.c (mmaxloc0_16_r16): Likewise. + * generated/maxloc0_16_r17.c (mmaxloc0_16_r17): Likewise. + * generated/maxloc0_16_r4.c (mmaxloc0_16_r4): Likewise. + * generated/maxloc0_16_r8.c (mmaxloc0_16_r8): Likewise. + * generated/maxloc0_4_i1.c (mmaxloc0_4_i1): Likewise. + * generated/maxloc0_4_i16.c (mmaxloc0_4_i16): Likewise. + * generated/maxloc0_4_i2.c (mmaxloc0_4_i2): Likewise. + * generated/maxloc0_4_i4.c (mmaxloc0_4_i4): Likewise. + * generated/maxloc0_4_i8.c (mmaxloc0_4_i8): Likewise. + * generated/maxloc0_4_m1.c (mmaxloc0_4_m1): Likewise. + * generated/maxloc0_4_m16.c (mmaxloc0_4_m16): Likewise. + * generated/maxloc0_4_m2.c (mmaxloc0_4_m2): Likewise. + * generated/maxloc0_4_m4.c (mmaxloc0_4_m4): Likewise. + * generated/maxloc0_4_m8.c (mmaxloc0_4_m8): Likewise. + * generated/maxloc0_4_r10.c (mmaxloc0_4_r10): Likewise. + * generated/maxloc0_4_r16.c (mmaxloc0_4_r16): Likewise. + * generated/maxloc0_4_r17.c (mmaxloc0_4_r17): Likewise. + * generated/maxloc0_4_r4.c (mmaxloc0_4_r4): Likewise. + * generated/maxloc0_4_r8.c (mmaxloc0_4_r8): Likewise. + * generated/maxloc0_8_i1.c (mmaxloc0_8_i1): Likewise. + * generated/maxloc0_8_i16.c (mmaxloc0_8_i16): Likewise. + * generated/maxloc0_8_i2.c (mmaxloc0_8_i2): Likewise. + * generated/maxloc0_8_i4.c (mmaxloc0_8_i4): Likewise. + * generated/maxloc0_8_i8.c (mmaxloc0_8_i8): Likewise. + * generated/maxloc0_8_m1.c (mmaxloc0_8_m1): Likewise. + * generated/maxloc0_8_m16.c (mmaxloc0_8_m16): Likewise. + * generated/maxloc0_8_m2.c (mmaxloc0_8_m2): Likewise. + * generated/maxloc0_8_m4.c (mmaxloc0_8_m4): Likewise. + * generated/maxloc0_8_m8.c (mmaxloc0_8_m8): Likewise. + * generated/maxloc0_8_r10.c (mmaxloc0_8_r10): Likewise. + * generated/maxloc0_8_r16.c (mmaxloc0_8_r16): Likewise. + * generated/maxloc0_8_r17.c (mmaxloc0_8_r17): Likewise. + * generated/maxloc0_8_r4.c (mmaxloc0_8_r4): Likewise. + * generated/maxloc0_8_r8.c (mmaxloc0_8_r8): Likewise. + * generated/minloc0_16_i1.c (mminloc0_16_i1): Likewise. + * generated/minloc0_16_i16.c (mminloc0_16_i16): Likewise. + * generated/minloc0_16_i2.c (mminloc0_16_i2): Likewise. + * generated/minloc0_16_i4.c (mminloc0_16_i4): Likewise. + * generated/minloc0_16_i8.c (mminloc0_16_i8): Likewise. + * generated/minloc0_16_m1.c (mminloc0_16_m1): Likewise. + * generated/minloc0_16_m16.c (mminloc0_16_m16): Likewise. + * generated/minloc0_16_m2.c (mminloc0_16_m2): Likewise. + * generated/minloc0_16_m4.c (mminloc0_16_m4): Likewise. + * generated/minloc0_16_m8.c (mminloc0_16_m8): Likewise. + * generated/minloc0_16_r10.c (mminloc0_16_r10): Likewise. + * generated/minloc0_16_r16.c (mminloc0_16_r16): Likewise. + * generated/minloc0_16_r17.c (mminloc0_16_r17): Likewise. + * generated/minloc0_16_r4.c (mminloc0_16_r4): Likewise. + * generated/minloc0_16_r8.c (mminloc0_16_r8): Likewise. + * generated/minloc0_4_i1.c (mminloc0_4_i1): Likewise. + * generated/minloc0_4_i16.c (mminloc0_4_i16): Likewise. + * generated/minloc0_4_i2.c (mminloc0_4_i2): Likewise. + * generated/minloc0_4_i4.c (mminloc0_4_i4): Likewise. + * generated/minloc0_4_i8.c (mminloc0_4_i8): Likewise. + * generated/minloc0_4_m1.c (mminloc0_4_m1): Likewise. + * generated/minloc0_4_m16.c (mminloc0_4_m16): Likewise. + * generated/minloc0_4_m2.c (mminloc0_4_m2): Likewise. + * generated/minloc0_4_m4.c (mminloc0_4_m4): Likewise. + * generated/minloc0_4_m8.c (mminloc0_4_m8): Likewise. + * generated/minloc0_4_r10.c (mminloc0_4_r10): Likewise. + * generated/minloc0_4_r16.c (mminloc0_4_r16): Likewise. + * generated/minloc0_4_r17.c (mminloc0_4_r17): Likewise. + * generated/minloc0_4_r4.c (mminloc0_4_r4): Likewise. + * generated/minloc0_4_r8.c (mminloc0_4_r8): Likewise. + * generated/minloc0_8_i1.c (mminloc0_8_i1): Likewise. + * generated/minloc0_8_i16.c (mminloc0_8_i16): Likewise. + * generated/minloc0_8_i2.c (mminloc0_8_i2): Likewise. + * generated/minloc0_8_i4.c (mminloc0_8_i4): Likewise. + * generated/minloc0_8_i8.c (mminloc0_8_i8): Likewise. + * generated/minloc0_8_m1.c (mminloc0_8_m1): Likewise. + * generated/minloc0_8_m16.c (mminloc0_8_m16): Likewise. + * generated/minloc0_8_m2.c (mminloc0_8_m2): Likewise. + * generated/minloc0_8_m4.c (mminloc0_8_m4): Likewise. + * generated/minloc0_8_m8.c (mminloc0_8_m8): Likewise. + * generated/minloc0_8_r10.c (mminloc0_8_r10): Likewise. + * generated/minloc0_8_r16.c (mminloc0_8_r16): Likewise. + * generated/minloc0_8_r17.c (mminloc0_8_r17): Likewise. + * generated/minloc0_8_r4.c (mminloc0_8_r4): Likewise. + * generated/minloc0_8_r8.c (mminloc0_8_r8): Likewise. + * m4/maxloc0.m4: Fix looping through array argument when BACK=.true. + * m4/minloc0.m4: Likewise. + +2026-10-13 Jerry DeLisle <[email protected]> + + PR libfortran/127837 + * caf/shmem.c (_gfortran_caf_end_team): Wait with + counter_barrier_wait and set STAT= with TEAM_HEALTH_CHECK when + an image of the team stopped or failed. Do not pass STAT= to + _gfortran_caf_deregister. + * caf/shmem/counter_barrier.c (counter_barrier_wait): Add + TERMINATED argument. + * caf/shmem/counter_barrier.h (counter_barrier_wait): Likewise. + * caf/shmem/sync.c (sync_team): Update call. + 2026-10-06 Jerry DeLisle <[email protected]> PR libfortran/127684 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index ea0d7f36b95c..b286358f0438 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2026-10-12 Tobias Burnus <[email protected]> + + PR middle-end/127723 + * testsuite/libgomp.fortran/nestedfn5.f90: Fix testcase: safelen + must be constant. + 2026-10-09 Tobias Burnus <[email protected]> PR middle-end/127723 diff --git a/libgrust/ChangeLog b/libgrust/ChangeLog index 35765a51c333..a4c64c62c5a3 100644 --- a/libgrust/ChangeLog +++ b/libgrust/ChangeLog @@ -1,3 +1,8 @@ +2026-10-13 Owen Avery <[email protected]> + + * rustc-lib/version-info: Regenerate, now mentions stdarch. + * contrib/vendor-libs.sh: New file. + 2026-10-09 Sam James <[email protected]> PR bootstrap/112422 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0f9c21a007fa..26a74a3835fc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,17 @@ +2026-10-13 Nathan Myers <[email protected]> + + PR libstdc++/127228 + * include/bits/basic_string.tcc (_M_create): Restore old version. + * testsuite/21_strings/basic_string/127228.cc: New test. + +2026-10-13 Jonathan Wakely <[email protected]> + + PR libstdc++/127757 + * src/c++20/atomic.cc (__waitable_state::_M_enter_wait): Add + comment. + (__waitable_state::_M_waiting): Add seq_cst fence and comments. + * testsuite/29_atomics/atomic/wait_notify/127757.cc: New test. + 2026-10-09 Tomasz Kamiński <[email protected]> * include/std/simd: Include <bits/ranges_access.h>.
