https://gcc.gnu.org/g:5792827ef418a446fdfe0cfbdac5dd66ac9c729f
commit r17-3981-g5792827ef418a446fdfe0cfbdac5dd66ac9c729f Author: GCC Administrator <[email protected]> Date: Tue Sep 8 00:16:33 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/fortran/ChangeLog | 42 ++++++++++++++++++++++++++++++ gcc/m2/ChangeLog | 44 +++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 63 ++++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 21 +++++++++++++++ libstdc++-v3/ChangeLog | 12 +++++++++ 7 files changed, 252 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d19a8a0fad0..4aeea2e4c23f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,72 @@ +2026-09-07 Roger Sayle <[email protected]> + + * expmed.cc (store_fixed_bit_field_1): Use new aop_optab when + writing a value into a fixed size bitfield of a structure. + * optabs.cc (expand_binop): If target doesn't provide a suitable + aop<mode>3 instruction, intelligently use PLUS or IOR instead. + (expand_binop): For rotations, use aop_optab to select AOP + implementation instead of hard-coding add_optab. + (expand_bitreverse): Likwise, Use aop_optab instead of ior_optab + when composing swapped bits and nibbles (allows use of shift_add). + * optabs.def (aop_optab): New named optab for any_or_plus. + * rtl.def (AOP): New RTX code to capture any_or_plus semantics. + * config/avr/avr.md (aop<mode>3): New define_expand to specify + that IOR should always be used to implement any_or_plus (AOP). + +2026-09-07 Andrew Stubbs <[email protected]> + + * config/gcn/gcn.cc (gcn_spill_class): Spill scalars to SGPRs. + +2026-09-07 Andrew Stubbs <[email protected]> + + * config/gcn/gcn-valu.md (vnhi): New mode attribute. + (VnHI): Likewise. + (<u>mul<mode><vnsi>3<exec>): New. + (<u>mul<mode><vnhi>3<exec>): New. + * config/gcn/gcn.md (<u>mulqihi3_scalar): Rename this ... + (<u>mulqihi3): ... to this. + +2026-09-07 Andrew Stubbs <[email protected]> + + * config/gcn/gcn-opts.h (TARGET_RDNA3_PLUS): New. + * config/gcn/gcn-valu.md (<expander><mode>2<exec>): New. + (<expander><mode>2): New. + (<expander><mode>2_natural): New. + * config/gcn/gcn.md (rnda): Add n3 and 3p values. + (enabled): Handle rdna n3 and 3p. + (mnemonic): Add clz and ctz. + (rdna_mnemonic): New code attribute. + +2026-09-07 Kyrylo Tkachov <[email protected]> + Cui Lili <[email protected]> + + PR tree-optimization/125557 + * ifcvt.cc (noce_convert_multiple_sets): Build metadata for both arms. + Append entries for else-only live-out destinations, enforce the final + output limit, and preserve the then-arm source location. + (noce_convert_multiple_sets_1): Consume the unified output metadata. + Select incoming values for destinations defined by only one arm. + (init_noce_multiple_sets_info): Initialize stable metadata fields. + (bb_ok_for_noce_convert_multiple_sets): Remove final-source + classification. + (noce_process_if_block): Form the union of the arm live-outs, accept + arm-only destinations and one-set arms without a shared-source gate, and + keep the CFG arm order. + +2026-09-07 Jakub Jelinek <[email protected]> + + * optabs.def (bitinttofp_optab, bitintfromfp_optab): New optabs. + * optabs-libfuncs.h (gen_bitint_fp_libfunc): Declare. + * optabs-libfuncs.cc (gen_interclass_conv_libfunc): Move most of + the function into ... + (gen_interclass_conv_libfunc_name_name): New helper function. + (gen_bitint_fp_libfunc): New function. + * internal-fn.cc (expand_FLOATTOBITINT): Use + optab_libfunc (bitintfromfp_optab, mode) instead of constructing + libcall name manually. + (expand_BITINTTOFLOAT): Similarly with + optab_libfunc (bitinttofp_optab, mode). + 2026-09-06 Iain Sandoe <[email protected]> * config/i386/i386-expand.cc (ix86_expand_call): User setting of diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index bce4a90beeb0..ddeb467b9032 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260907 +20260908 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 0baf450c534b..3d2baf92e476 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,45 @@ +2026-09-07 Jerry DeLisle <[email protected]> + + PR fortran/126964 + * trans-array.cc: Include stor-layout.h. + (gfc_span_folds_into_stride): Compare the element length against + the least alignment of its type rather than the alignment. + +2026-09-07 Tobias Burnus <[email protected]> + + * parse.cc (decode_omp_directive): Parse underscore + variant of multi-word directive names as well. + +2026-09-07 Jerry DeLisle <[email protected]> + + PR fortran/126964 + * gfortran.h (gfc_dummy_requires_direct_arg): New prototype. + * symbol.cc (gfc_is_span_addressed_dummy): Rename to... + (gfc_dummy_requires_direct_arg): ... this and move the addressing + out of the description. + * trans.h (struct lang_decl): Add span_normalized. + (GFC_DECL_SPAN_NORMALIZED): New macro. + (gfc_conv_subref_array_arg): Add span_only argument. + * trans-array.h (gfc_span_folds_into_stride): New prototype. + (gfc_conv_span_is_elem_len): Likewise. + * trans-array.cc (gfc_span_folds_into_stride): New function. + (gfc_is_span_addressed_dummy): New function, false for a dummy + whose element spacing is folded into its strides. + (gfc_conv_span_is_elem_len): New function. + (gfc_trans_dummy_array_bias): Fold the element spacing of a span + normalized dummy into its strides and its offset on entry. + * trans-decl.cc (gfc_build_dummy_array_decl): Mark such a dummy + span normalized rather than giving it a span variable. + (gfc_get_symbol_decl): Do not set GFC_DECL_PTR_ARRAY_P for it. + * trans-expr.cc (is_whole_span_addressed_dummy): New function. + (dummy_accepts_strided_arg): New function. + (copy_in_out_allowed): Use gfc_dummy_requires_direct_arg, the + actual argument of a span normalized dummy being uncopied too. + (gfc_conv_subref_array_arg): Take span_only and, with it, test the + span of the descriptor instead of contiguity. + (gfc_conv_procedure_call): Ask for the span test when a span + addressed dummy is passed on to a dummy that has a descriptor. + 2026-09-05 Jerry DeLisle <[email protected]> PR fortran/126950 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 68c70d7212a3..479143549930 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,47 @@ +2026-09-07 Gaius Mulley <[email protected]> + + PR modula2/126847 + * Make-lang.in (TEXILIBSRC): New define. + (m2/stage1/cc1gm2$(exeext)): Rewrite. + (m2/gm2-gcc/$(SRC_PREFIX)%.h): Add order-only dependancy. + (m2/gm2-libs-boot/M2RTS.o): Ditto. + (m2/gm2-libs-boot/%.o): Ditto. + (m2/gm2-libs-boot/$(SRC_PREFIX)%.h): Ditto. + (m2/gm2-libs-boot/RTintdummy.o): Ditto. + (m2/gm2-libs-boot/wrapc.o): Ditto. + (m2/gm2-libs-boot/UnixArgs.o): Ditto. + (m2/gm2-libs-boot/choosetemp.o): Ditto. + (m2/gm2-libs-boot/errno.o): Ditto. + (m2/gm2-libs-boot/dtoa.o): Ditto. + (m2/gm2-libs-boot/ldtoa.o): Ditto. + (m2/gm2-libs-boot/termios.o): Ditto. + (m2/gm2-libs-boot/SysExceptions.o): Ditto. + (m2/gm2-libs-boot/SysStorage.o): Ditto. + (m2/gm2-libs-boot/Selective.o): Ditto. + (m2/gm2-compiler-boot/M2GCCDeclare.o): Ditto. + (m2/gm2-compiler-boot/M2Error.o): Ditto. + (m2/gm2-compiler-boot/%.o): Ditto. + (m2/gm2-compiler-boot/$(SRC_PREFIX)%.h): Ditto. + (m2/gm2-compiler-boot/P0SyntaxCheck.c): Ditto. + (m2/gm2-compiler-boot/P0SyntaxCheck.o): Ditto. + (m2/gm2-compiler-boot/P1Build.c): Ditto. + (m2/gm2-compiler-boot/P1Build.o): Ditto. + (m2/gm2-compiler-boot/P2Build.c): Ditto. + (m2/gm2-compiler-boot/P2Build.o): Ditto. + (m2/gm2-compiler-boot/P3Build.c): Ditto. + (m2/gm2-compiler-boot/P3Build.o): Ditto. + (m2/gm2-compiler-boot/PCBuild.c): Ditto. + (m2/gm2-compiler-boot/PCBuild.o): Ditto. + (m2/gm2-compiler-boot/PHBuild.c): Ditto. + (m2/gm2-compiler-boot/PHBuild.o): Ditto. + (m2/gm2-compiler-boot/m2flex.o): Ditto. + (m2/gm2-libiberty/$(SRC_PREFIX)%.h): Ditto. + (m2/gm2-compiler/%.o): Ditto. + (m2/gm2-compiler/m2flex.o): Ditto. + (m2/gm2-libs/choosetemp.o): Ditto. + (m2/gm2-libs-boot/libgm2.a): Ditto. + (m2/gm2-compiler-boot/gm2.a): Ditto. + 2026-08-24 Gaius Mulley <[email protected]> * Make-lang.in (GM2_FOR_TARGET_ESC): Remove. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8ddf34148961..7d380b84b805 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,66 @@ +2026-09-07 Jerry DeLisle <[email protected]> + + PR fortran/126964 + * gfortran.dg/target_dummy_span_2.f90: New test. + * gfortran.dg/c_loc_test_22.f90: Expect the addressing of the + target. + * gfortran.dg/gomp/target-span-1.f90: Likewise. + * gfortran.dg/target_dummy_repack_1.f90: Likewise. + * gfortran.dg/target_dummy_span_1.f90: Likewise. + * gfortran.dg/class_to_type_9.f90: Do not assert whether an + assumed shape dummy is passed the strides or a copy. + +2026-09-07 Tobias Burnus <[email protected]> + + * gfortran.dg/gomp/underscore_directives-2.f90: New test. + * gfortran.dg/gomp/underscore_directives.f90: New test. + +2026-09-07 Roger Sayle <[email protected]> + + * gcc.target/i386/builtin-bitreverse-1.c: New test case. + +2026-09-07 Richard Earnshaw <[email protected]> + + PR target/111609 + * gcc.target/arm/vfp-shift-a2t2.c: Fix test and simplify match + patterns. + +2026-09-07 Andrew Stubbs <[email protected]> + + * gcc.target/gcn/avgpr-spill-double.c: Switch to vector type. + * gcc.target/gcn/avgpr-spill-int.c: Likewise. + * gcc.target/gcn/avgpr-spill-long.c: Likewise. + * gcc.target/gcn/avgpr-spill-short.c: Likewise. + * gcc.target/gcn/sgpr-spill-double.c: New test. + * gcc.target/gcn/sgpr-spill-int.c: New test. + * gcc.target/gcn/sgpr-spill-long.c: New test. + * gcc.target/gcn/sgpr-spill-short.c: New test. + +2026-09-07 Kyrylo Tkachov <[email protected]> + Cui Lili <[email protected]> + + PR tree-optimization/125557 + * gcc.target/aarch64/ifcvt_multiple_sets_diamond_4.c: Test disjoint, + partially overlapping, and one-set outputs. + * gcc.target/aarch64/ifcvt_multiple_sets_diamond_5.c: Update expected + code generation for the fixed arm order. + * gcc.target/aarch64/ifcvt_multiple_sets_diamond_6.c: New test. + * gcc.target/aarch64/ifcvt_multiple_sets_diamond_7.c: New test. + * gcc.target/i386/ifcvt-multiple-sets-diamond-1.c: Test disjoint outputs + with a condition-code clobber. + +2026-09-07 Jerry DeLisle <[email protected]> + + PR fortran/126964 + * gfortran.dg/target_dummy_repack_1.f90: New test. + * gfortran.dg/target_dummy_repack_2.f90: New test. + * gfortran.dg/target_dummy_span_1.f90: New test. + * gfortran.dg/c_loc_test_22.f90: Update for addressing by the + element length. + * gfortran.dg/gomp/target-span-1.f90: Likewise. + * gfortran.dg/class_to_type_9.f90: Likewise, and expect an + assumed shape dummy to take no copy of a strided actual argument. + 2026-09-06 Iain Sandoe <[email protected]> * gcc.target/i386/truncsfbf-3.c: Do not override diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 11a612dfac00..a0cf01b4a020 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,24 @@ +2026-09-07 Tobias Burnus <[email protected]> + + * libgomp.texi (OpenMP 6.0 implementation status): Mark + 'need_device_addr' as supported. + (GOMP_RUNTIME_USM): Improve wording of the unsupported part. + +2026-09-07 Tobias Burnus <[email protected]> + + * libgomp.texi (OpenMP 6.0 Impl Status): Mark underscore + variant of multi-word directive names as supported by Fortran. + +2026-09-07 Andrew Stubbs <[email protected]> + + * config/gcn/time.c (omp_get_wtime): Use "=Sg". + +2026-09-07 Jerry DeLisle <[email protected]> + + PR fortran/126964 + * testsuite/libgomp.oacc-fortran/host_data-5.F90: Expect no copy + of a span normalized dummy passed to a dummy without a descriptor. + 2026-09-04 Tobias Burnus <[email protected]> PR libgomp/127186 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ce92fdaa9863..9ea6625442de 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +2026-09-07 Tomasz KamiĆski <[email protected]> + + PR libstdc++/118665 + * include/bits/uniform_int_dist.h + (uniform_int_distribution::_S_nd): Alternate between rejecting + from beginning/end of the range. + * testsuite/26_numerics/random/uniform_int_distribution/operators/pr118665.cc: + New test. + * testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon.cc: + Updated expected values for test_2p55p1 that's depends on + uniform_int_distribution. + 2026-09-03 Nathan Myers <[email protected]> PR libstdc++/126800
