From: GCC Administrator Date: Wed, 17 Jun 2026 00:16:32 +0000 (+0000) Subject: Daily bump. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebfd9383a62ae151bfb1f51f7b46987095089ecb;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5a81a23f5af..6343abf352c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,91 @@ +2026-06-16 H.J. Lu + + 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 + + * 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 + + 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 + + * 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 + + * 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 + + PR target/125670 + * config/riscv/autovec-opt.md: Use avl_type operand number. + +2026-06-16 Richard Biener + + 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 + + * fold-const.cc (fold_plusminus_mult_expr): Use + wide_int for the case of two INTEGER_CST multiplicands. + +2026-06-16 Kyrylo Tkachov + + 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 + + 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 + + PR target/125614 + * config/i386/i386-features.cc (replace_vector_const): Replace + gen_rtx_SUBREG with gen_lowpart. + 2026-06-15 Roger Sayle * config/i386/i386.cc (ix86_insn_cost): Add a suitable penalty diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index a667d62b776..600063a82e3 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260616 +20260617 diff --git a/gcc/algol68/ChangeLog b/gcc/algol68/ChangeLog index ad5d323cb72..05c272743e2 100644 --- a/gcc/algol68/ChangeLog +++ b/gcc/algol68/ChangeLog @@ -1,3 +1,17 @@ +2026-06-16 Jose E. Marchesi + + * a68-imports.cc (a68_replace_equivalent_mode): Get a moif and + check extracts. + (a68_open_packet): Fix deduplication of in-moif modes and move + extract replacement code to a68_replace_equivalent_mode. + * a68-low-moids.cc (a68_lower_moids): Check that all known modes + have an associated ctype as part of the sanity checks. + +2026-06-16 Gerald Pfeifer + + * README: Avoid redirect for web link to Algol 68 Jargon File. + * ga68-coding-guidelines.texi (Top): Ditto. + 2026-06-15 Jose E. Marchesi * a68-parser-taxes.cc (attr_descr): New function. diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 4c3e453a017..2222be79133 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,13 @@ +2026-06-16 Jakub Jelinek + + * c-common.h (enum cxx_dialect): Add cxx29. + * c-opts.cc (set_std_cxx29): New function. + (c_common_handle_option): Handle -std=c++2d, -std=c++29, -std=gnu++2d + and -std=gnu++29. + * c.opt (std=c++2d, std=c++29, std=gnu++2d, std=gnu++29): New. + (std=c++2c, std=c++26, std=gnu++2c, std=gnu++26): Move Undocumented + to the 2c cases, tweak description. + 2026-06-08 Zhou Qiankang PR c++/125642 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index eb11222080c..b348d13c673 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,231 @@ +2026-06-16 Robert Dubner + + * 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 + + * 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 * move.cc (hex_of): Move the routine. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 011541cc66c..127e5fb1d87 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,18 @@ +2026-06-16 Marek Polacek + + PR c++/125770 + * decl2.cc (mark_used): Check complain & tf_error before giving + an error. + +2026-06-16 Marek Polacek + + PR c++/125539 + * cvt.cc (ocp_convert): In a template, always call + perform_implicit_conversion. Pass flags to + perform_implicit_conversion_flags. + * decl.cc (check_initializer): Remove a call to + build_implicit_conv_flags. + 2026-06-12 Jakub Jelinek PR c++/125674 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 617d43860dd..dbf9787041b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,100 @@ +2026-06-16 Iain Sandoe + + * gcc.target/i386/fabsneg-2.c: Allow for lC* in Mach-O. + +2026-06-16 Robert Dubner + + * 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 + + * 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 + + PR c++/125770 + * g++.dg/reflect/members_of15.C: New test. + +2026-06-16 Marek Polacek + + PR c++/125539 + * g++.dg/cpp1y/var-templ89.C: New test. + +2026-06-16 Robin Dapp + + PR tree-optimization/125516 + * gcc.target/riscv/rvv/autovec/pr125516.c: New test. + +2026-06-16 Abhishek Kaushik + + * gcc.target/aarch64/sve2/niter-convert-range.c: New test. + +2026-06-16 Kyrylo Tkachov + + * gcc.dg/vect/bb-slp-dep-oracle.c: New test. + +2026-06-16 Robin Dapp + + PR target/125670 + * gcc.target/riscv/rvv/autovec/pr125670.c: New test. + +2026-06-16 Rainer Orth + + 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 + + PR tree-optimization/125730 + * gcc.dg/torture/pr125730.c: New testcase. + +2026-06-16 Richard Biener + + * gcc.dg/loop-versioning-13.c: XFAIL one transfor for ilp32. + * gcc.dg/pr109393.c: Remove XFAIL for ilp32. + +2026-06-16 Kyrylo Tkachov + + PR target/125794 + * gcc.target/aarch64/sve/pr125794.c: New test. + +2026-06-16 Avinash Jayakar + + 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 + + PR target/125614 + * gcc.target/i386/pr125614.c: New file. + +2026-06-16 Zhongyao Chen + + * 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 * gcc.target/i386/fabsneg-2.c: New test case. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index e77bd8d47fb..f0c734a9b0e 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2026-06-16 Jakub Jelinek + + * include/cpplib.h (enum c_lang): Add CLK_GNUCXX29 and CLK_CXX29. + * init.cc (lang_defaults): Add CLK_GNUCXX29 and CLK_CXX29 row. + (cpp_init_builtins): Change __cplusplus value for C++26 from 202400L + to 202603L and set __cplusplus value for C++29 to 202700L. + 2026-06-14 Ben Boeckel * init.cc (cpp_finish): Remove unnecessary `struct` keyword. diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index 65668013d0d..0cf264d48b5 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,14 @@ +2026-06-16 Robert Dubner + + * gmath.cc (multiply_int256_by_int64): Comment. + (int256_as_decimal): Handle negative values. + (__gg__dividef45): Repair remainder logic when numeric-display + parameters are negative. + +2026-06-16 James K. Lowden + + * posix/shim/open.cc (defined): Honor _GNU_SOURCE and _POSIX_C_SOURCE. + 2026-06-14 Robert Dubner * libgcobol.cc (int128_to_field): Set packed-decimal sign nybble to