https://gcc.gnu.org/g:05ee9c4e49ad321787a6a3da9bc5f097eee03882
commit r17-6614-g05ee9c4e49ad321787a6a3da9bc5f097eee03882 Author: GCC Administrator <[email protected]> Date: Tue Nov 24 00:16:47 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 232 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 24 +++++ gcc/cobol/ChangeLog | 14 +++ gcc/fortran/ChangeLog | 9 ++ gcc/testsuite/ChangeLog | 155 ++++++++++++++++++++++++++++++++ libgfortran/ChangeLog | 12 +++ 7 files changed, 447 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2619ebf4edfd..da5888302993 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,235 @@ +2026-11-23 Oleg Tolmatcev <[email protected]> + + * dwarf2codeview.cc (write_custom_types): Use switch_to_section. + (codeview_debug_finish): Likewise. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * dwarf2codeview.cc (write_binary_annotations): Return if the inlinee + lines hash table is unavailable. + (codeview_abstract_function): Record functions inlined by the optimizer. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * dwarf2codeview.cc (get_type_num_array_type): Terminate the + type-chain walk after processing the element type. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * dwarf2codeview.cc (get_type_num_struct): Create forward references + before visiting the parent and defer parent definitions. + (flush_deferred_types): Process types appended during completion. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * dwarf2codeview.cc (codeview_function): Replace func with die and + funcdef_no. + (cv_func_hasher::hash): New function. + (cv_func_hasher::equal): Compare the stored DIE directly. + (new_codeview_function): Store the DIE and function definition number. + (codeview_source_line): Compare function definition numbers. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * dwarf2codeview.cc (write_lf_enum): Emit a placeholder name for + anonymous enums. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + PR debug/126910 + * dwarf2codeview.cc (get_type_num_enumeration_type): Check for an + empty field list. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + PR debug/124432 + * dwarf2codeview.cc (write_local_s_ldata32): Skip unnamed variables. + (write_s_register): Likewise. + (write_fbreg_variable): Likewise. + (write_optimized_local_variable): Likewise, including their location + ranges. + +2026-11-23 Matt Jacobson <[email protected]> + + * config/avr/avr.cc (INCLUDE_ALGORITHM): Define. + +2026-11-23 Ard Biesheuvel <[email protected]> + + * config/s390/s390.cc (s390_function_profiler): Align the + __mcount_loc entries to their size. + +2026-11-23 Yongqiang Tian <[email protected]> + + PR rtl-optimization/128860 + * sched-rgn.cc (rgn_estimate_number_of_insns): Count the + non-debug insns instead of using the LUID span. + +2026-11-23 Andrew MacLeod <[email protected]> + + * value-range-pretty-print.cc (vrange_printer::print_addr): Remove + base, offset and size. + * value-range.cc (prange::set_addr): Remove. + (prange::addr_base): Remove. + (prange::addr_offset): Remove. + (prange::addr_size): Remove. + * value-range.h (addr_base, addr_offset, addr_size): Remove prototypes. + +2026-11-23 Richard Biener <[email protected]> + + PR tree-optimization/128943 + * tree-ssa-sccvn.cc (visit_nary_op): Do not insert the + statement into the nary table when it was value-numbered + using an available narrow operation or an available negated + operand with undefined overflow. + +2026-11-23 Richard Biener <[email protected]> + + PR tree-optimization/128931 + * tree-ssa-sccvn.cc (visit_nary_op): Defend against TRUNC_DIV_EXPR + used on non-integral types. + +2026-11-23 Richard Biener <[email protected]> + + PR tree-optimization/128946 + * tree-vect-stmts.cc (vect_nop_conversion_p): PAREN_EXPR + is also a nop. + +2026-11-23 Uros Bizjak <[email protected]> + + * reg-stack.cc: Move to config/i386/i386-reg-stack.cc. + * config/i386/i386-reg-stack.cc: New file, moved from reg-stack.cc. + Include tm_p.h. Remove STACK_REGS conditionals. + (regstack_completed): Make bool. + (rest_of_handle_stack_regs): Update. + (pass_data_stack_regs, pass_stack_regs) + (make_pass_stack_regs): Remove the old gating pass. + (pass_data_stack_regs_run, pass_stack_regs_run) + (make_pass_stack_regs_run): Rename to pass_data_stack_regs, + pass_stack_regs and make_pass_stack_regs. + * Makefile.in (OBJS): Remove reg-stack.o. + (GTFILES): Remove reg-stack.cc. + * config.gcc (extra_objs) <i[34567]86-*-* | x86_64-*-*>: + Add i386-reg-stack.o. + * config/i386/t-i386 (i386-reg-stack.o): New rule. + * config/i386/i386-passes.def (pass_split_before_regstack) + (pass_stack_regs): Insert after pass_sched2. + * config/i386/i386-protos.h (make_pass_stack_regs): Declare. + * passes.def (pass_stack_regs, pass_split_before_regstack) + (pass_stack_regs_run): Remove. + * tree-pass.h (make_pass_stack_regs) + (make_pass_stack_regs_run): Remove. + * cfgcleanup.cc (old_insns_match_p): Update comment. + * ira-build.cc (loop_with_complex_edge_p): Update comment. + * rtl.h (regstack_completed): Make bool. Update comment. + * final.cc (rest_of_clean_state): Update. + * config/i386/i386.h (STACK_REGS): Ditto. + * doc/passes.texi (RTL passes): Remove + Register-to-stack conversion item. + * doc/tm.texi.in (Stack Registers): Remove advice + on porting the stack register pass to a new architecture. + (STACK_REG_COVER_CLASS): Remove. + * doc/tm.texi: Regenerate. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + PR target/128058 + * config/aarch64/aarch64.cc (aarch64_movk_plus_p): New function. + (aarch64_rtx_costs): Use it to cost MOVK patterns in the PLUS case. + +2026-11-23 Jakub Jelinek <[email protected]> + + PR target/128834 + * tree-ssa-math-opts.cc (match_arith_overflow): When we optimize + binary assignment into lhs = ovf != 0 attempt to adjust immediate + uses which cast the result of the comparison to some integer type + and when optimizing all of them, remove the ovf != 0 comparison + afterwards. + Fix pasto in function comment. + * match-sat-alu.pd (unsigned_integer_sat_add): Handle the case + where imag of IFN_ADD_OVERFLOW is just converted instead of + conversion of imag != 0. + * config/i386/i386.md (peephole2 after @add<mode>3_cc_overflow_1): New + define_peephole2. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * config/aarch64/aarch64.cc (aarch64_noce_conversion_profitable_p): + Skip the cost check for an increment only if the sequence is that + increment and one conditional select that uses it. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * ifcvt.cc (noce_parallel_seq_cost): Remove static. + * ifcvt.h (noce_parallel_seq_cost): Declare. + * config/aarch64/aarch64.cc + (aarch64_noce_conversion_profitable_p): Use noce_parallel_seq_cost. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * ifcvt.cc: Include rtlanal.h and selftest.h. + (noce_parallel_cost_node): Remove. + (noce_parallel_costed_insn_p): Check the complete pattern and + reject multiple SETs. Remove the SET output parameter. + (noce_ready_map): New typedef. + (noce_dependency_level): Use register properties and an + availability map. + (noce_parallel_seq_cost): Collect complete instruction references. + Reject asms. + (selftest::test_noce_level): New function. + (selftest::test_noce_pseudo_dependencies): New test. + (selftest::test_noce_parallel_references): Likewise. + (selftest::test_noce_hard_register_dependencies): Likewise. + (selftest::test_noce_parallel_cost_gates): Likewise. + (selftest::ifcvt_cc_tests): New function. + * selftest.h (ifcvt_cc_tests): Declare. + * selftest-run-tests.cc (selftest::run_tests): Call it. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * ifcvt.h (noce_if_info): Add in_loop. + * ifcvt.cc (bbs_in_loops): New bitmap. + (noce_find_if_block): Set in_loop. + (find_if_case_1): Assert that the replacement block has one + successor. + (if_convert): Record loop membership before finalizing loops. + Release the bitmap at the end of the pass. + * config/aarch64/aarch64.cc + (aarch64_noce_conversion_profitable_p): Use in_loop, and only when + optimizing for speed. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * simplify-rtx.cc (simplify_context::simplify_binary_operation_1) + <case VEC_CONCAT>: Check targetm.modes_tieable_p before merging + subregs of the same register. + +2026-11-23 Hongyu Wang <[email protected]> + + PR target/128911 + * config/i386/i386.md (@ccmp<mode>): Compare operands 2 and 3 + directly. Use operand 5 for the flags register in operand 1. + * config/i386/i386-expand.cc (ix86_gen_ccmp_next): Keep the CC + mode of the previous compare and pass it as operand 5. + +2026-11-23 Sun, Qin <[email protected]> + + * config/i386/sse.md (ssePSmode, ssePSmodelower): Add BF modes. + (sdot_prod<ssePSmodelower><mode>): New expanders. + +2026-11-23 Jiahao Xu <[email protected]> + + * config/loongarch/loongarch.cc (loongarch_rtx_costs): + <IF_THEN_ELSE>: New case. + +2026-11-23 Jiahao Xu <[email protected]> + + * config/loongarch/loongarch.cc (loongarch_expand_conditional_move): + Allow conditional move FP via integer condition codes. + (loongarch_move_to_gpr_cost): Use actual FCC->GPR move cost. + (loongarch_move_from_gpr_cost): Use actual GPR->FCC move cost. + (loongarch_secondary_reload): Adjust. + * config/loongarch/loongarch.md (mov<mode>cc): Adjust. + 2026-11-22 Ard Biesheuvel <[email protected]> * config/i386/i386.cc (x86_function_profiler): Align the diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 11cd5d9ffefc..8f1bf15f56ef 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20261123 +20261124 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 00c0e530d4aa..a8ece12714a2 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,27 @@ +2026-11-23 Eric Botcazou <[email protected]> + + * exp_ch4.adb (Expand_Allocator_Expression): Allocate the maximum + size when the designated type is a mutably tagged type. + (Expand_N_Allocator): Likewise. + * mutably_tagged.adb (Make_Mutably_Tagged_Conversion): Simplify + the existing condition and also reject the cases of an access to + object definition and the subtype mark of a qualified expression. + +2026-11-23 Eric Botcazou <[email protected]> + + PR ada/115666 + * sem_ch5.adb (Analyze_Assignment): In Ada 2005 and later, do not + add an implicit conversion when the RHS is of an anonymous access- + to-subprogram type here... + * sem_res.adb (Resolve): ...but here instead. + (Valid_Conversion): Fix reference to RM rule in error message. + +2026-11-23 Eric Botcazou <[email protected]> + + PR ada/108610 + * sem_cat.adb (Get_Categorization): Always return Pure if a pragma + Pure is present on the unit. + 2026-11-22 Konrad Schwarz <[email protected]> PR ada/128510 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 8f6840fdf66d..29abf5d0e8ae 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,17 @@ +2026-11-23 James K. Lowden <[email protected]> + + * symbols.cc (symbol_field): Match whether or not a typedef. + +2026-11-23 James K. Lowden <[email protected]> + + * cdf-copy.cc (copybook_elem_t::open_file): Recognize leading slash. + +2026-11-23 James K. Lowden <[email protected]> + + * scan.l: Return NAME token if new function reports non-numeric. + * scan_ante.h (dot_like): Check for comma/dot. + (lex_numeric_literal): New function. + 2026-11-21 Robert Dubner <[email protected]> * cbldiag.h (enum cbl_diag_id_t): -Wrefmod. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 322812e929c0..40ef76cbbe7b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,12 @@ +2026-11-23 Jerry DeLisle <[email protected]> + + PR fortran/128936 + * resolve.cc (reset_array_ref_to_scalar): Clear the end and stride + after freeing them. + * simplify.cc (gfc_simplify_len): Keep the array references of the + base object for a LEN-parameter string component, resolve the + result and convert it to the requested kind. + 2026-11-22 Jerry DeLisle <[email protected]> PR fortran/51284 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 736a77349444..9414df6c5cb7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,158 @@ +2026-11-23 Oleg Tolmatcev <[email protected]> + + * g++.dg/debug/codeview/eh-indirect-1.C: New test. + * gcc.dg/debug/codeview/codeview-2.c: Likewise. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * g++.dg/debug/codeview/inline-nondeclared-1.C: New test. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * g++.dg/debug/codeview/array-decl-1.C: New test. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * g++.dg/debug/codeview/anon-struct-parent-1.C: New test. + * g++.dg/debug/codeview/anon-struct-parent-2.C: Likewise. + * g++.dg/debug/codeview/anon-struct-members-1.C: Likewise. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * g++.dg/debug/codeview/func-lifetime-1.C: New test. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + * g++.dg/debug/codeview/anon-enum-1.C: New test. + * g++.dg/debug/codeview/anon-enum-2.C: New test. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + PR debug/126910 + * g++.dg/debug/codeview/pr126910.C: New test. + +2026-11-23 Oleg Tolmatcev <[email protected]> + + PR debug/124432 + * g++.dg/debug/codeview/codeview.exp: New test driver. + * g++.dg/debug/codeview/pr124432.C: New test. + * g++.dg/debug/codeview/pr124432-2.C: Likewise. + +2026-11-23 Jerry DeLisle <[email protected]> + + PR fortran/128936 + * gfortran.dg/pdt_99.f90: New test. + +2026-11-23 Ard Biesheuvel <[email protected]> + + * gcc.target/s390/mrecord-mcount.c: Check the alignment. + +2026-11-23 Yongqiang Tian <[email protected]> + + PR rtl-optimization/128860 + * gcc.dg/pr128860.c: New test. + +2026-11-23 Richard Biener <[email protected]> + + PR tree-optimization/128943 + * gcc.dg/torture/pr128943.c: New testcase. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/128147 + * g++.dg/torture/pr128147.C (f): Take a pointer to the pointer and + load it first so that the trapping load is not the first instruction. + (main): Update call. + +2026-11-23 Richard Biener <[email protected]> + + PR tree-optimization/128931 + * gcc.dg/pr128931.c: New testcase. + +2026-11-23 Richard Biener <[email protected]> + + PR tree-optimization/128946 + * gfortran.dg/vect/cost-model-pr128946.f90: New testcase. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + PR target/128058 + * gcc.target/aarch64/movk_5.c: New test. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + PR testsuite/128950 + * g++.dg/ipa/inline-aggregate-retval.C: Raise --param + early-inlining-insns to 16. + * gcc.dg/ipa/inline-aggregate-retval.c: Likewise. + +2026-11-23 Jakub Jelinek <[email protected]> + + PR target/128834 + * gcc.target/i386/pr128834.c: New test. + +2026-11-23 Eric Botcazou <[email protected]> + + * gnat.dg/access13.ads, gnat.dg/access13.adb: New test. + +2026-11-23 Eric Botcazou <[email protected]> + + * gnat.dg/pure_subp_body2a.adb: New test. + * gnat.dg/pure_subp_body2b.adb: New helper subprogram. + * gnat.dg/pure_subp_body2_pkg.ads: New helper package. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * gcc.target/aarch64/pr123017_8.c: New test. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * gcc.target/aarch64/noce-parallel-cost-1.c: New test. + * gcc.target/aarch64/noce-parallel-cost-2.c: Likewise. + * gcc.target/aarch64/noce-parallel-cost-3.c: Likewise. + * gcc.target/aarch64/noce-parallel-cost-4.c: Likewise. + * gcc.target/aarch64/noce-parallel-cost-5.c: Likewise. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * gcc.target/aarch64/if_conv_outside_loop_1.c: New test. + * gcc.target/aarch64/if_conv_outside_loop_2.c: Likewise. + * gcc.target/aarch64/if_conv_outside_loop_3.c: Likewise. + +2026-11-23 Kyrylo Tkachov <[email protected]> + + * gcc.target/aarch64/neon/vtbl.c: Expect zip1 instead of a stack + round trip for vtbl2. + * gcc.target/aarch64/neon/vtbx.c: Likewise for vtbx2. + +2026-11-23 Hongyu Wang <[email protected]> + + PR target/128911 + * gcc.target/i386/pr128911-1.c: New test. + * gcc.target/i386/pr128911-2.c: Likewise. + * gcc.target/i386/pr128911-3.c: Likewise. + +2026-11-23 Sun, Qin <[email protected]> + + * gcc.target/i386/avx10_2-fp16-dotprod-1.c: New test. + * gcc.target/i386/avx10_2-fp16-dotprod-2.c: Ditto. + * gcc.target/i386/avx10_2-fp16-dotprod-3.c: Ditto. + * gcc.target/i386/avx10_2-fp16-dotprod-4.c: Ditto. + * gcc.target/i386/avx512bf16-dotprod-1.c: Ditto. + * gcc.target/i386/avx512bf16-dotprod-2.c: Ditto. + * gcc.target/i386/avx512bf16-dotprod-3.c: Ditto. + * gcc.target/i386/avx512bf16-dotprod-4.c: Ditto. + * gcc.target/i386/avx512bf16-dotprod-5.c: Ditto. + +2026-11-23 Jiahao Xu <[email protected]> + + * gcc.target/loongarch/ifcvt-1.c: New test. + +2026-11-23 Jiahao Xu <[email protected]> + + * gcc.target/loongarch/la64/ifcvt-double-1.c: New test. + * gcc.target/loongarch/la64/ifcvt-double-2.c: New test. + 2026-11-22 Jerry DeLisle <[email protected]> PR fortran/51284 diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 1cc3b612cd06..c3c8b81ae1ac 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,15 @@ +2026-11-23 Jerry DeLisle <[email protected]> + + PR libfortran/128618 + * acinclude.m4 (LIBGFOR_CHECK_ATOMIC_FETCH_ADD): Revert + r17-6152; test int again. Note that 64-bit atomics are not + covered. + * configure: Regenerate. + * io/io.h (GFC_ATOMIC_FILE_ID): Define if 64-bit atomics are + lock-free. + (set_unit_file_id, unit_file_id_matches): Use it instead of + HAVE_ATOMIC_FETCH_ADD. + 2026-11-21 Jonathan Yong <[email protected]> Revert:
