https://gcc.gnu.org/g:a0591d86bd2be838e30c132481a0b15a6ba1e112
commit r17-2435-ga0591d86bd2be838e30c132481a0b15a6ba1e112 Author: GCC Administrator <[email protected]> Date: Thu Jul 16 00:16:40 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 163 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 7 +++ gcc/c/ChangeLog | 8 +++ gcc/cobol/ChangeLog | 9 +++ gcc/cp/ChangeLog | 16 +++++ gcc/fortran/ChangeLog | 17 +++++ gcc/lto/ChangeLog | 6 ++ gcc/testsuite/ChangeLog | 122 ++++++++++++++++++++++++++++++++++++ libgcobol/ChangeLog | 5 ++ libgfortran/ChangeLog | 33 ++++++++++ libgomp/ChangeLog | 21 +++++++ libstdc++-v3/ChangeLog | 21 +++++++ 13 files changed, 429 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6afe1c5c9d0a..d8cb46e49f1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,166 @@ +2026-07-15 H.J. Lu <[email protected]> + + PR target/126231 + * config/i386/i386.md (*fix_trunc<mode>si_sse_2_zext): New. + +2026-07-15 wangjue <[email protected]> + + * config/riscv/riscv.cc (riscv_legitimize_address): Use + riscv_add_offset for scaled indexed addresses. + +2026-07-15 Andrew MacLeod <[email protected]> + + PR tree-optimization/126110 + * gimple-range-cache.cc (ranger_cache::mark_stale): Default defs + get a new timestamp to make them stale. + * gimple-range-infer.cc (infer_range_manager::add_range): When + an inferred range is added, mark the name as updated. + +2026-07-15 Jim Lin <[email protected]> + + * config/riscv/riscv-target-attr.cc + (riscv_target_attr_parser::parse_arch): Check m_loc instead of *m_loc + before emitting the diagnostic. + +2026-07-15 Jim Lin <[email protected]> + + * config/riscv/zicond.md: Emit any_ge instead of any_gt in the + GE/GEU if-then-else splitter. + +2026-07-15 Jeff Law <[email protected]> + + Revert: + 2026-06-29 Matthew Fortune <[email protected]> + + * config/mips/mips.h (ASM_SPEC): Add placeholders for -mmxu and + -mno-mxu. + * config/mips/mips.opt: New undocumented target option. + +2026-07-15 Nathan Sidwell <[email protected]> + + * gen-pass-instances.awk: Require only white-space before + macro invocations. + +2026-07-15 Tobias Burnus <[email protected]> + + * omp-low.cc (lower_private_allocate): When called on 'target' + and the allocator is a variable, obtain the device variable. + (lower_omp_target): Move processing of OMP_CLAUSE_USES_ALLOCATORS + on the device/receiver side in before the loop over clauses to + ensure the VALUE_EXPR points to uses_allocators's inited var. + +2026-07-15 Richard Biener <[email protected]> + + * tree-vectorizer.h (vect_transform_stmt): Return void. + * tree-vect-stmts.cc (vect_transform_stmt): Likewise. + +2026-07-15 Richard Biener <[email protected]> + + * tree-vect-slp.cc (vect_bb_slp_mark_live_stmts): Enhance + dumping in the failure case. + +2026-07-15 Roger Sayle <[email protected]> + + PR rtl-optimization/123236 + * simplify-rtx.cc (simplify_context::simplify_truncation): Handle + cases where a ZERO_EXTRACT or SIGN_EXTRACT has a different mode + to (but at least as wide as) its first operand. + +2026-07-15 Richard Biener <[email protected]> + + PR tree-optimization/126171 + * tree-scalar-evolution.cc (scev_dfs::add_to_evolution): + Remove code argument. Remove MINUS_EXPR handling here. + (scev_dfs::follow_ssa_edge_binary): Likewise. + (scev_dfs::follow_ssa_edge_expr): Handle MINUS_EXPR + separately here, promoting the whole operation to unsigned + instead of just the addend. + +2026-07-15 Andrew Stubbs <[email protected]> + + * regrename.cc (scan_rtx_address): Recurse for segment UNSPECs. + +2026-07-15 Luke Zhuang <[email protected]> + + * config/riscv/riscv.md (VXSAT_REGNUM): New constant. + (@tlsdesc<mode>): update clobbering. + +2026-07-15 H.J. Lu <[email protected]> + + PR target/126231 + * config/i386/i386.md (*fix_trunc<mode>si_sse_zext): New. + * config/i386/sse.md (*avx512fp16_vcvtsh2<sseintconvertsignprefix>si<round_zext_name>): + Likewise. + (*avx512fp16_vcvtsh2<sseintconvertsignprefix>si_2_zext): Likewise. + (*unspec_avx512fp16_fix<vcvtt_uns_suffix>_truncsi2<round_saeonly_zext_name>): Likewise. + (*sse_cvtss2si<round_zext_name>): Likewise. + (*sse_cvtss2si_2_zext): Likewise. + (*unspec_sse_cvttss2si<round_saeonly_zext_name>): Likewise. + (*sse_cvttss2si<round_saeonly_zext_name>): Likewise. + (*avx512f_vcvtss2usi<round_zext_name>): Likewise. + (*unspec_avx512f_vcvttss2usi<round_saeonly_zext_name>): Likewise. + (*avx512f_vcvttss2usi<round_saeonly_zext_name>): Likewise. + (*avx512f_vcvtsd2usi<round_zext_name>): Likewise. + (*unspec_avx512f_vcvttsd2usi<round_saeonly_zext_name>): + Likewise. + (*avx512f_vcvttsd2usi<round_saeonly_zext_name>): Likewise. + (*sse2_cvtsd2si<round_zext_name>): Likewise. + (*sse2_cvtsd2si_2_zext): Likewise. + (*unspec_sse2_cvttsd2si<round_saeonly_zext_name>): Likewise. + (*sse2_cvttsd2si<round_saeonly_zext_name>): Likewise. + (*avx10_2_vcvttsd2<sat_cvt_sign_prefix>sissi<round_saeonly_zext_name>): + Likewise. + (*avx10_2_vcvttss2<sat_cvt_sign_prefix>sissi<round_saeonly_zext_name>): + Likewise. + * config/i386/subst.md (round_zext_name): Likewise. + (round_zext_constraint): Likewise. + (round_zext_constraint2): Likewise. + (round_zext_nimm_predicate): Likewise. + (round_zext_nimm_scalar_predicate): Likewise. + (round_zext_op2): Likewise. + (round_zext): Likewise. + (round_saeonly_zext_name): Likewise. + (round_saeonly_zext_constraint): Likewise. + (round_saeonly_zext_constraint2): Likewise. + (round_saeonly_zext_nimm_scalar_predicate): Likewise. + (round_saeonly_zext_op2): Likewise. + (round_saeonly_zext): Likewise. + +2026-07-15 Jakub Jelinek <[email protected]> + + PR tree-optimization/126257 + * match.pd (x+x -> x*2): Only optimize if 2 is representable in the + type. + +2026-07-15 Jakub Jelinek <[email protected]> + + PR c++/120635 + * doc/extend.texi: Document variant spelling of + standard attributes and that alternate namespace + spelling for clang namespace is _Clang rather + than __clang__. For no_specializations use + _Clang:: rather than __clang__::. + +2026-07-15 Tobias Burnus <[email protected]> + + * omp-expand.cc (expand_omp_target): For 'device_type(host)', + invoke with device(omp_initial_device)'. + * omp-low.cc (create_omp_child_function): Take host_only + argument to prevent generating offload code. + (scan_omp_parallel, scan_omp_task, scan_omp_target, scan_omp_teams, + lower_omp_target): Update call. + * omp-offload.cc (omp_discover_declare_target_tgt_fn_r, + omp_discover_declare_target_fn_r): Do not add implicit 'declare + target' to target regions with 'device_type(host)'. + +2026-07-15 Hu, Lin1 <[email protected]> + + PR middle-end/126203 + PR middle-end/126221 + PR middle-end/126232 + * optabs.cc (emit_cmp_and_jump_insns): Take the masked_op mode + from TREE_TYPE (masked_op). + 2026-07-14 Tobias Burnus <[email protected]> * gimplify.cc (gimplify_omp_workshare): Handle 'device_type(nohost)' diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index bac338480596..cffc20fbe3dd 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260715 +20260716 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index ec6eb9bf05c6..60fdee0485a8 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,10 @@ +2026-07-15 Jakub Jelinek <[email protected]> + + PR c++/120635 + * c-lex.cc (c_common_has_attribute): For __clang__ + namespace don't call canonicalize_attr_name and for + _Clang use clang instead. + 2026-07-14 Jakub Jelinek <[email protected]> PR target/124948 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 38d90f6d0959..20dc77a72ec1 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,11 @@ +2026-07-15 Tobias Burnus <[email protected]> + + PR c/122748 + * c-parser.cc (c_parser_omp_clause_allocate): Avoid ICE + when allocator is an error_mark_node. + (c_parser_omp_clause_uses_allocators): Mark trait var + as read to avoid 'unused but set' warning. + 2026-07-08 Martin Uecker <[email protected]> * c-tree.h (zero_length_array_type_p, diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index a16ec00f0911..3f1c87f9e49f 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,12 @@ +2026-07-15 James K. Lowden <[email protected]> + + * parse_ante.h (procedure_division_ready): Test field with is_typedef(). + +2026-07-15 James K. Lowden <[email protected]> + + * parse.y: Add debug messages during parameter validation. + * symbols.h: (cbl_ffi_arg_t::capacity_ok): New function. + 2026-07-12 James K. Lowden <[email protected]> * cbldiag.h (enum cbl_diag_id_t): Add IbmCallFd. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 165a9b775bd6..226539a596f1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,19 @@ +2026-07-15 Tobias Burnus <[email protected]> + + PR c/122748 + * parser.cc (cp_parser_omp_clause_uses_allocators): Mark + trait var as read to avoid 'unused but set' warning. + +2026-07-15 Jakub Jelinek <[email protected]> + + PR c++/120635 + * parser.cc (cp_parser_std_attribute): Add + canonicalize_attr_ns_name lambda and use it instead of + canonicalize_attr_name for namespaces. Emit a warning + on __clang__::. + (cp_parser_std_attribute_spec): Emit a warning on + using __clang__:. + 2026-07-14 Jakub Jelinek <[email protected]> * decl.cc (grokfndecl): If raises is NULL_TREE for C++11 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 88409355af62..5784ac5467f2 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,20 @@ +2026-07-15 Thomas Koenig <[email protected]> + + PR fortran/126058 + * gfortran.h (enum var_allocated): New enum. + (symbol_attribute): Change member allocated to new enum. + (gfc_used_in_allocate_expr): Add argument how. + * interface.cc (gfc_compare_actual_formal): Mark variables + as allocated only when the formal arg is allocatable. + * intrinsic.cc (mark_args_as_used): Intrinsics do not allocate + their arguments. + * resolve.cc (find_unused_vs_set): Move warnings enabled with + -Wextra behind those enabled with -Wall. If a variable is + maybe allocated as an argument, mark it as such. + * symbol.cc (mark_vars_as_used): Always set location. + (gfc_used_in_allocate_expr): Add argument how. Use it. + (gfc_lvalue_allocated_at): Set sym->attr.allocated to ALLOCATED_ASSIGNMENT. + 2026-07-14 Jerry DeLisle <[email protected]> PR fortran/126234 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index a71695db1ea5..618576b291fc 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,9 @@ +2026-07-15 Michal Jires <[email protected]> + + PR lto/125257 + * lto-partition.cc: Handle min/max_partition_size = 0 for + cache partitioning. + 2026-05-30 Dhruv Chawla <[email protected]> * Make-lang.in: Fix typos. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7185e623aac0..cca8f71361dc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,125 @@ +2026-07-15 John David Anglin <[email protected]> + + * gfortran.dg/coarray/caf.exp: Run test with -pthread option. + +2026-07-15 wangjue <[email protected]> + + * gcc.target/riscv/large-frame-indexed-base.c: New test. + * gcc.target/riscv/small-frame-indexed-base.c: New test. + +2026-07-15 Andrew MacLeod <[email protected]> + + PR tree-optimization/126110 + * gcc.dg/pr126110.c: New. + +2026-07-15 Thomas Koenig <[email protected]> + + PR fortran/126058 + * gfortran.dg/warn_undefined_vars_7.f90: New test. + * gfortran.dg/warn_unused_but_set_variable_4.f90: New test. + +2026-07-15 Jeff Law <[email protected]> + + Revert: + 2026-07-15 Matthew Fortune <[email protected]> + + * gcc.target/mips/mxu-compile-no.c: New test. + * gcc.target/mips/mxu-compile.c: New test. + * gcc.target/mips/mxu-driver-no.c: New test. + * gcc.target/mips/mxu-driver.c: New test. + +2026-07-15 Tobias Burnus <[email protected]> + + * c-c++-common/gomp/uses_allocators-3.c: New test. + +2026-07-15 Michal Jires <[email protected]> + + PR lto/125257 + * gcc.dg/lto/pr125257_0.c: New test. + +2026-07-15 James K. Lowden <[email protected]> + + * cobol.dg/group2/CBL_CREATE_FILE___CBL_WRITE_FILE___CBL_CLOSE_FILE.cob: Add gcobc. + * cobol.dg/group2/CBL_DELETE_FILE.cob: Same. + * cobol.dg/group2/CBL_OPEN_FILE___CBL_CLOSE_FILE.cob: Same. + * cobol.dg/group2/CBL_OPEN_FILE___CBL_READ_FILE___CBL_CLOSE_FILE.cob: Same. + * cobol.dg/group2/CBL_READ_FILE__check_file_size_with_flags___128.cob: Same. + * cobol.dg/.gitignore: New test. + +2026-07-15 Rainer Orth <[email protected]> + + * gcc.target/i386/pr64731.c (dg-options): Add -mno-stackrealign. + +2026-07-15 Stefan Schulze Frielinghaus <[email protected]> + + * gcc.target/s390/asm-hard-reg-7.c: Utilize constraint f for + floating-point registers. + +2026-07-15 Tobias Burnus <[email protected]> + + PR c/122748 + * c-c++-common/gomp/uses_allocators-1.c: New test. + * c-c++-common/gomp/uses_allocators-2.c: New test. + +2026-07-15 Roger Sayle <[email protected]> + + PR rtl-optimization/123236 + * gcc.target/i386/pr123236-1.c: New test case. + +2026-07-15 Richard Biener <[email protected]> + + PR tree-optimization/126171 + * gcc.dg/pr126171-1.c: New testcase. + * gcc.dg/torture/pr126171-2.c: Likewise. + +2026-07-15 Luke Zhuang <[email protected]> + + * gcc.target/riscv/tlsdesc_clobber.c: New test. + * gcc.target/riscv/tlsdesc_clobber_v.c: New test. + * gcc.target/riscv/tlsdesc_clobber_v_csr.c: New test. + +2026-07-15 H.J. Lu <[email protected]> + + PR target/126231 + * gcc.target/i386/zext-avx10-1.c: New test. + * gcc.target/i386/zext-avx512f-1.c: Likewise. + * gcc.target/i386/zext-avx512fp16-1.c: Likewise. + * gcc.target/i386/zext-sse-1.c: Likewise. + * gcc.target/i386/zext-sse-2.c: Likewise. + +2026-07-15 Jakub Jelinek <[email protected]> + + PR tree-optimization/126257 + * gcc.dg/torture/bitint-101.c: New test. + +2026-07-15 Jakub Jelinek <[email protected]> + + PR c++/120635 + * g++.dg/cpp0x/attr-trivial_abi8.C: Add further tests. + * g++.dg/cpp0x/attr-trivial_abi11.C: New test. + * g++.dg/ext/attr-no_specializations1.C: Use _Clang:: instead of + __clang__. + * g++.dg/ext/attr-no_specializations2.C: Likewise. + * g++.dg/ext/attr-no_specializations6.C: Likewise. + * g++.dg/ext/attr-no_specializations7.C: Likewise. + * g++.dg/ext/attr-no_specializations8.C: Likewise. + * g++.dg/ext/attr-no_specializations10.C: Add further tests. + * g++.dg/ext/attr-no_specializations12.C: New test. + +2026-07-15 Tobias Burnus <[email protected]> + + * c-c++-common/gomp/target-device-type-1.c: Remove dg-sorry. + * gfortran.dg/gomp/target-device-type-1.f90: Likewise. + +2026-07-15 Hu, Lin1 <[email protected]> + + PR middle-end/126203 + PR middle-end/126221 + PR middle-end/126232 + * gcc.target/i386/pr126221-1.c: New test. + * gcc.target/i386/pr126221-2.c: Ditto. + * gfortran.dg/pr126221.f90: Ditto. + 2026-07-14 Tobias Burnus <[email protected]> * c-c++-common/gomp/target-device-type-1.c: Update dg-sorry diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index 5e5a5e7db167..f64d96d4dcfb 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,8 @@ +2026-07-15 James K. Lowden <[email protected]> + + * compat/gnu/lib/CBL_CREATE_FILE.cbl: Do not write to input parameter. + * compat/gnu/lib/CBL_OPEN_FILE.cbl: Same. + 2026-07-11 Robert Dubner <[email protected]> * charmaps.cc (helpful_iconv_open): Use snprintf() instead of strncpy(). diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 09c5b493919c..ada5996a1944 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,36 @@ +2026-07-15 John David Anglin <[email protected]> + + * caf/shmem/shared_memory.c (shared_memory_set_env): Don't + quote ENV_PPID. + (shared_memory_init) Don't quote ENV_BASE. + +2026-07-15 John David Anglin <[email protected]> + + * libgfortran.h (FMT_Z): Define. + * caf/shmem/alloc.c (get_memory_by_id_internal): Use FMT_Z. + (alloc_free_memory_with_id): Likewise. + * caf/shmem/supervisor.c (get_memory_size_from_envvar): Likewise. + * caf/shmem/thread_support.c (get_handle): Likewise. + (thread_support_init_supervisor): Likewise. + * intrinsics/reduce.c (reduce): Likewise. + +2026-07-15 John David Anglin <[email protected]> + + PR libfortran/125623 + * c99_protos.h: (strnlen, frexpl, scalbnl): Declare if HAVE_STRNLEN, + HAVE_FREXPL, HAVE_SCALBNL aren't defined, respectively. + * intrinsics/c99_functions.c (strnlen, frexpl, scalbnl): Implement. + * libgfortran.h: Include string.h if HAVE_STRING_H. + +2026-07-15 John David Anglin <[email protected]> + + * caf/shmem/shared_memory.c (SHM_NAME_FMTD, SHM_NAME_FMTS): Define. + (shared_memory_init) Use SHM_NAME_FMTD format to generate + shm_name. + (shared_memory_cleanup): Use SHM_NAME_FMTS to generate shm_name. + * caf/shmem/supervisor.c (get_memory_size_from_envvar): Use + 1 GB on 64-bit Windows and HP-UX. + 2026-07-08 Jerry DeLisle <[email protected]> PR libfortran/126116 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index bc4f54abcfd6..d2f7cadeb5e3 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,24 @@ +2026-07-15 Tobias Burnus <[email protected]> + + * testsuite/libgomp.c-c++-common/uses_allocators-10.c: New test. + +2026-07-15 Tobias Burnus <[email protected]> + + PR c/122748 + * libgomp.texi (Implementation status): Mark two + uses_allocators items and C23 support as 'Y'; + remove outdated remark regarding a deprecation warning. + (Memory Management Routines): Move omp_free after + omp_realloc; add commented @menu entries for new + TR15 routines. + (nvptx): Update @uref to point to a better webpage. + +2026-07-15 Tobias Burnus <[email protected]> + + * libgomp.texi (Implementations status): Mark 'device_type' + clause on target as implemented. + * testsuite/libgomp.c/target-device-type-3.c: New test. + 2026-07-14 Tobias Burnus <[email protected]> * error.c (GOMP_error): When passing msglen == (size_t) -2, diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fa7e51d5218d..70f536943ccf 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,24 @@ +2026-07-15 Kito Cheng <[email protected]> + + * include/tr1/ell_integral.tcc (__ellint_1): Throw domain_error + when phi is not finite. + (__ellint_2): Likewise. + (__ellint_3): Likewise. + * testsuite/special_functions/11_ellint_1/check_inf.cc: New test. + * testsuite/special_functions/12_ellint_2/check_inf.cc: New test. + * testsuite/special_functions/13_ellint_3/check_inf.cc: New test. + +2026-07-15 Jonathan Wakely <[email protected]> + + PR libstdc++/126111 + * include/std/format (__format::__write_escape_seq): Remove + unnecessary alias declaration. + * include/std/spanstream (wspanbuf, wispanstream, wospanstream) + (wspanstream): Only declare for _GLIBCXX_USE_WCHAR_T. + * include/std/syncstream (wsyncbuf wosyncstream): Likewise. + * src/c++23/std.cc.in: Add preprocessor checks for + _GLIBCXX_USE_WCHAR_T to names which depend on it. + 2026-07-14 François Dumont <[email protected]> * include/debug/safe_iterator.h
