https://gcc.gnu.org/g:3e7b6ef6bca0173902e9f3d81ec51581f0e81846
commit r17-1823-g3e7b6ef6bca0173902e9f3d81ec51581f0e81846 Author: GCC Administrator <[email protected]> Date: Thu Jun 25 00:16:38 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 143 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/algol68/ChangeLog | 10 ++++ gcc/c-family/ChangeLog | 5 ++ gcc/cobol/ChangeLog | 21 +++++++ gcc/cp/ChangeLog | 21 +++++++ gcc/fortran/ChangeLog | 25 +++++++++ gcc/testsuite/ChangeLog | 82 +++++++++++++++++++++++++++ include/ChangeLog | 6 ++ libgomp/ChangeLog | 57 +++++++++++++++++++ libstdc++-v3/ChangeLog | 35 ++++++++++++ 11 files changed, 406 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8a471034d7bc..fdda11dc95d2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,146 @@ +2026-06-24 Oleg Tolmatcev <[email protected]> + + * config/i386/prfchwintrin.h (_m_prefetchw): Take + volatile const void * instead of void *. + +2026-06-24 Andrew MacLeod <[email protected]> + + PR tree-optimization/125910 + * value-range.cc (prange::set_pt): Do not set PT when zero. + (prange::intersect): If the result is zero_p, clear PT. + (prange::verify_range): Verify points-to range is valid. + * value-range.h (zero_p): Do not assert, move to verify range. + (prange::set_pt): Only set PT when the range valid. + +2026-06-24 Vineet Gupta <[email protected]> + + PR debug/125421 + * dwarf2out.cc (modified_type_die): Handle qualified_type being + a variant of dtype as if they were identical to avoid peeling a + typdef. + For named types, use dentry unconditionally as that is valid for + both cases of qualified_type == and != dentry. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * omp-builtins.def (BUILT_IN_GOMP_REDUCTION_START): New builtin. + (BUILT_IN_GOMP_REDUCTION_END): New builtin. + * omp-low.cc (lower_reduction_clauses): Replace + BUILT_IN_GOMP_ATOMIC_START / BUILT_IN_GOMP_ATOMIC_END with + BUILT_IN_GOMP_REDUCTION_START / BUILT_IN_GOMP_REDUCTION_END. + (lower_omp_sections): Likewise. + (lower_omp_scope): Likewise. + (lower_omp_for): Likewise. + * tree-ssa-alias.cc (check_fnspec): Handle + BUILT_IN_GOMP_REDUCTION_START and BUILT_IN_GOMP_REDUCTION_END as + memory barriers. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * omp-builtins.def (BUILT_IN_GOMP_BARRIER): Change function to + GOMP_barrier_ext and type to BT_FN_VOID_INT. + (BUILT_IN_GOMP_BARRIER_CANCEL): Change function to + GOMP_barrier_cancel_ext and type to BT_FN_VOID_INT. + * omp-expand.cc (expand_omp_for_static_nochunk): Pass + GOMP_BARRIER_IMPLICIT_WORKSHARE to omp_build_barrier. + (expand_omp_for_static_chunk): Likewise. + (expand_omp_single): Likewise. + * omp-general.cc (omp_build_barrier): Add kind parameter; pass it + to GOMP_barrier_ext or GOMP_barrier_cancel_ext. + * omp-general.h (omp_build_barrier): Update declaration to add + kind parameter. + * omp-low.cc (lower_rec_input_clauses): Determine barrier kind from + the enclosing gimple statement code and pass it to omp_build_barrier. + (lower_omp_for_scan): Pass GOMP_BARRIER_IMPLICIT_WORKSHARE to + omp_build_barrier. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * builtin-types.def (BT_COMPLEX_INT, BT_FN_COMPLEX_INT): New types. + * omp-builtins.def (BUILT_IN_GOMP_LOOP_STATIC_WORKSHARING): New + builtin. + (BUILT_IN_GOMP_DISTRIBUTE_STATIC_WORKSHARING): Likewise. + * omp-expand.cc (expand_omp_for_static_nochunk): Replace separate calls + to public API functions with a single call to + GOMP_loop_static_worksharing or GOMP_distribute_static_worksharing, then + unpack id and count. + (expand_omp_for_static_chunk): Likewise. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * omp-builtins.def (BUILT_IN_GOMP_HAS_MASKED_THREAD_NUM): New builtin. + * omp-low.cc (lower_omp_master): Call it. + +2026-06-24 Filip Kastl <[email protected]> + + * gimple-ssa-pta-constraints.cc (handle_call_arg): Mention in + comment that the function can get called in IPA mode. + +2026-06-24 Richard Biener <[email protected]> + + PR tree-optimization/110743 + * tree-ssa-uninit.cc (maybe_warn_operand): Also cover + VIEW_CONVERT_EXPR uses for RMW bit clear/set pattern + detection. + +2026-06-24 Jeevitha Palanisamy <[email protected]> + + * config/rs6000/altivec.md (V16QI_V2DI): New mode iterator. + (add<mode>3): Split into two patterns to support future ISA + alternatives. + (sub<mode>3): Likewise. + * config/rs6000/vsx.md (VIArith): New mode iterator. + (vsx_mul<mode>3): New insn pattern. + (smul<mode>3_highpart): Split into mode-specific patterns. + (umul<mode>3_highpart): Likewise. + (smulv8hi3_highpart): New insn pattern. + (smulv4si3_highpart): Likewise. + (smulv2di3_highpart): Likewise. + (umulv8hi3_highpart): Likewise. + (umulv4si3_highpart): Likewise. + (umulv2di3_highpart): Likewise. + * config/rs6000/rs6000-builtins.def (__builtin_vsx_xvmulhuh): New + builtin. + (__builtin_vsx_xvmulhsh): Likewise. + * config/rs6000/rs6000-overload.def (__builtin_vec_mulh): Add + overloads for vector multiply-high signed/unsigned halfword. + * config/rs6000/rs6000-gen-builtins.cc (enum bif_stanza): Add entry for + BSTZ_FUTURE_VSX. + (stanza_map): Add future-vsx stanza mapping. + (enable_string): Add ENB_FUTURE_VSX. + (write_decls): Add ENB_FUTURE_VSX to the bif_enable enum in the + generated header file. + * config/rs6000/rs6000.md (define_attr "isa"): Add future to the list + of ISA values. + (define_attr "enabled"): Add check for future ISA. + * config/rs6000/rs6000-builtin.cc (rs6000_invalid_builtin): Handle + ENB_FUTURE_VSX and issue a diagnostic requiring -mcpu=future and -mvsx. + (rs6000_builtin_is_supported): Return TARGET_FUTURE && TARGET_VSX + for ENB_FUTURE_VSX built-ins. + * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions Available + on Future ISA): Document new functions. + +2026-06-24 Christopher Bazley <[email protected]> + + * config/aarch64/aarch64-sve.md: Update + vec_init<mode><Vel> and vec_shl_insert_<mode> to + accept all SVE vector modes. + +2026-06-24 H.J. Lu <[email protected]> + + PR target/125958 + * config/i386/i386-expand.cc (ix86_expand_lcp_stall_peephole): + Replace !REG_P (dest) with !GENERAL_REG_P (dest). + +2026-06-24 Lili Cui <[email protected]> + + * config/i386/x86-tune-costs.h (generic_cost): Increase branch + mispredict scale from COSTS_N_INSNS (2) to COSTS_N_INSNS (2) + 3. + +2026-06-24 Jan Beulich <[email protected]> + + * doc/ifn.texi: Drop blanks after @code. + 2026-06-23 Kwok Cheung Yeung <[email protected]> Sandra Loosemore <[email protected]> diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c4827740d110..155841997d62 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260624 +20260625 diff --git a/gcc/algol68/ChangeLog b/gcc/algol68/ChangeLog index a477dc7368e9..120d807e3311 100644 --- a/gcc/algol68/ChangeLog +++ b/gcc/algol68/ChangeLog @@ -1,3 +1,13 @@ +2026-06-24 Jose E. Marchesi <[email protected]> + + * a68-moids-sorting.cc (packs_ordering): Do not rely on pointer + comparison when comparing pack element names. + +2026-06-24 Jose E. Marchesi <[email protected]> + + * a68-imports.cc (complete_encoded_mode): Fix comment on ordering + of union packs entries. + 2026-06-22 Kanishka Solanki <[email protected]> * a68-lang.cc (a68_get_alias_set): New function. diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 2222be79133a..a9acbf0ab83e 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2026-06-24 Paul-Antoine Arras <[email protected]> + + * c-omp.cc (c_finish_omp_barrier): Pass GOMP_BARRIER_EXPLICIT to + GOMP_barrier_ext. + 2026-06-16 Jakub Jelinek <[email protected]> * c-common.h (enum cxx_dialect): Add cxx29. diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index b9e27ef73d2e..69da64703645 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,24 @@ +2026-06-24 James K. Lowden <[email protected]> + + * parse.y: Modify grammar to accept list of intrinic function tokens. + * parse_ante.h (in_procedure_division): Remove C-syntax (void). + (in_environment_division): Declare function. + * scan_ante.h (in_procedure_division): Whitespace. + (in_environment_division): Define function. + (typed_name): Return intrinsic function token in environment division. + * scan_post.h (in_procedure_division): Remove duplicate declaration. + +2026-06-24 James K. Lowden <[email protected]> + + * lexio.cc (valid_sequence_area): Each character may be + ISDIGIT or ISBLANK. + +2026-06-24 James K. Lowden <[email protected]> + + * parse.y: Introduce ast_relop to apply validation. + * parse_ante.h (ast_relop): Declare. + (class eval_subject_t): Use ast_relop. + 2026-06-23 James K. Lowden <[email protected]> * cbldiag.h (enum cbl_diag_id_t): Add IbmCdf. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5a7a514c5a6f..6c57b618b4ab 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,24 @@ +2026-06-24 Marek Polacek <[email protected]> + + PR c++/125939 + * cp-tree.h (build_const_lref): Declare. + * method.cc (build_stub_type): Pass tf_ignore_bad_quals to + cp_build_qualified_type. + * reflect.cc (build_const_lref): New. + (get_range_elts): Use it. + (eval_is_copy_constructible_type): Likewise. + (eval_is_copy_assignable_type): Likewise. + (eval_is_trivially_copy_assignable_type): Likewise. + (eval_is_nothrow_copy_constructible_type): Likewise. + (eval_is_nothrow_copy_assignable_type): Likewise. + * tree.cc (trivially_copy_constructible_p): Likewise. + (handle_annotation_attribute): Likewise. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * semantics.cc (finish_omp_barrier): Push GOMP_BARRIER_EXPLICIT + onto the argument vector. + 2026-06-23 Jason Merrill <[email protected]> PR c++/125334 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 15c3a08032c1..b516ec54916f 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,28 @@ +2026-06-24 Jerry DeLisle <[email protected]> + + PR fortran/125761 + * trans-array.cc (build_array_ref): When the descriptor's + canonical type is a class type, pass the class container as + 'decl' to gfc_build_array_ref for genuine array element + references (rank > 0), so the element size can be corrected + for an unlimited-polymorphic character payload. + * trans-types.cc (gfc_typenode_for_spec): Move setting the + GFC_CLASS_TYPE_P bit to.. + (gfc_get_derived_type): .. and use attr.is_class. + (gfc_get_derived_type): Move setting the GFC_CLASS_TYPE_P bit + as the last step before returning the derived->backend_decl + if the derived->attr.is_class is true. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * trans-openmp.cc (gfc_trans_omp_barrier): Pass GOMP_BARRIER_EXPLICIT + to GOMP_barrier_ext. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * types.def (BT_COMPLEX_INT): New type. + (BT_FN_COMPLEX_INT): New function type. + 2026-06-23 Kwok Cheung Yeung <[email protected]> Sandra Loosemore <[email protected]> diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 62d1579009c9..7512afb5e028 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,85 @@ +2026-06-24 Thomas Schwinge <[email protected]> + + * gcc.dg/autopar/runtime-auto.c: Adjust. + +2026-06-24 Oleg Tolmatcev <[email protected]> + + * gcc.target/i386/prfchw-Wcast-qual-1.c: New test. + +2026-06-24 Andrew MacLeod <[email protected]> + + PR tree-optimization/125910 + * gcc.dg/pr125910.c: New. + +2026-06-24 Jerry DeLisle <[email protected]> + + PR fortran/125761 + * gfortran.dg/select_type_53.f90: New test. + +2026-06-24 Marek Polacek <[email protected]> + + PR c++/125939 + * g++.dg/reflect/type_trait15.C: New test. + +2026-06-24 Vineet Gupta <[email protected]> + + PR debug/125421 + * gcc.dg/debug/dwarf2/pr125421.c: New Test. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * c-c++-common/gomp/atomic-builtins-1.c: New test. + * c-c++-common/gomp/reduction-builtins-1.c: New test. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * g++.dg/gomp/barrier-1.C: Update scan dump. + * g++.dg/gomp/tpl-barrier-1.C: Likewise. + * gcc.dg/gomp/barrier-1.c: Likewise. + * c-c++-common/gomp/implicit-barrier-1.c: New test. + * gfortran.dg/gomp/lastprivate-allocatable-barrier-1.f90: New test. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * c-c++-common/gomp/for-8.c: New test. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * c-c++-common/gomp/masked-1.c: Add scan directives verifying that + GOMP_has_masked_thread_num is emitted and omp_get_thread_num is not. + * g++.dg/gomp/master-3.C: Update scan-tree-dump-times to look for + GOMP_has_masked_thread_num instead of omp_get_thread_num. + * gcc.dg/gomp/master-3.c: Likewise. + * gfortran.dg/gomp/masked-1.f90: Add scan directive for + GOMP_has_masked_thread_num. + +2026-06-24 Richard Biener <[email protected]> + + PR tree-optimization/110743 + * gcc.dg/uninit-pr110743-2.c: New testcase. + +2026-06-24 Jeevitha Palanisamy <[email protected]> + + * gcc.target/powerpc/vsx_arith_builtin-1.c: New test. + * gcc.target/powerpc/vsx_arith_builtin-2.c: Likewise. + * gcc.target/powerpc/vsx_arith_builtin-3.c: Likewise. + * gcc.target/powerpc/vsx_arith_builtin-4.c: Likewise. + * gcc.target/powerpc/vsx_arith_vect_1.c: Likewise. + * gcc.target/powerpc/vsx_arith_vect_2.c: Likewise. + +2026-06-24 Christopher Bazley <[email protected]> + + * gcc.target/aarch64/sve/slp_stack.c: New test. + +2026-06-24 H.J. Lu <[email protected]> + + PR target/125958 + * gcc.target/i386/pr125958.c: New test. + +2026-06-24 Rainer Orth <[email protected]> + + * gcc.dg/vect/pr125567.c: Require vect_hw_misalign. + 2026-06-23 Jason Merrill <[email protected]> PR c++/125334 diff --git a/include/ChangeLog b/include/ChangeLog index 3feff810c6f2..9ea24ca9e961 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2026-06-24 Paul-Antoine Arras <[email protected]> + + * gomp-constants.h (GOMP_BARRIER_IMPLICIT_PARALLEL): New macro. + (GOMP_BARRIER_IMPLICIT_WORKSHARE): New macro. + (GOMP_BARRIER_EXPLICIT): New macro. + 2026-06-19 Tobias Burnus <[email protected]> PR libgomp/125877 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 53391508a891..b854582a5b8b 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,60 @@ +2026-06-24 Paul-Antoine Arras <[email protected]> + + * atomic.c (GOMP_reduction_start): New function. + (GOMP_reduction_end): New function. + * libgomp.map (GOMP_6.0.2): Export GOMP_reduction_start and + GOMP_reduction_end. + * libgomp_g.h (GOMP_reduction_start): New declaration. + (GOMP_reduction_end): New declaration. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * barrier.c (GOMP_barrier_ext): New function. + (GOMP_barrier_cancel_ext): Likewise. + * libgomp_g.h (GOMP_barrier_ext): Declare. + (GOMP_barrier_cancel_ext): Likewise. + * libgomp.map (GOMP_6.0.2): Add GOMP_barrier_ext and + GOMP_barrier_cancel_ext. + * testsuite/libgomp.c/barrier-1.c: Update GOMP_barrier_ext calls to pass + GOMP_BARRIER_EXPLICIT. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * config/gcn/teams.c (GOMP_distribute_static_worksharing): New + function. + * config/nvptx/teams.c (GOMP_distribute_static_worksharing): Likewise. + * libgomp.map (GOMP_6.0.2): Export GOMP_loop_static_worksharing and + GOMP_distribute_static_worksharing. + * libgomp_g.h (GOMP_loop_static_worksharing): New declaration. + (GOMP_distribute_static_worksharing): Likewise. + * parallel.c (GOMP_loop_static_worksharing): New function. + * teams.c (GOMP_distribute_static_worksharing): Likewise. + +2026-06-24 Paul-Antoine Arras <[email protected]> + + * libgomp.map (GOMP_6.0.2): New symbol version. Export + GOMP_has_masked_thread_num. + * libgomp_g.h (GOMP_has_masked_thread_num): New declaration. + * parallel.c (GOMP_has_masked_thread_num): New function. + +2026-06-24 Tobias Burnus <[email protected]> + + PR libgomp/125940 + * Makefile.am (libgomp_la_SOURCES): Add numa.c. + * Makefile.in: Regenerate. + * affinity.c (gomp_get_current_numa_node, + gomp_get_numa_distance): Move to ... + * numa.c: ... this new file. + * config/linux/affinity.c (gomp_get_current_numa_node, + gomp_get_numa_distance): Move to ... + * config/linux/numa.c: ... this new file. + +2026-06-24 Tobias Burnus <[email protected]> + + PR libgomp/125951 + * target.c (omp_get_device_distances): Handle omp_default_device + in the fallback code. + 2026-06-22 Tobias Burnus <[email protected]> * config/gcn/teams.c (omp_get_num_teams_dim, diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e36c2ce387c1..39e3a5afc2ce 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,38 @@ +2026-06-24 Jonathan Wakely <[email protected]> + + * testsuite/27_io/filesystem/operations/copy_symlink/1.cc: Add + dg-require-target-fs-symlinks. + * testsuite/27_io/filesystem/operations/copy_symlink/2.cc: + Likewise. + * testsuite/27_io/filesystem/operations/copy_symlink/3.cc: + Likewise. + * testsuite/27_io/filesystem/operations/copy_symlink/4.cc: + Likewise. + +2026-06-24 Jonathan Wakely <[email protected]> + + PR libstdc++/118158 + * testsuite/27_io/filesystem/operations/pr118158.cc: Add + dg-require-mkfifo. + +2026-06-24 Tomasz KamiĆski <[email protected]> + + * include/std/format (__do_vformat_to): Change the preprocessor + check for __do_vformat_to. + +2026-06-24 Alexandre Oliva <[email protected]> + + * src/c++23/Makefile.am (libstdc++.modules.json): Rewrite + without abspath make function. + (stamp-modules-bits): Likewise. + * src/c++23/Makefile.in: Rebuilt. + +2026-06-24 Alexandre Oliva <[email protected]> + + * acinclude.m4 (GLIBXX_ENABLE_LIBSTDCXX_TIME) [vxworks*]: + Enable __gthread_yield. + * configure: Rebuilt. + 2026-06-23 Jonathan Wakely <[email protected]> PR libstdc++/125684
