https://gcc.gnu.org/g:a6edc74e5e71165b96210ff91845dadfdf20ecc3
commit r17-540-ga6edc74e5e71165b96210ff91845dadfdf20ecc3 Author: GCC Administrator <[email protected]> Date: Sat May 16 00:16:26 2026 +0000 Daily bump. Diff: --- ChangeLog | 4 +++ gcc/ChangeLog | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 6 ++++ gcc/c/ChangeLog | 17 ++++++++++ gcc/cp/ChangeLog | 12 +++++++ gcc/testsuite/ChangeLog | 71 +++++++++++++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 12 +++++++ 8 files changed, 212 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c8486528c21b..da70a62d4095 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2026-05-15 Karl Meakin <[email protected]> + + * .editorconfig (COMMIT_EDITMSG): New section. + 2026-05-13 Zhongyao Chen <[email protected]> * MAINTAINERS (Write After Approval): Add myself. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 283c8f6dd10b..96175f71622a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,92 @@ +2026-05-15 Andrew Pinski <[email protected]> + + * tree-ssa-operands.cc (operands_scanner::parse_ssa_operands): + Process index of the gswitch only. + +2026-05-15 Andrew Pinski <[email protected]> + + PR tree-optimization/125290 + * tree-cfg.cc (group_case_labels_stmt): Remove code that was + added to remove `cases` that goto blocks of unreachable. + * tree-ssa-forwprop.cc (optimize_unreachable): Remove the + comment about switch cases being handled. + +2026-05-15 John David Anglin <[email protected]> + + * config/pa/pa.h (ASM_PREFERRED_EH_DATA_FORMAT): Use + DW_EH_PE_aligned encoding on 64-bit HP-UX. + +2026-05-15 H.J. Lu <[email protected]> + + PR rtl-optimization/125321 + * function-abi.cc (function_abi_aggregator::caller_save_regs): + Return the enabled registers. + +2026-05-15 Xi Ruoyao <[email protected]> + + PR tree-optimization/125291 + * tree-scalar-evolution.cc (simplify_peeled_chrec): Sign-extend + the step for peeled converted IV. + +2026-05-15 Xi Ruoyao <[email protected]> + + * config/loongarch/loongarch.md (spaceship<mode>4): New + define_expand. + +2026-05-15 Abhishek Kaushik <[email protected]> + + PR target/123924 + * match.pd: Allow conversions in FMA-to-FNMA fold. + +2026-05-15 Richard Biener <[email protected]> + + * tree-vectorizer.h (vector_costs::add_slp_cost): New. + * tree-vectorizer.cc (vector_costs::add_slp_cost): New + default version. + * tree-vect-slp.cc (add_slp_costs): Helper for dispatching + a cost vector in SLP chunks. + (vect_slp_analyze_operations): Adjust. + (li_cost_vec_cmp): Likewise. + (vect_bb_vectorization_profitable_p): Likewise. + +2026-05-15 Richard Biener <[email protected]> + + PR tree-optimization/125296 + * tree-ssa-forwprop.cc (forward_propagate_addr_expr_1): + Preserve alignment of the original access. + +2026-05-15 Jakub Jelinek <[email protected]> + + PR target/125308 + * config/i386/sse.md (*minmax<mode>3_4): Force also + operands[2] into a REG. + +2026-05-15 Disservin <[email protected]> + Jakub Jelinek <[email protected]> + + PR target/50481 + * builtin-types.def (BT_FN_UINT8_UINT8): New. + * builtins.def (BUILT_IN_BITREVERSE8, BUILT_IN_BITREVERSE16, + BUILT_IN_BITREVERSE32, BUILT_IN_BITREVERSE64): New builtins. + * builtins.cc (expand_builtin, is_inexpensive_builtin): Handle + bitreverse builtins. + * fold-const-call.cc (fold_const_call_ss): Fold bitreverse builtins. + * fold-const.cc (tree_call_nonnegative_warnv_p): Handle + bitreverse builtins. + * optabs.def (bitreverse_optab): New. + * optabs.cc (expand_bitreverse): New function. + (expand_unop): Use it for bitreverse_optab. + * tree-ssa-ccp.cc (evaluate_stmt): Handle bitreverse builtins. + * tree-ssa-phiopt.cc (empty_bb_or_one_feeding_into_p, + cond_removal_in_builtin_zero_pattern): Likewise. + * doc/extend.texi: Document __builtin_bitreverse{8,16,32,64}. + * doc/md.texi (bitreverse<mode>2): Document. + +2026-05-15 Jakub Jelinek <[email protected]> + + PR c++/125081 + * doc/invoke.texi (Wconstant-logical-operand): Document. + 2026-05-14 Andi Kleen <[email protected]> PR target/124316 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6fde35e83eb8..8ee5b417cbc7 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260515 +20260516 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 68b30d8ee30d..f25c276e061d 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2026-05-15 Jakub Jelinek <[email protected]> + + PR c++/125081 + * c.opt (Wconstant-logical-operand): New option. + * c.opt.urls: Regenerate. + 2026-05-14 Tobias Burnus <[email protected]> * c-omp.cc (omp_map_decayed_kind): Handle map modifiers diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 20813eb97d19..6406110a87b0 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,20 @@ +2026-05-15 Andi Kleen <[email protected]> + + PR c/124532 + * c-parser.cc (struct attr_state): Add reset method. + (c_parser_compound_statement_nostart): Rename a to astate. + Reset state before iterating statements. + +2026-05-15 Jakub Jelinek <[email protected]> + + PR c++/125081 + * c-tree.h (parser_build_binary_op): Add ORIG_ARG1 argument. + * c-typeck.cc (parser_build_binary_op): Likewise. Emit + -Wconstant-logical-operand warnings. + * c-parser.cc (c_parser_binary_expression): Adjust + parser_build_binary_op caller, pass to it the original + stack[sp - 1].expr.value before c_objc_common_truthvalue_conversion. + 2026-05-14 Tobias Burnus <[email protected]> * c-parser.cc (c_parser_omp_declare_mapper): Check that the diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e02794d16e11..03406ad148bb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,15 @@ +2026-05-15 Jakub Jelinek <[email protected]> + + PR c++/125081 + * typeck.cc (cp_build_binary_op): Emit -Wconstant-logical-operand + warnings. + +2026-05-15 Jason Merrill <[email protected]> + + PR c++/125315 + * constexpr.cc (init_subob_ctx): Allow both ctor and object + to be null for an empty subobject. + 2026-05-14 Patrick Palka <[email protected]> PR c++/124628 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 611dca6c2779..8513dd50bf0f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,74 @@ +2026-05-15 Marek Polacek <[email protected]> + + * g++.dg/warn/Wuninitialized-pr107919-1.C: Fix a dg-bogus. + +2026-05-15 Andrew Pinski <[email protected]> + + PR tree-optimization/125290 + * g++.dg/warn/Wuninitialized-pr107919-1.C: Remove xfail. + * gcc.dg/analyzer/taint-assert.c: Update for the non-removal + of block containing unreachable. + * gcc.dg/torture/pr125290-1.c: New test. + +2026-05-15 Andi Kleen <[email protected]> + + PR c/124532 + * c-c++-common/pr124532.c: New test. + +2026-05-15 Lili Cui <[email protected]> + + * gcc.dg/vect/slp-reduc-15.c: Add aarch64 support and use + -mavx2 for x86. + +2026-05-15 Xi Ruoyao <[email protected]> + + PR tree-optimization/125291 + * gcc.c-torture/execute/pr125291.c: New test. + +2026-05-15 Xi Ruoyao <[email protected]> + + * gcc.target/loongarch/la64/spaceship.c: New test. + +2026-05-15 Abhishek Kaushik <[email protected]> + + PR target/123924 + * gcc.target/aarch64/sve/fnma_match.c: New test. + * gcc.target/aarch64/sve/pr123897.c: + Update the test to scan for FNMA in the tree dump. + +2026-05-15 Richard Biener <[email protected]> + + PR tree-optimization/125296 + * gcc.dg/pr125206.c: New testcase. + +2026-05-15 Jakub Jelinek <[email protected]> + + PR target/125308 + * gcc.target/i386/pr125308.c: New test. + +2026-05-15 Disservin <[email protected]> + Jakub Jelinek <[email protected]> + + PR target/50481 + * gcc.dg/builtin-bitreverse-1.c: New test. + * gcc.dg/builtin-bitreverse-2.c: New test. + +2026-05-15 Jakub Jelinek <[email protected]> + + PR c++/125179 + * g++.dg/reflect/pr125179.C: New test. + +2026-05-15 Jakub Jelinek <[email protected]> + + PR c++/125081 + * c-c++-common/Wconstant-logical-operand-1.c: New test. + * c-c++-common/Wconstant-logical-operand-2.c: New test. + +2026-05-15 Jason Merrill <[email protected]> + + PR c++/125315 + * g++.dg/cpp2a/no_unique_address16.C: New test. + 2026-05-14 Uros Bizjak <[email protected]> * lib/target-supports.exp (check_profiling_available): Remove diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 49beae4d1ef8..d7d6d73f63f4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +2026-05-15 Tomasz Kamiński <[email protected]> + + * include/std/optional [__cpp_lib_optional_range_support]: + Replace <bits/stl_iterator.h> include with <bits/range_access.h>. + * include/std/stacktrace: Likewise. + +2026-05-15 Tomasz Kamiński <[email protected]> + + * testsuite/std/format/debug_nonunicode.cc: Pass ISO-8859-1 as + exec-charset and make sure that it is supported. + * testsuite/std/format/fill_nonunicode.cc: Likewise. + 2026-05-14 Tomasz Kamiński <[email protected]> * include/std/type_traits (__type_identity, __type_identity_t)
