https://gcc.gnu.org/g:08b552d12e52077ddff860a99d0598a35cc102fd
commit r17-4182-g08b552d12e52077ddff860a99d0598a35cc102fd Author: GCC Administrator <[email protected]> Date: Sat Sep 12 00:16:35 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 144 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cobol/ChangeLog | 42 ++++++++++++++ gcc/m2/ChangeLog | 69 +++++++++++++++++++++++ gcc/testsuite/ChangeLog | 77 ++++++++++++++++++++++++++ libgcc/ChangeLog | 23 ++++++++ libgm2/ChangeLog | 14 +++++ libgomp/ChangeLog | 5 ++ libstdc++-v3/ChangeLog | 28 ++++++++++ 9 files changed, 403 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a068d063e90a..793b372aac9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,147 @@ +2026-09-11 Jeff Law <[email protected]> + + PR target/127306 + * config/riscv/riscv-bclr-lowest-set-bit.cc (find_later_ctz): Fix + off-by-one error for scan to verify ctz input isn't modified. + (pass_bclr_lowest_bit_set::execute): Remove original AND in case + where the CTZ is found after the AND. + +2026-09-11 Dominic P <[email protected]> + + * tree-vect-stmts.cc (has_consecutive_load_permutation): Remove + the group_size parameter and the requirement that the permutation + length divides the group size. Make static. + (get_load_store_type): Adjust caller. + +2026-09-11 Vladimir N. Makarov <[email protected]> + + PR rtl-optimization/127244 + * lra-constraints.cc (inheritance_pseudo_p): New function. + (undo_optional_reloads): Keep optional reload for output + operand if it is inherited. + +2026-09-11 Robin Dapp <[email protected]> + + * config/riscv/riscv.cc (riscv_slow_unaligned_access): + Return the same as riscv_support_vector_misalignment. + +2026-09-11 Robin Dapp <[email protected]> + + PR middle-end/127323 + * expmed.cc (extract_integral_bit_field): Use store_bit_field if + operand_subword fails. + +2026-09-11 Andrew MacLeod <[email protected]> + + * value-relation.cc (rr_transitive_table): Update. + +2026-09-11 Robin Dapp <[email protected]> + + * config/riscv/riscv-protos.h (riscv_expand_block_clear): + Remove. + (expand_vec_setmem): Add testing param. + (riscv_expand_setmem): Likewise. + * config/riscv/riscv-string.cc (riscv_expand_block_clear_zicboz_zic64b): + Likewise. + (riscv_expand_block_clear): Make static. + (expand_scalar_setmem): New function. + (riscv_expand_setmem): New function. + (expand_vec_setmem): Add testing param. + * config/riscv/riscv.cc (riscv_use_by_pieces_infrastructure_p): + Query riscv_expand_setmem for support. + * config/riscv/riscv.md: Use riscv_expand_setmem. + +2026-09-11 Robin Dapp <[email protected]> + + * config/riscv/riscv-protos.h (riscv_expand_block_move): + Declare. + * config/riscv/riscv-string.cc (riscv_block_move_straight): + Handle overlap. + (riscv_block_move_loop): Pass "no overlap" to + riscv_block_move_straight. + (riscv_expand_block_move_scalar): Add overlap param. + (riscv_expand_block_move): Likewise. + (expand_block_move): Likewise. + * config/riscv/riscv.md: Use riscv_expand_block_move. + +2026-09-11 Robin Dapp <[email protected]> + + * config/aarch64/aarch64.cc (aarch64_regmode_natural_size): + Set REGMODE_NATURAL_SIZE to the size of one vector. + +2026-09-11 Kyrylo Tkachov <[email protected]> + + * doc/generic.texi (REFERENCE_TYPE): Document the object contract + for reference parameters. + (METHOD_TYPE): Document the object contract for the this parameter. + * tree-eh.cc (parm_decl_from_ptr): New function. + (whole_object_param_size): New function. + (tree_could_trap_1): Use whole-object parameter bounds for loads. + +2026-09-11 Manjunath Matti <[email protected]> + Jakub Jelinek <[email protected]> + + PR target/117584 + * config/rs6000/rs6000-call.cc (rs6000_bitint_large_p): New + function. + (rs6000_return_in_memory): Return large _BitInt values, and enums + backed by _BitInt, via a hidden pointer. + (rs6000_pass_by_reference): Pass large _BitInt values, and enums + backed by _BitInt, by reference. + * config/rs6000/rs6000.cc (TARGET_C_BITINT_TYPE_INFO): Define. + (init_float128_ibm): Set bitinttofp_optab and bitintfromfp_optab + libfuncs to __floatbitinttf and __fixtfbitint. + (init_float128_ieee): Set bitinttofp_optab and bitintfromfp_optab + libfuncs to __floatbitintkf and __fixkfbitint. + (rs6000_function_value): Exclude BITINT_TYPE from sub-word integer + return value promotion. + (rs6000_bitint_type_info): New function. + +2026-09-11 Richard Biener <[email protected]> + + PR tree-optimization/127310 + * tree-vect-loop.cc (vectorizable_lane_reducing): Apply + costing after registering loop masks. + +2026-09-11 Richard Sandiford <[email protected]> + + PR middle-end/127330 + * recog.h (recog_state_saver::recog_state_saver): Initialize + m_tmp_recog_data.insn. + +2026-09-11 Aldy Hernandez <[email protected]> + + * tree-ssa-threadupdate.cc (jt_path_registry::remove_path): New, + and an overload taking the path's first edge. + (jt_path_registry::add_first_edge): New. + (jt_path_registry::drop_first_edge): New. + (jt_path_registry::first_edge_count): New. + (back_jt_path_registry::adjust_one_path): Move the candidate's + count when its first edge changes; remove before cancelling. + (back_jt_path_registry::adjust_paths_after_duplication): Return + early when no other path starts on the same edge. + (fwd_jt_path_registry::mark_threaded_blocks): Use remove_path. + (back_jt_path_registry::update_cfg): Remove the threaded path by + the edge it started on. + (fwd_jt_path_registry::update_cfg): Use remove_path. + (jt_path_registry::register_jump_thread): Count the new first edge. + * tree-ssa-threadupdate.h (jt_path_registry::m_first_edge_counts): New. + (jt_path_registry::remove_path, add_first_edge, drop_first_edge) + (jt_path_registry::first_edge_count): Declare. + +2026-09-11 Aldy Hernandez <[email protected]> + + * tree-ssa-threadupdate.cc (back_jt_path_registry::adjust_one_path): + Fix the dump messages. + +2026-09-11 Aldy Hernandez <[email protected]> + + * tree-ssa-threadupdate.cc (back_jt_path_registry::adjust_one_path): + New, split out of ... + (back_jt_path_registry::adjust_paths_after_duplication): ... here. + * tree-ssa-threadupdate.h (back_jt_path_registry::adjust_one_path): + Declare. + 2026-09-11 Kyrylo Tkachov <[email protected]> * tree-eh.cc (tree_could_trap_1, tree_could_trap_p): Clarify the diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 59ed0b69b8e7..4987d1122047 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260911 +20260912 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index d02904b155c7..118706264d31 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,45 @@ +2026-09-11 James K. Lowden <[email protected]> + + * parse.y: Add wordop_t to each element. + +2026-09-11 James K. Lowden <[email protected]> + + * parse_ante.h (redefined_token): Add token parameter. + * scan.l: Do not use redefined_token in the scanner. + * scan_ante.h (typed_name): Same. + * scan_post.h (next_token): Use redefined_token in the lexer wrapper. + * symbols.h (redefined_token): Declaration matches definition. + (class current_tokens_t): Document, and use enumerated constants. + +2026-09-11 James K. Lowden <[email protected]> + + * parse.y: Construct arith_t by value. + * parse_ante.h (struct arith_t): Use const reference for constructor. + (struct refer_list_t): Prefer initialization to std::copy. + +2026-09-11 James K. Lowden <[email protected]> + + * cbldiag.h (enum cbl_diag_id_t): Introduce MfHexNumeric. + * cobol1.cc (cobol_langhook_handle_option): Handle Whex-numeric. + * gcobol.1: Document Whex-numeric. + * lang-specs.h: Add Whex-numeric to spec string. + * lang.opt: Define Whex-numeric. + * messages.cc: Add Whex-numeric to mf and gnu dialects. + Make Wcontent-expr available in all dialects outside ISO. + Finer distinctions remain to be drawn. + * parse.y: (dialect_words_set): New function for per-dialect keywords. + * scan.l: New rule for hexadecimal numeric notation. + * symbols.cc (dimensions): Rewrite for REDEFINES table. + * symbols.h (hex2numstr): Declare new function. + (class current_tokens_t): Refine to recognize COBOL-WORDS. + * util.cc (literal_subscript_oob): Rewrite to avoid UB. + (hex2numstr): New function. + +2026-09-11 James K. Lowden <[email protected]> + + * genapi.cc (parser_file_write): Use RETURN_IF_PARSE_ONLY. + * parse.y: Diagnose ADD CORRESPONDING operand count. + 2026-09-10 Robert Dubner <[email protected]> * compare.cc (digiter): Spelling in comment. diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 479143549930..d88adb058e09 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,72 @@ +2026-09-11 Gaius Mulley <[email protected]> + + * gm2-gcc/m2builtins.cc (define_builtin): Reimplement. + (do_define_builtin): New function. + (data_type_supported): Ditto. + (param_data_type_supported): Ditto. + (dump_builtin): Call dump_available if + param_data_type_supported. + * gm2-libs-iso-common/ComplexMath.def (arcsin): Replace + with template tag. + (arccos): Ditto. + (arctan): Ditto. + * gm2-libs-iso-common/ComplexMath.mod (arcsin): Replace + with template tag. + (arccos): Ditto. + (arctan): Ditto. + * gm2-libs-iso-common/LongComplexMath.def (arcsin): Replace + with template tag. + (arccos): Ditto. + (arctan): Ditto. + * gm2-libs-iso-common/LongComplexMath.mod (arcsin): Replace + with template tag. + (arccos): Ditto. + (arctan): Ditto. + * gm2-libs-iso-common/ShortComplexMath.def (arcsin): Replace + with template tag. + (arccos): Ditto. + (arctan): Ditto. + * gm2-libs-iso-common/ShortComplexMath.mod (arcsin): Replace + with template tag. + (arccos): Ditto. + (arctan): Ditto. + * gm2-libs-pim-common/Builtins.def (carcsinf): Replace + with template tag. + (carcsin): Ditto. + (carcsinl): Ditto. + (carccosf): Ditto. + (carccos): Ditto. + (carccosl): Ditto. + (carctanf): Ditto. + (carctan): Ditto. + (carctanl): Ditto. + * gm2-libs-pim-common/Builtins.mod: (carcsinf): Replace + with template tag. + (carcsin): Ditto. + (carcsinl): Ditto. + (carccosf): Ditto. + (carccos): Ditto. + (carccosl): Ditto. + (carctanf): Ditto. + (carctan): Ditto. + (carctanl): Ditto. + * gm2-libs-pim-common/cbuiltin.def (casinf): Replace + with template tag. + (casin): Ditto. + (casinl): Ditto. + (cacosf): Ditto. + (cacos): Ditto. + (cacosl): Ditto. + (catanf): Ditto. + (catan): Ditto. + (catanl): Ditto. + * gm2spec.cc (lang_specific_driver): Comment formatting. + * tools-src/mktargetsrc.py (do_output_mod_builtin): New + function. + (output_mod_builtin): Ditto. + (list_of_builtins): Add casin, casinf, casinl, cacos, cacosf, + cacosl, catan, catanf and catanl. + 2026-09-07 Gaius Mulley <[email protected]> PR modula2/126847 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e71d30e4f913..db1b19b05bdb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,80 @@ +2026-09-11 Jeff Law <[email protected]> + + PR target/127306 + * gcc.target/riscv/pr127306.c: New test. + +2026-09-11 Dominic P <[email protected]> + + * gcc.dg/vect/vect-reduc-sad-10.c: New test. + * gcc.target/aarch64/sad-halfpel-1.c: New test. + * gcc.target/aarch64/sad-halfpel-2.c: New file. + +2026-09-11 Vladimir N. Makarov <[email protected]> + + PR rtl-optimization/127244 + * gcc.target/i386/pr127244.c: New + +2026-09-11 Gaius Mulley <[email protected]> + + * gm2/iso/run/pass/testclock2.mod: Remove ability to + change the system clock. + +2026-09-11 Robin Dapp <[email protected]> + + * g++.target/riscv/rvv/autovec/pr127323.C: New test. + +2026-09-11 Andrew MacLeod <[email protected]> + + * gcc.dg/tree-ssa/evrp-trans3.c: New. + +2026-09-11 Robin Dapp <[email protected]> + + * gcc.target/riscv/setmem-nolibcall.c: New test. + * gcc.target/riscv/setmem-scalar-32.c: New test. + * gcc.target/riscv/setmem-scalar-64.c: New test. + * gcc.target/riscv/setmem-scalar-run.c: New test. + +2026-09-11 Robin Dapp <[email protected]> + + * gcc.target/riscv/movmem-scalar-32.c: New test. + * gcc.target/riscv/movmem-scalar-64.c: New test. + * gcc.target/riscv/movmem-scalar-run.c: New test. + +2026-09-11 Kyrylo Tkachov <[email protected]> + + * c-c++-common/strub-mem-notrap.c: New test. + * g++.dg/tree-ssa/cselim-ref-1.C: New test. + * g++.dg/tree-ssa/cselim-ref-2.C: New test. + * g++.dg/tree-ssa/lim-ref-1.C: New test. + * g++.dg/tree-ssa/lim-ref-2.C: New test. + * g++.dg/tree-ssa/lim-ref-3.C: New test. + * g++.dg/tree-ssa/lim-ref-4.C: New test. + * g++.dg/tree-ssa/lim-this-1.C: New test. + * g++.dg/tree-ssa/noncall-store-builtin.C: New test. + +2026-09-11 Manjunath Matti <[email protected]> + Jakub Jelinek <[email protected]> + + PR target/117584 + * gcc.target/powerpc/bitint-abi-call.c: New test. + * gcc.target/powerpc/bitint-alignments-powerpc.c: New test. + * gcc.target/powerpc/bitint-args-powerpc.c: New test. + * gcc.target/powerpc/bitint-arith-powerpc.c: New test. + * gcc.target/powerpc/bitint-bitint-to-ibm128.c: New test. + * gcc.target/powerpc/bitint-bitwise-powerpc.c: New test. + * gcc.target/powerpc/bitint-compare-powerpc.c: New test. + * gcc.target/powerpc/bitint-conversions-powerpc.c: New test. + * gcc.target/powerpc/bitint-endian-powerpc.c: New test. + * gcc.target/powerpc/bitint-ibm128-to-bitint.c: New test. + * gcc.target/powerpc/bitint-sizes-powerpc.c: New test. + * gcc.target/powerpc/bitint-struct-layout.c: New test. + * gcc.target/powerpc/bitint-varargs.c: New test. + +2026-09-11 Richard Biener <[email protected]> + + PR tree-optimization/127310 + * gcc.dg/vect/vect-pr127310.c: New testcase. + 2026-09-11 Jakub Jelinek <[email protected]> * gcc.target/i386/vperm-v4sf-3.c: New test. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 90b4de93905e..03136b067efd 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,26 @@ +2026-09-11 Manjunath Matti <[email protected]> + Jakub Jelinek <[email protected]> + + PR target/117584 + * config/rs6000/float128-sed: Add __floatbitinttf/__floatbitintkf + and __fixtfbitint/__fixkfbitint substitution rules. + * config/rs6000/float128-sed-hw: Likewise. + * config/rs6000/libgcc-glibc.ver (GCC_17.0.0): New version node + inheriting GCC_4.2.0; export __floatbitintkf, __fixkfbitint, + __floatbitinttf, __fixtfbitint, __floatbitintsf, __fixsfbitint, + __floatbitintdf and __fixdfbitint. + * config/rs6000/t-float128 (fp128_softfp_funcs): Add floatbitintkf + and fixkfbitint. + (rs6000_bitint_bin_funcs, rs6000_bitint_bin_src): New; add to + LIB2ADD unconditionally. + (rs6000_bitint_dec_funcs, rs6000_bitint_dec_src): New; add to + LIB2ADD_ST when decimal float is enabled. + * config/rs6000/t-linux (ibm128_bitint_funcs, ibm128_bitint_src): + New; add to LIB2ADD. + (ibm128_bitint_objs, IBM128_BITINT_CFLAGS): New. + * config/rs6000/floatbitinttf-ibm128.c: New file. + * config/rs6000/fixtfbitint-ibm128.c: New file. + 2026-09-04 Georg-Johann Lay <[email protected]> * config/avr/t-avr (FUNCS_notiny): Add _divsq3, _udivusq3. diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog index 661adf96d5e9..afd1f65faaf1 100644 --- a/libgm2/ChangeLog +++ b/libgm2/ChangeLog @@ -1,3 +1,17 @@ +2026-09-11 Gaius Mulley <[email protected]> + + * Makefile.am (GM2_FOR_TARGET_ESC): Remove. + * Makefile.in: Rebuild. + * libm2iso/Makefile.am (GM2_FOR_TARGET_ESC): Remove + and replace with "$(GM2_FOR_TARGET)". + * libm2iso/Makefile.in: Rebuild. + * libm2min/Makefile.am (GM2_FOR_TARGET_ESC): Remove + and replace with "$(GM2_FOR_TARGET)". + * libm2min/Makefile.in: Rebuild. + * libm2pim/Makefile.am (GM2_FOR_TARGET_ESC): Remove + and replace with "$(GM2_FOR_TARGET)". + * libm2pim/Makefile.in: Rebuild. + 2026-08-27 Gaius Mulley <[email protected]> * ax_python_interpreter.m4 (AC_PYTHON_INTERPRETER): Add diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index f7da37ff6687..d39a514f463f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2026-09-11 Tobias Burnus <[email protected]> + + * libgomp.texi (omp_control_tool): Add example interface for calling + the tool with a passed argument from Fortran + 2026-09-10 Tobias Burnus <[email protected]> PR middle-end/127273 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b3c6d8308c4c..0afc3748883e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,31 @@ +2026-09-11 Tomasz KamiĆski <[email protected]> + + PR libstdc++/125845 + PR libstdc++/124121 + * include/bits/version.def (start_lifetime): Move before + inplace_vector. + (constexpr_inplace_vector): Define. + * include/bits/version.h: Regenerate. + * include/std/inplace_vector (__cpp_lib_constexpr_inplace_vector): + Define. + (inplace_vector::_M_init): Use std::start_lifetime instead of + std::start_lifetime_as, when available. Emit error using + __builtin_constexpr_diag. + * testsuite/23_containers/inplace_vector/cons/1.cc: Enable and + andd compile time tests for non-trivial types. + * testsuite/23_containers/inplace_vector/copy.cc: Likewise. + * testsuite/23_containers/inplace_vector/modifiers/assign.cc: + Likewise. + * testsuite/23_containers/inplace_vector/modifiers/erase.cc: + Likewise. + * testsuite/23_containers/inplace_vector/modifiers/multi_insert.cc: + Likewise. + * testsuite/23_containers/inplace_vector/modifiers/single_insert.cc: + Likewise. + * testsuite/23_containers/inplace_vector/move.cc: Likewise. + * testsuite/23_containers/inplace_vector/version.cc: Test value of + __cpp_lib_constexpr_inplace_vector. + 2026-09-11 Jakub Jelinek <[email protected]> * include/std/bit: Implement C++29 P3793R2 - Better shifting.
