+2026-06-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR c/125226
+ * targhooks.cc (default_stack_protect_guard): If UINTPTR_TYPE
+ isn't NULL, call unsigned_integer_tree_node_for_type with
+ UINTPTR_TYPE to get unsigned integer type for uintptr_t.
+ * tree.cc (unsigned_integer_tree_node_for_type): New function.
+ (build_common_tree_nodes): Call unsigned_integer_tree_node with
+ SIZE_TYPE to get unsigned integer type for size_t.
+ * tree.h (unsigned_integer_tree_node_for_type): New prototype.
+
+2026-06-16 Jakub Jelinek <jakub@redhat.com>
+
+ * doc/invoke.texi (-std=c++2d, -std=c++29, -std=gnu++2d,
+ -std=gnu++29): Document.
+ (-std=c++2c, -std=c++26, -std=gnu++2c, -std=gnu++26): Tweak so that
+ 26 comes first and is meant as the supported option.
+ * doc/cpp.texi: Adjust expected __cplusplus value for -std=c++26,
+ document value for -std=c++29.
+ * dwarf2out.cc (highest_c_language): Handle C++29.
+ (gen_compile_unit_die): Likewise. Adjust lversion for C++26.
+
+2026-06-16 Robin Dapp <rdapp.gcc@gmail.com>
+
+ PR tree-optimization/125516
+ * tree-vect-data-refs.cc (vect_gather_scatter_fn_p): Set
+ supported_offset_vectype.
+ * tree-vect-stmts.cc (vectorizable_store): Skip nop conversions
+ when costing scatters.
+ (vectorizable_load): Ditto for gathers.
+
+2026-06-16 Abhishek Kaushik <abhishek.kaushik@arm.com>
+
+ * tree-ssa-loop-niter.cc (determine_value_range): Query ranger
+ for integral expressions, not only SSA_NAMEs. Query ranges on the
+ loop preheader edge.
+
+2026-06-16 Kyrylo Tkachov <ktkachov@nvidia.com>
+
+ * tree-vect-data-refs.cc (vect_slp_analyze_data_ref_dependence):
+ Return a three-way tree result (chrec_known when independent,
+ chrec_dont_know when the affine test cannot analyze the pair, the
+ dependence otherwise) instead of a bool.
+ (vect_slp_analyze_store_dependences): Resort to the alias oracle on
+ an unknown dependence as well as on a missing data reference; a
+ store is being moved so do not use TBAA.
+ (vect_slp_analyze_load_dependences): Likewise on the load-hoist
+ paths, using TBAA as a load is being hoisted; also record that the
+ ao_ref has been initialized in check_hoist.
+
+2026-06-16 Robin Dapp <rdapp.gcc@gmail.com>
+
+ PR target/125670
+ * config/riscv/autovec-opt.md: Use avl_type operand number.
+
+2026-06-16 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/125730
+ * tree-ssa-loop-ivopts.cc (alloc_iv): Do not convert pointer
+ IVs to unsigned before canonicalizing.
+
+2026-06-16 Richard Biener <rguenther@suse.de>
+
+ * fold-const.cc (fold_plusminus_mult_expr): Use
+ wide_int for the case of two INTEGER_CST multiplicands.
+
+2026-06-16 Kyrylo Tkachov <ktkachov@nvidia.com>
+
+ PR target/125794
+ * config/aarch64/aarch64.cc (aarch64_simd_valid_imm): Do not fall
+ through to the replicating SVE immediate forms for a 128-bit
+ Advanced SIMD constant whose high 64 bits are zero (output_width
+ != 0).
+
+2026-06-16 Avinash Jayakar <avinashd@linux.ibm.com>
+
+ PR tree-optimization/59429
+ * match.pd: New match patterns to recognize spaceship variants.
+ * tree-ssa-math-opts.cc (gimple_spaceship): Match function declaration.
+ (match_spaceship): New function to recognize spaceship given phi node.
+ (math_opts_dom_walker::after_dom_children): Add match_spaceship check.
+
+2026-06-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/125614
+ * config/i386/i386-features.cc (replace_vector_const): Replace
+ gen_rtx_SUBREG with gen_lowpart.
+
2026-06-15 Roger Sayle <roger@nextmovesoftware.com>
* config/i386/i386.cc (ix86_insn_cost): Add a suitable penalty
+2026-06-16 Robert Dubner <rdubner@symas.com>
+
+ * compare.cc (numeric_alpha_compare): Use tree_type_from_refer().
+ * genapi.cc (file_static_variable): Eliminate function.
+ (psa_FldLiteralN): Use tree_type_from_field.
+ (parser_accept_command_line): Eliminate file-static variables.
+ (parser_accept_envar): Likewise.
+ (parser_assign): Likewise.
+ (parser_initialize_table): Likewise.
+ (parser_see_stop_run): Likewise.
+ (parser_file_write): Likewise.
+ (parser_file_start): Likewise.
+ (inspect_tally): Likewise.
+ (inspect_replacing): Likewise.
+ (field_increment): Likewise.
+ (parser_match_exception): Likewise.
+ * genapi.h (file_static_variable): Eliminate function.
+ * genmath.cc (largest_binary_term): Use tree_type_from_refer().
+ (fast_add): Likewise.
+ (fast_subtract): Likewise.
+ (fast_multiply): Likewise.
+ (fast_divide): Likewise.
+ (parser_divide): Likewise.
+ * genutil.cc (tree_type_from_digits): Eliminate function.
+ (get_integer_value): Eliminate file-static variables.
+ (get_data_offset): Eliminate file-static variables.
+ (get_binary_value_tree): Eliminate file-static variables.
+ (tree_type_from_field): Updated function.
+ (tree_type_from_refer): New function.
+ (scale_by_power_of_ten): Eliminate file-static variables.
+ (tree_type_from_size): Eliminate function.
+ (copy_little_endian_into_place): Improve logic.
+ (build_array_of_size_t): Eliminate file-static variables.
+ (refer_refmod_length): Likewise.
+ (refer_fill_depends): Likewise.
+ (refer_size): Likewise.
+ (refer_size_source): Likewise.
+ * genutil.h (tree_type_from_digits): Eliminate function.
+ (tree_type_from_size): Eliminate function.
+ (tree_type_from_refer): New function.
+ * lang.opt: Updated documentation.
+ * lang.opt.urls: Updated documentation.
+ * move.cc (digits_to_bytes): Eliminate function.
+ (get_bytes_needed): Likewise.
+ (mh_source_is_literalN): Eliminate file-static variables; use
+ tree_type_from_refer().
+ (mh_numeric_display): Likewise.
+ (mh_little_endian): tree_type_from_refer().
+ (mh_numdisp_to_packed): Use get_location() function.
+ (mh_packed_to_packed): Likewise.
+ (mh_packed_to_numdisp): Likewise.
+ (move_helper): Likewise.
+
+2026-06-16 James K. Lowden <jklowden@cobolworx.com>
+
+ * Make-lang.in: Report Bison version.
+ * cbldiag.h (defined): Define possibly missing macros.
+ (ATTRIBUTE_GCOBOL_DIAG): Define if missing.
+ (ATTRIBUTE_PRINTF_1): Same.
+ (ATTRIBUTE_PRINTF_3): Same.
+ (yyerror): Remove.
+ (struct YYLTYPE): Remove.
+ (enum cbl_gcobol_feature_t): Relocate from symbols.h.
+ (YYLTYPE_IS_DECLARED): Remove.
+ (YYLTYPE_IS_TRIVIAL): Remove.
+ (cobol_location): Relocate.
+ (cobol_gcobol_feature_set): Declare.
+ (struct YDFLTYPE): Remove.
+ (enum cbl_call_convention_t): Relocate from symbols.h.
+ (YDFLTYPE_IS_DECLARED): Remove.
+ (YDFLTYPE_IS_TRIVIAL): Remove.
+ (current_call_convention): Declare.
+ (cdf_push): Declare.
+ (cdf_push_call_convention): Declare.
+ (cdf_push_current_tokens): Declare.
+ (cdf_push_dictionary): Declare.
+ (cdf_push_enabled_exceptions): Declare.
+ (cdf_push_source_format): Declare.
+ (cdf_pop): Declare.
+ (cdf_pop_call_convention): Declare.
+ (cdf_pop_current_tokens): Declare.
+ (cdf_pop_dictionary): Declare.
+ (cdf_pop_source_format): Declare.
+ (cdf_pop_enabled_exceptions): Declare.
+ (current_program_index): Declare.
+ (struct cbl_loc_t): Derive from cbl_loc_base_t.
+ (struct cbl_loc_base_t): Define.
+ (cbl_err): Declare.
+ (cbl_errx): Declare.
+ (error_msg): Use cbl_loc_t.
+ (warn_msg): Same.
+ (cbl_unimplemented_at): Same.
+ (gcc_location_set): Same.
+ * cdf.y: Require Bison 3.8.2 and generate C++ in cdf namespace.
+ * cdfval.h (struct YDFLTYPE): Remove.
+ (struct cbl_loc_t): Forward declaration.
+ (struct cdfval_base_t): User-defined conversion from derived.
+ * copybook.h (gcc_assert): Use assert(3) within cdf.y.
+ (gcc_unreachable): Declare within cdf.y.
+ (class copybook_elem_t): Use cbl_loc_t.
+ (CTOUPPER): Use toupper(3) in uppername_t helper.
+ (TOUPPER): Same.
+ (class copybook_t): Use cbl_loc_t.
+ * exceptg.h (struct cbl_label_t): Declare cbl_label_t.
+ * gcobc: Support -fno-ec.
+ * gcobol.1: Reword -fsyntax-only slightly.
+ * genapi.cc (parser_label_label): Use cobol_location().
+ * lang.opt: Add comment in re lang.opt.urls.
+ * lexio.cc (struct replacing_term_t): Use cbl_loc_t.
+ (location_in): Same.
+ (parse_copy_directive): Same.
+ * lexio.h (struct filespan_t): Same.
+ * messages.cc (cbl_message): Same.
+ * parse.y: Same, and propagate location variously.
+ * parse_ante.h (current_data_section_set): Use cbl_loc_t.
+ (namcpy): Same.
+ (reject_refmod): Same.
+ (require_pointer): Same.
+ (require_integer): Same.
+ (ast_op): Same.
+ (perform_tgt_set): Same.
+ (label_add): Same.
+ (paragraph_reference): Same.
+ (tee_up_name): Same.
+ (ast_inspect): Same.
+ (ast_enter_section): Same.
+ (ast_enter_paragraph): Same.
+ (prototype_add): Same.
+ (verify_args): Same.
+ (subscript_dimension_error): Same.
+ (literal_subscripts_valid): Same.
+ (literal_refmod_valid): Same.
+ (struct cbl_fieldloc_t): Remove.
+ (intrinsic_call_1): Use cbl_loc_t.
+ (symbol_find): Same.
+ (valid_redefine): Same.
+ (field_add): Same.
+ (field_type_update): Same.
+ (field_capacity_error): Same.
+ (field_alloc): Same.
+ (file_add): Same.
+ (alphabet_add): Same.
+ (set_real_from_capacity): Same.
+ (procedure_division_ready): Same.
+ (file_section_fd_set): Same.
+ (ast_call): Same.
+ (field_binary_usage): Same.
+ (ast_end_program): Same.
+ (cobol_location): Same.
+ (location_set): Same.
+ (statement_begin): Same.
+ (ast_first_statement): Same.
+ * scan.l: Qualify tokens with new cdf namespace.
+ * scan_ante.h (ydfparse): Now static.
+ (cdf_context): Declare.
+ (ydfltype_of): Remove.
+ (update_location): Use cbl_loc_t.
+ (reset_location): Same.
+ (YY_USER_INIT): Same.
+ (class picture_t): Same.
+ * scan_post.h (ydfparse): Wrapper for cdf_parser::parse() method.
+ (ydfchar): Lookahead helper.
+ (ydfdebug): Same.
+ (run_cdf): Clearer debug messages.
+ (struct pending_token_t): Renamed to recent_token_t.
+ (struct recent_token_t): As above.
+ (PENDING): Renames to RECENT.
+ (RECENT): As above.
+ (next_token): Removed.
+ (recent_tokens_t): Capture abandoned lookahead tokens.
+ (prelex): Use recent_tokens queue.
+ (yylex): Drop normal parsing idea.
+ * symbols.cc (symbol_field_location): Use cbl_loc_t.
+ (symbol_alphabet): Same.
+ (cbl_alphabet_t::cbl_alphabet_t): Same.
+ (cbl_alphabet_t::assign): Same.
+ (cbl_alphabet_t::also): Same.
+ (symbol_temporary_location): Same.
+ (cbl_field_t::encode): Same.
+ * symbols.h (enum cbl_gcobol_feature_t): Remove.
+ (cobol_gcobol_feature_set): Remove.
+ (struct cbl_field_t): Use cbl_loc_t.
+ (struct cbl_refer_t): Same.
+ (struct cbl_alphabet_t): Same.
+ (struct cbl_perform_tgt_t): Same.
+ (struct cbl_nameloc_t): Same.
+ (class name_queue_t): Same.
+ (tee_up_name): Same.
+ (symbol_field_location): Same.
+ (enum cbl_call_convention_t): Remove
+ (class current_tokens_t): Use cbl_loc_t.
+ (current_call_convention): Same.
+ (gcc_location_set): Same.
+ * util.cc (class cdf_directives_t): Use cbl_loc_t.
+ (cdf_unreachable): Define as gcc_unreachable.
+ (cdf_literalize): Do not handle location.
+ (cdf_file): New function.
+ (cdf_file_index): Same.
+ (cdf_file_name): Same.
+ (cdf_add_field): Same.
+ (cbl_field_t::encode_numeric): Remove unused parameter.
+ (cbl_field_t::report_invalid_initial_value): Use cbl_loc_t.
+ (match_proc): Namespace for local prototype-verification functions.
+ (DUMP_PROCEDURE_CALLS): Guard macro for debug function.
+ (procedure_calls_dump): New function to show uses of PERFORM.
+ (gcc_location_set_impl): Use cbl_loc_t.
+ (gcc_location_set): Same.
+ (class temp_loc_t): Same.
+ (error_msg): Same.
+ (warn_msg): Same.
+ (ydfdebug): Same.
+ (cobol_set_debugging): Same.
+ (cbl_unimplemented_at): Same.
+ * util.h (cbl_err): Remove declaration.
+ (cbl_errx): Same.
+ (cdf_push): Same.
+ (cdf_push_call_convention): Same.
+ (cdf_push_current_tokens): Same.
+ (cdf_push_dictionary): Same.
+ (cdf_push_enabled_exceptions): Same.
+ (cdf_push_source_format): Same.
+ (cdf_pop): Same.
+ (cdf_pop_call_convention): Same.
+ (cdf_pop_current_tokens): Same.
+ (cdf_pop_dictionary): Same.
+ (cdf_pop_source_format): Same.
+ (cdf_pop_enabled_exceptions): Same.
+
2026-06-14 Robert Dubner <rdubner@symas.com>
* move.cc (hex_of): Move the routine.
+2026-06-16 Iain Sandoe <iain@sandoe.co.uk>
+
+ * gcc.target/i386/fabsneg-2.c: Allow for lC* in Mach-O.
+
+2026-06-16 Robert Dubner <rdubner@symas.com>
+
+ * cobol.dg/group2/DIVIDE_binary-long_giving_remainder.cob: New test.
+ * cobol.dg/group2/DIVIDE_binary-long_giving_remainder.out: New test.
+ * cobol.dg/group2/DIVIDE_numeric-display_giving_remainder.cob: New test.
+ * cobol.dg/group2/DIVIDE_numeric-display_giving_remainder.out: New test.
+ * cobol.dg/group2/GCC_125616_RT3601_-_IBM_incorrect_DISPLAY_of_COMP-1_COMP-2_float.cob:
+ New test.
+ * cobol.dg/group2/PR39_RT3573_-_Parser_issue_w_concat._source_lines.cob: New test.
+
+2026-06-16 Jakub Jelinek <jakub@redhat.com>
+
+ * g++.dg/cpp26/cplusplus.C: Expect __cplusplus == 202603L.
+ * g++.dg/cpp29/cplusplus.C: New test.
+ * g++.dg/cpp29/feat-cxx29.C: New test.
+ * lib/target-supports.exp (check_effective_target_c++26): Also
+ true for C++29.
+ (check_effective_target_c++26_down, check_effective_target_c++29_only,
+ check_effective_target_c++29): New procedures.
+ * lib/g++-dg.exp (g++-std-flags): Replace 26 with 29 in the list
+ and add 26 to the end.
+
+2026-06-16 Marek Polacek <polacek@redhat.com>
+
+ PR c++/125770
+ * g++.dg/reflect/members_of15.C: New test.
+
+2026-06-16 Marek Polacek <polacek@redhat.com>
+
+ PR c++/125539
+ * g++.dg/cpp1y/var-templ89.C: New test.
+
+2026-06-16 Robin Dapp <rdapp.gcc@gmail.com>
+
+ PR tree-optimization/125516
+ * gcc.target/riscv/rvv/autovec/pr125516.c: New test.
+
+2026-06-16 Abhishek Kaushik <abhishek.kaushik@arm.com>
+
+ * gcc.target/aarch64/sve2/niter-convert-range.c: New test.
+
+2026-06-16 Kyrylo Tkachov <ktkachov@nvidia.com>
+
+ * gcc.dg/vect/bb-slp-dep-oracle.c: New test.
+
+2026-06-16 Robin Dapp <rdapp.gcc@gmail.com>
+
+ PR target/125670
+ * gcc.target/riscv/rvv/autovec/pr125670.c: New test.
+
+2026-06-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR testsuite/125584
+ * gfortran.dg/coarray/caf.exp: Default GFORTRAN_SHARED_MEMORY_SIZE
+ to 2 MB unless running expensive tests.
+
+2026-06-16 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/125730
+ * gcc.dg/torture/pr125730.c: New testcase.
+
+2026-06-16 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/loop-versioning-13.c: XFAIL one transfor for ilp32.
+ * gcc.dg/pr109393.c: Remove XFAIL for ilp32.
+
+2026-06-16 Kyrylo Tkachov <ktkachov@nvidia.com>
+
+ PR target/125794
+ * gcc.target/aarch64/sve/pr125794.c: New test.
+
+2026-06-16 Avinash Jayakar <avinashd@linux.ibm.com>
+
+ PR tree-optimization/59429
+ * lib/target-supports.exp (check_effective_target_spaceship): Add new
+ proc for spaceship optab. x86, aarch64 and s390 included.
+ * gcc.dg/spaceship_int_variants.c: New test.
+ * gcc.dg/spaceship_uint_variants.c: New test.
+ * gcc.dg/spaceship_mixed_variants.c: New test.
+
+2026-06-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/125614
+ * gcc.target/i386/pr125614.c: New file.
+
+2026-06-16 Zhongyao Chen <chen.zhongyao@zte.com.cn>
+
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-5-i16.c: Expect vadd.vx,
+ vmul.vx, vsadd.vx and vssub.vx.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-5-i8.c: Likewise.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-6-i16.c: Likewise.
+ * gcc.target/riscv/rvv/autovec/vx_vf/vx-6-i8.c: Likewise.
+
2026-06-15 Roger Sayle <roger@nextmovesoftware.com>
* gcc.target/i386/fabsneg-2.c: New test case.