https://gcc.gnu.org/g:1bc69a001cc149f07af9a269793a9ad932423028
commit r17-2183-g1bc69a001cc149f07af9a269793a9ad932423028 Author: GCC Administrator <[email protected]> Date: Tue Jul 7 00:16:36 2026 +0000 Daily bump. Diff: --- ChangeLog | 4 ++ gcc/ChangeLog | 121 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 20 ++++++++ gcc/cobol/ChangeLog | 22 +++++++++ gcc/cp/ChangeLog | 95 +++++++++++++++++++++++++++++++++++++ gcc/fortran/ChangeLog | 12 +++++ gcc/testsuite/ChangeLog | 89 +++++++++++++++++++++++++++++++++++ libbacktrace/ChangeLog | 44 ++++++++++++++++++ libgfortran/ChangeLog | 9 ++++ libstdc++-v3/ChangeLog | 6 +++ 11 files changed, 423 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 09bb1580cc44..3bcfb5bf315c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2026-07-06 Nina Ranns <[email protected]> + + * MAINTAINERS (Write After Approval): Add myself. + 2026-07-02 Eugene Rozenfeld <[email protected]> * MAINTAINERS: Update my email address. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a2aeace1abe..994e9578d122 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,124 @@ +2026-07-07 Andrew MacLeod <[email protected]> + + PR tree-optimization/125758 + * gimple-range.cc (gimple_ranger::gimple_ranger): Create prefill stack. + (gimple_ranger::gimple_ranger): Dispose of prefill stack. + (gimple_ranger::prefill_name): Maybe push name on prefill stack. + (gimple_ranger::prefill_stmt_dependencies): Implement a DFS + stack for dependency satisfaction. + * gimple-range.h (struct prefill_frame): New. + (m_prefill_stack): New. + (prefill_name): Sadjust parameters. + (m_active_prefill): New. + +2026-07-07 Andrew MacLeod <[email protected]> + + PR tree-optimization/125758 + * gimple-range-cache.cc (struct time_stamp): New. + (set_timestamp): Deleted. + (set_timestamp_stored): New. + (set_timestamp_calc): New. + (set_always_current): Remove a parameter. + (temporal_value): Remove. + (temporal_value_stored): New., + (temporal_value_calc): New. + (m_timestamp): Change to vector of struct time_stamp. + (temporal_cache::temporal_cache): Adjust. + (temporal_cache::current_p): Use both timestamps. + (temporal_cache::set_always_current): 0 means always current. + (temporal_cache::always_current_p): Check for 0. + (ranger_cache::get_global_range): adjust params. + (ranger_cache::update_consumers): Set stored timestamp. + (ranger_cache::set_global_range): Use new timestamps. + +2026-07-06 Mark Zhuang <[email protected]> + + * config/riscv/riscv-cores.def (spacemit-x60): Use rva22u64 + profile shorthand, add missing entries. + +2026-07-06 Richard Biener <[email protected]> + + * tree-vect-slp.cc (vect_build_slp_instance): For BB reductions + note the first root stmt. + +2026-07-06 Andrew Stubbs <[email protected]> + + * config/gcn/gcn-valu.md (*vec_set<mode>): Ad TImode instruction. + +2026-07-06 Eric Botcazou <[email protected]> + + * config/vms/vms.h (ADA_LONG_TYPE_SIZE): Delete. + * doc/tm.texi.in (ADA_LONG_TYPE_SIZE): Likewise. + * doc/tm.texi: Regenerate. + * system.h (ADA_LONG_TYPE_SIZE): Poison. + +2026-07-06 Eric Botcazou <[email protected]> + + * config/aarch64/aarch64.h (WIDEST_HARDWARE_FP_SIZE): Delete. + * config/alpha/alpha.h (WIDEST_HARDWARE_FP_SIZE): Likewise. + * config/i386/i386.h (WIDEST_HARDWARE_FP_SIZE): Likewise. + * config/ia64/vms.h (WIDEST_HARDWARE_FP_SIZE): Likewise. + * config/pa/pa.h (WIDEST_HARDWARE_FP_SIZE): Likewise. + * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Likewise. + * config/s390/s390.h (WIDEST_HARDWARE_FP_SIZE): Likewise. + * config/sparc/sparc.h (WIDEST_HARDWARE_FP_SIZE): Likewise. + * config/visium/visium.h (WIDEST_HARDWARE_FP_SIZE): Likewise. + * doc/tm.texi.in (WIDEST_HARDWARE_FP_SIZE): Likewise. + * doc/tm.texi: Regenerate. + * system.h (WIDEST_HARDWARE_FP_SIZE): Poison. + +2026-07-06 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/120892 + * gimple-ssa-split-paths.cc: Remove. + * passes.def (pass_split_paths): Remove. + * tree-pass.h (make_pass_split_paths): Remove. + * Makefile.in (OBJS): Remove gimple-ssa-split-paths.o. + * timevar.def (TV_SPLIT_PATHS): Remove. + * opts.cc (default_options_table): Remove the OPT_LEVELS_3_PLUS entry + for OPT_fsplit_paths. + * common.opt (fsplit-paths): Make it a deprecated no-op using Ignore. + * doc/invoke.texi (-fsplit-paths): Document as deprecated and remove it + from the option summary and the -O3 list. + +2026-07-06 H.J. Lu <[email protected]> + Richard Biener <[email protected]> + + PR target/109780 + PR target/109093 + PR target/123210 + PR target/124098 + PR target/124165 + PR target/124684 + PR target/124759 + PR target/124789 + * alias.cc (static_reg_base_value): Moved to rtl.h. + (find_base_term): Remove static. + * alias.h (find_base_term): New prototype. + * function.cc (thread_prologue_and_epilogue_insns): Call + init_alias_analysis and end_alias_analysis. + * rtl.h (static_reg_base_value): Moved from alias.cc. + * config/i386/i386.cc (stack_access_data): Removed. + (ix86_find_all_reg_uses_1): Likewise. + (ix86_find_all_reg_uses): Likewise. + (ix86_access_stack_p): Likewise. + (ix86_need_alignment_p_2): Likewise. + (ix86_need_alignment_p_1): Likewise. + (ix86_need_alignment_p): Likewise. + (ix86_update_stack_alignment_2): New function. + (ix86_update_stack_alignment_1): Likewise. + (ix86_update_stack_alignment): Rewrite. + (ix86_find_max_used_stack_alignment): If check_stack_slot is + true, call ix86_update_stack_alignment on each INSN. + +2026-07-06 liuhongt <[email protected]> + + PR target/126098 + * config/i386/sse.md (VI1_AVX512VNNIBW): Remove. + (sdot_prod<ssedvecmodelower><mode>): Use VI1_AVX512 instead of + VI1_AVX512VNNIBW so V64QI is enabled only under AVX512BW. + (udot_prod<ssedvecmodelower><mode>): Likewise. + 2026-07-05 Roger Sayle <[email protected]> PR target/126094 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 5a8d94039f15..a4e14241298d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260706 +20260707 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 11bc834ed5f8..365f72933940 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,23 @@ +2026-07-06 Eric Botcazou <[email protected]> + + * gnatlink.adb: Remove clause for System.CRTL. + (Store_File_Context): Remove clause for System.CRTL.long. + * gcc-interface/targtyps.cc (ADA_LONG_TYPE_SIZE): Delete. + (get_target_long_size): Use LONG_TYPE_SIZE. + * libgnat/i-c.ads: Remove clause for System.Parameters. + (long): Declare as derived from Long_Integer. + * libgnat/i-cstrin.ads: Add clause for System.Parameters. + * libgnat/s-crtl.ads: Remove clause for System.Parameters. + (long): Declare as subtype of Long_Integer. + * libgnat/s-parame.ads (long_bits): Delete. + * libgnat/s-parame__hpux.ads (long_bits): Likewise. + * libgnat/s-parame__vxworks.ads (long_bits): Likewise. + +2026-07-06 Eric Botcazou <[email protected]> + + * gcc-interface/decl.cc (gnat_to_gnu_entity): Use the precision of + longest_float_type_node to compute the maximum size of FP types. + 2026-07-01 Rainer Orth <[email protected]> * link.c: Check HAVE_LD_AT_FILE instead of HAVE_GNU_LD. diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index ec832f76323a..965bed032086 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,25 @@ +2026-07-06 James K. Lowden <[email protected]> + + * cbldiag.h (struct cbl_loc_t): Add as_first_line() function. + (location_dump): Shorten diagnostic message. + * cdf-copy.cc (copybook_elem_t::open_file): Same. + * copybook.h (class copybook_t): Remove debug message. + * lexio.cc (parse_copy_directive): Clarify comment. + (cdftext::lex_open): Set please_push_filename boolean for open_input. + (cdftext::open_input): Issue push directive where COPY appeared. + (cdftext::output_push_directive): New function. + (cdftext::process_file): Relocate PUSH/POP directives. + * lexio.h (class cdftext): Add please_push_filename and output_push_directive(). + * parse.y: Improve PERFORM diagnostics. + * parse_ante.h (ast_enter_exit_section): Correct paragraph section ancestor. + * scan.l: Update gcc location for PUSH directive. + * symbols.cc (cbl_perform_tgt_t::recurses): New validation function. + * symbols.h (struct cbl_perform_tgt_t): Same. + * util.cc (cobol_filename): Clarify diagnostic message. + (gcc_location_set_impl): Remove function. + (gcc_location_set): Implement directly. + (gcc_location_dump): Add newline to output. + 2026-06-30 Robert Dubner <[email protected]> * compare.cc (alpha_compare_figconst): Make the code endian-agnostic. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8fb2873c9171..933eec4530b0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,98 @@ +2026-07-06 Marek Polacek <[email protected]> + + PR c++/125901 + * cp-tree.h (finish_trait_expr): Adjust declaration. + * reflect.cc (eval_constant_of): Adjust the call to + eval_is_array_type. + (eval_reflect_object): Adjust the call to eval_is_object_type. + (eval_type_trait): Emit a diagnostic when finish_trait_expr + returns error_mark_node and set *non_constant_p. Adjust the + call to eval_type_trait. + (eval_is_array_type): Adjust the call to eval_type_trait. + (eval_is_pointer_type): Likewise. + (eval_is_member_object_pointer_type): Likewise. + (eval_is_member_function_pointer_type): Likewise. + (eval_is_enum_type): Likewise. + (eval_is_union_type): Likewise. + (eval_is_class_type): Likewise. + (eval_is_reference_type): Likewise. + (eval_is_member_pointer_type): Likewise. + (eval_is_object_type): Likewise. + (eval_is_trivially_copyable_type): Use eval_type_trait. + (eval_is_standard_layout_type): Likewise. + (eval_is_empty_type): Adjust the call to eval_type_trait. + (eval_is_polymorphic_type): Likewise. + (eval_is_abstract_type): Use eval_type_trait. + (eval_is_final_type): Adjust the call to eval_type_trait. + (eval_is_aggregate_type): Use eval_type_trait. + (eval_is_structural_type): Adjust the call to eval_type_trait. + (eval_is_bounded_array_type): Likewise. + (eval_is_constructible_type): Use eval_type_trait. + (eval_is_default_constructible_type): Likewise. + (eval_is_copy_constructible_type): Likewise. + (eval_is_move_constructible_type): Likewise. + (eval_is_assignable_type): Adjust the call to eval_type_trait. + (eval_is_copy_assignable_type): Use eval_type_trait. + (eval_is_move_assignable_type): Use eval_type_trait. + (eval_is_destructible_type): Adjust the call to eval_type_trait. + (eval_is_trivially_constructible_type): Use eval_type_trait. + (eval_is_trivially_default_constructible_type): Likewise. + (eval_is_trivially_copy_constructible_type): Likewise. + (eval_is_trivially_move_constructible_type): Likewise. + (eval_is_trivially_assignable_type): Adjust the call to + eval_type_trait. + (eval_is_trivially_copy_assignable_type): Use eval_type_trait. + (eval_is_trivially_move_assignable_type): Likewise. + (eval_is_trivially_destructible_type): Adjust the call to + eval_type_trait. + (eval_is_nothrow_constructible_type): Use eval_type_trait. + (eval_is_nothrow_default_constructible_type): Likewise. + (eval_is_nothrow_copy_constructible_type): Likewise. + (eval_is_nothrow_move_constructible_type): Likewise. + (eval_is_nothrow_assignable_type): Adjust the call to + eval_type_trait. + (eval_is_nothrow_copy_assignable_type): Use eval_type_trait. + (eval_is_nothrow_move_assignable_type): Likewise. + (eval_is_nothrow_destructible_type): Adjust the call to + eval_type_trait. + (eval_is_implicit_lifetime_type): Use eval_type_trait. + (eval_has_virtual_destructor): Likewise. + (eval_has_unique_object_representations): Likewise. + (eval_reference_constructs_from_temporary): Adjust the call to + eval_type_trait. + (eval_reference_converts_from_temporary): Likewise. + (eval_extent): Adjust the call to eval_is_bounded_array_type. + Check != boolean_true_node rather than == boolean_false_node when + checking eval_is_bounded_array_type. + (eval_is_same_type): Adjust the call to eval_type_trait. + (eval_is_base_of_type): Likewise. + (eval_is_virtual_base_of_type): Likewise. + (eval_is_convertible_type): Likewise. + (eval_is_nothrow_convertible_type): Likewise. + (eval_is_layout_compatible_type): Likewise. + (eval_is_pointer_interconvertible_base_of_type): Likewise. + (eval_is_invocable_type): Use eval_type_trait. + (eval_is_nothrow_invocable_type): Likewise. + (eval_data_member_spec): Adjust the calls to eval_is_array_type + and eval_is_object_type. Check != boolean_true_node rather than + == boolean_false_node when checking eval_is_object_type. + (eval_extract): Adjust the call to eval_is_reference_type. + (process_metafunction): Adjust the calls to various + metafunctions. + * semantics.cc (check_trait_type): Remove a default argument. + Add a complain parameter. If not emitting error messages, always + return false for incomplete types. + (finish_trait_expr): Add a complain parameter. Use it. Call + complete_type_or_maybe_complain instead of + complete_type_or_else. + +2026-07-06 Jason Merrill <[email protected]> + + PR c++/126031 + PR c++/121552 + * decl.cc (maybe_diagnose_non_c_class_typedef_for_linkage): Handle + incomplete type. + 2026-07-03 Jakub Jelinek <[email protected]> PR c++/126057 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 9f09f6f30456..49285b1c3d9d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,15 @@ +2026-07-06 Harald Anlauf <[email protected]> + + PR fortran/121366 + * intrinsic.texi: Remove documentation of GNU intrinsic extensions + (CCOSD,ZCOSD,CDCOSD) that were never implemented. + * iresolve.cc (gfc_resolve_trig): Fix resolution of degree + trigonometric functions and generate references to the proper + library functions. + (gfc_resolve_trig2): Likewise. + * trans-decl.cc (gfc_get_extern_function_decl): Ensure that isym + is set when resolving intrinsic procedures. + 2026-07-05 Sandra Loosemore <[email protected]> * trans.cc (trans_code): Do not try to set location on non-expr diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e4ab3bb53731..c0de5eb844fb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,92 @@ +2026-07-06 Philipp Tomsich <[email protected]> + + PR tree-optimization/124545 + * gcc.dg/pr124545-2.c: Use __UINT32_TYPE__ / __UINT64_TYPE__ + instead of unsigned int/long/long long so the runtime check + works on ILP32 targets. + +2026-07-06 Harald Anlauf <[email protected]> + + PR fortran/121366 + * gfortran.dg/trigd_1.f90: New test. + +2026-07-06 Jim Lin <[email protected]> + + * gcc.target/riscv/ext-dce-4.c (test_half_sign_needed): Shift + by 4 instead of 8 to keep the lh load. + +2026-07-06 Jim Lin <[email protected]> + + * gcc.target/riscv/shift-shift-7.c: Skip under -Og. + +2026-07-06 Marek Polacek <[email protected]> + + PR c++/125901 + * g++.dg/reflect/type_trait16.C: New test. + * g++.dg/reflect/type_trait17.C: New test. + * g++.dg/reflect/type_trait18.C: New test. + +2026-07-06 Jason Merrill <[email protected]> + + PR c++/126031 + PR c++/121552 + * g++.dg/cpp2a/typedef2.C: New test. + +2026-07-06 Jim Lin <[email protected]> + + * gcc.target/riscv/zbb-min-max-05.c: Skip under -funroll-loops. + +2026-07-06 Mark Zhuang <[email protected]> + + * gcc.target/riscv/mcpu-spacemit-x60.c: New test. + +2026-07-06 Torbjörn SVENSSON <[email protected]> + + * gcc.target/arm/tls-disable-literal-pool.c: Add quotation for + command line arguments. + +2026-07-06 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/120892 + * gcc.dg/tree-ssa/split-path-1.c: Move to... + * gcc.c-torture/execute/split-path-1.c: ...here. Adjust to a plain + compile and run test without the split-paths dump scan. + * gcc.dg/tree-ssa/split-path-2.c: Move to... + * gcc.c-torture/compile/split-path-2.c: ...here. Adjust to a + compile-only test without the split-paths dump scan. + * gcc.dg/tree-ssa/split-path-3.c: Move to... + * gcc.c-torture/compile/split-path-3.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-4.c: Move to... + * gcc.c-torture/compile/split-path-4.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-5.c: Move to... + * gcc.c-torture/compile/split-path-5.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-6.c: Move to... + * gcc.c-torture/compile/split-path-6.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-7.c: Move to... + * gcc.c-torture/compile/split-path-7.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-8.c: Move to... + * gcc.c-torture/compile/split-path-8.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-9.c: Move to... + * gcc.c-torture/compile/split-path-9.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-10.c: Move to... + * gcc.c-torture/compile/split-path-10.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-11.c: Move to... + * gcc.c-torture/compile/split-path-11.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-12.c: Move to... + * gcc.c-torture/compile/split-path-12.c: ...here. Likewise. + * gcc.dg/tree-ssa/split-path-13.c: Move to... + * gcc.c-torture/compile/split-path-13.c: ...here. Likewise. + * gcc.dg/tree-ssa/pr69270.c: Move to... + * gcc.c-torture/compile/pr69270.c: ...here. Likewise. + * g++.dg/tree-ssa/pr88797.C: Move to... + * g++.dg/torture/pr88797.C: ...here. Adjust to a compile-only test. + * gcc.target/i386/pr106450.c: Remove -fsplit-paths from dg-options. + +2026-07-06 liuhongt <[email protected]> + + PR target/126098 + * gcc.target/i386/pr126098.c: New test. + 2026-07-05 Jakub Jelinek <[email protected]> * g++.dg/opt/20260703-1.C: New test. diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index a03ccef8c0c7..465c68bff18c 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,47 @@ +2026-07-06 Ian Lance Taylor <[email protected]> + + * backtrace.h (backtrace_create_state): Rewrite comment to change + threaded parameter to flags. + (backtrace_full_callback, backtrace_syminfo_callback): Document + behavior change if moredata flag is set. + (struct backtrace_moredata): Define. + * backtrace-supported.h.in (BACKTRACE_SUPPORTS_MOREDATA): Define. + * internal.h (struct backtrace_state): Add moredata field. + (BACKTRACE_MOREDATA_VERSION): Define. + * state.c (backtrace_create_state): Change threaded parameter to + flags. Set state moredata field based on flags. + * dwarf.c (struct line): Add disc field. + (struct function): Add caller_disc field. + (call_callback): New static function. + (add_line): Add disc parameter. Change all callers. Store disc + in new line value. + (read_line_program): Track discriminator value. + (read_line_info): Initialize disc field in final line entry. + (read_function_entry): Handle DW_AT_GNU_discriminator. + (report_inlined_functions): Add disc parameter. Change all + callers. Call call_callback rather than calling callback + directly. + (dwarf_lookup_pc): Handle inlined discriminators. Call + call_callback rather than calling callback directly. + (dwarf_fileline): Call call_callback rather than calling callback + directly. + * elf.c (elf_syminfo): Pass moredata if requested. + * macho.c (macho_syminfo): Likewise. + * pecoff.c (coff_syminfo): Likewise. + * xcoff.c (xcoff_syminfo): Likewise. + (xcoff_lookup_pc): Likewise. + * backtrace.c: #include <string.h>. + (unwind): Pass moredata if requested. + * unknown.c: #include <string.h>. + (unknown_fileline): Pass moredata if requested. + * fileline.c (backtrace_syminfo_to_full_callback): Add comment + about moredata. + * mdtest.c: New test file. + * Makefile.am (mdtest_SOURCES): Define. + (mdtest_CFLAGS, mdtest_LDFLAGS, mdtest_LDADD): Define. + (BUILDTESTS): Add mdtest. + * Makefile.in: Regenerate. + 2026-06-29 Pietro Monteiro <[email protected]> PR bootstrap/103459 diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2efe779e8c12..67b707b93b43 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,12 @@ +2026-07-06 Harald Anlauf <[email protected]> + + PR fortran/121366 + * Makefile.am: Add dependency on wrappers to degree trigonometric + functions. + * Makefile.in: Regenerate. + * gfortran.map: Add references to new wrapper functions. + * intrinsics/trigd_specific.F90: New file. + 2026-07-01 Rainer Orth <[email protected]> * configure: Regenerate. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ab31a93cfded..c1d156da59ed 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2026-07-06 Thomas Schwinge <[email protected]> + Jonathan Wakely <[email protected]> + + * config/locale/generic/ctype_members.cc (use_table): New function. + (ctype<wchar_t>::do_narrow): Use use_table. + 2026-07-03 Nathan Myers <[email protected]> PR libstdc++/126072
