https://gcc.gnu.org/g:4a641781cea82df2d3f057c678cb560b05464b5c
commit r17-323-g4a641781cea82df2d3f057c678cb560b05464b5c Author: GCC Administrator <[email protected]> Date: Tue May 5 00:16:31 2026 +0000 Daily bump. Diff: --- ChangeLog | 4 + contrib/ChangeLog | 5 + gcc/ChangeLog | 270 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 6 ++ gcc/c-family/ChangeLog | 7 ++ gcc/cp/ChangeLog | 16 +++ gcc/testsuite/ChangeLog | 134 ++++++++++++++++++++++++ libbacktrace/ChangeLog | 7 ++ libgcc/ChangeLog | 6 ++ 10 files changed, 456 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 61c0a92ca56b..9d3442d2cb19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2026-05-04 Vijay Shankar <[email protected]> + + * MAINTAINERS: Add myself to write after approval. + 2026-05-01 Manuel Jacob <[email protected]> * configure.ac: Set default for CPP_FOR_BUILD environment variable in all cases. diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 96731fa4e2be..7d3734ca384d 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2026-05-04 Iain Buclaw <[email protected]> + + * compare-all-tests: Remove references to m32c. + * config-list.mk: Likewise. + 2026-04-30 Jakub Jelinek <[email protected]> * gennews (files): Add files for GCC 16. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b26c74992283..ebc157b23a64 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,273 @@ +2026-05-04 H.J. Lu <[email protected]> + + PR c/121911 + * target.def (stack_protect_guard_symbol_p): New target hook. + * targhooks.cc (default_stack_protect_guard): Use the type of + uintptr_t, instead of ptr_type_node, if the + stack_protect_guard_symbol_p hook returns true. + * config/i386/i386.cc (ix86_stack_protect_guard_symbol_p): New. + (TARGET_STACK_PROTECT_GUARD_SYMBOL_P): Likewise. + * doc/tm.texi: Regenerated. + * doc/tm.texi.in (TARGET_STACK_PROTECT_GUARD_SYMBOL_P): New. + +2026-05-04 Iain Buclaw <[email protected]> + + * config/m32c/*: Delete entire directory. + * attr-urls.def: Remove references to m32c. + * config.gcc: Likewise. + * config/msp430/msp430.cc (msp430_expand_epilogue): Likewise. + * configure: Regenerate. + * configure.ac: Remove references to m32c. + * doc/extend.texi: Likewise. + * doc/install.texi: Likewise. + * doc/invoke.texi: Likewise. + * doc/md.texi: Likewise. + * explow.cc (promote_mode): Likewise. + * regenerate-opt-urls.py: Likewise. + * config/microblaze/microblaze.opt.urls: Regenerate. + * config/msp430/msp430.opt.urls: Regenerate. + * config/nds32/nds32.opt.urls: Regenerate. + * config/rl78/rl78.opt.urls: Regenerate. + * config/rs6000/sysv4.opt.urls: Regenerate. + * config/rx/elf.opt.urls: Regenerate. + * config/stormy16/stormy16.opt.urls: Regenerate. + * config/visium/visium.opt.urls: Regenerate. + +2026-05-04 Richard Sandiford <[email protected]> + + * config/aarch64/aarch64.cc (aarch64_expand_sve_vec_perm): Check + whether all indices of a variable selector refer to the first + values vector. + +2026-05-04 Mark Wielaard <[email protected]> + + * config/xtensa/xtensa.opt.urls: Regenerated. + +2026-05-04 Nathan Myers <[email protected]> + + * doc/invoke.texi: insert "result" in comment text + +2026-05-04 Artemiy Volkov <[email protected]> + + PR tree-optimization/122679 + * tree-ssa-forwprop.cc (simplify_vector_constructor): Check the + PROP_gimple_lvec property before returning false. + +2026-05-04 Andrew Pinski <[email protected]> + + PR tree-optimization/116823 + * tree-ssa-phiprop.cc (can_handle_load): Skip past + clobbers for !aggregate. + +2026-05-04 David Malcolm <[email protected]> + + * data-streamer-in.cc (streamer_read_value_range): Update for + renaming of value_range::set_type to value_range::set_range_class. + * gimple-range-gori.cc (gori_compute::compute_operand_range): + Likewise. + (gori_compute::compute_operand1_and_operand2_range): Likewise. + (gori_stmt_info::gori_stmt_info): Likewise. + (gori_calc_operands): Likewise. + (gori_name_helper): Likewise. + * ipa-cp.cc (ipcp_vr_lattice::set_to_bottom): Likewise. + * ipa-cp.h (ipcp_vr_lattice::init): Likewise. + * ipa-fnsummary.cc (evaluate_properties_for_edge): Likewise. + * ipa-prop.cc (ipa_vr::get_vrange): Likewise. + * range-op.h (range_cast): Likewise. + * value-range.h (value_range::set_type): Rename to... + (value_range::set_range_class): ...this, and add a note to the + leading comment that it doesn't set the type of the underlying + vrange. + (value_range::init): Add a similar note to the leading comment. + +2026-05-04 Andrew MacLeod <[email protected]> + + * gimple-range-cache.cc (ranger_cache::range_of_expr): Handle + NULL statement. + +2026-05-04 Andrew MacLeod <[email protected]> + + * gimple-range-fold.cc (fold_using_range::fold_stmt): Move + range_of_address call into nested 'if' with other routines. + +2026-05-04 Andrew MacLeod <[email protected]> + + * gimple-range-cache.cc (ranger_cache::ranger_cache): Allocate bitmap. + (ranger_cache::~ranger_cache): Free bitmap. + (ranger_cache::mark_stale): New. + (ranger_cache::get_global_range): Check if NAME is marked stale. + * gimple-range-cache.h (ranger_cache::mark_stale): New. + * gimple-range.cc (gimple_ranger::update_range_info): New variant. + * gimple-range.h (update_range_info): New prototype. + * gimple.h (gimple_set_modified): Call update_range_info. + * value-query.cc (range_query::update_range_info): New variant. + * value-query.h (range_query::update_range_info): New prototype. + +2026-05-04 Andrew MacLeod <[email protected]> + + * value-range.cc (irange::intersect): Snap bounds as they are created. + +2026-05-04 Andrew MacLeod <[email protected]> + + * value-query.cc (range_query::get_tree_range): Check if return + range R supports the expression type. + +2026-05-04 Uros Bizjak <[email protected]> + + * config/i386/i386.md (*bt<SWI48:mode>_mask): Use + int248_register_operand for operand 1 predicate. + (*jcc_bt<mode>_mask): Use nonimmediate_operand for operand 1 predicate. + (*jcc_bt<SWI48:mode>_mask_1): Use nonimmediate_operand for operand 1 + predicate and int248_register_operand for operand 2 predicate. + (BT followed by CMOV splitter): Use nonimmediate_operand + for operand 1 predicate. + (*bt<mode>_setcqi): Ditto. + (*bt<mode>_setncqi): Ditto. + (*bt<mode>_setnc<mode>): Ditto. + (*bt<mode>_setncqi_2): Ditto. + (*bt<mode>_setc<mode>_mask): Use nonimmediate_operand for operand 1 + predicate and int248_register_operand for operand 2 predicate. + +2026-05-04 Andrew Pinski <[email protected]> + + PR tree-optimization/123120 + PR tree-optimization/116823 + * tree-ssa-phiprop.cc (phiprop_insert_phi): Add other_vuse + argument, use it instead of the vuse on the use_stmt. + (can_handle_load): Add aggregate argument. Also return the vuse + of the load/store when the insert is allowed. + Skipping over one non-modifying store for !aggregate. + (propagate_with_phi): Update call to can_handle_load + and phiprop_insert_phi. + +2026-05-04 Richard Biener <[email protected]> + + Revert: + 2025-04-30 Richard Biener <[email protected]> + + PR tree-optimization/120003 + * tree-ssa-threadbackward.cc (back_threader::find_paths_to_names): + Allow block re-use but do not enlarge the path beyond such a + re-use. + +2026-05-04 Richard Biener <[email protected]> + + PR middle-end/125156 + * tree-cfgcleanup.cc (cleanup_control_expr_graph): Clear + EDGE_TRUE_VALUE and EDGE_FALSE_VALUE edge flags only. + +2026-05-04 Richard Biener <[email protected]> + + PR middle-end/125146 + * gimple-fold.cc (fold_stmt_1): Discard stmts in seq + after failed gimple_simplify as well. + +2026-05-04 Kishan Parmar <[email protected]> + + * config.gcc (powerpc*-*-*): Add support for supporting + --with-cpu=future. + * config/rs6000/aix71.h (ASM_CPU_SPEC): Pass -mfuture to the assembler + if the user used the -mcpu=future option. + * config/rs6000/aix72.h (ASM_CPU_SPEC): Likewise. + * config/rs6000/aix73.h (ASM_CPU_SPEC): Likewise. + * config/rs6000/rs6000-builtin.cc (rs6000_invalid_builtin): Handle + ENB_FUTURE and issue diagnostic requiring -mcpu=future. + (rs6000_builtin_is_supported): Return TARGET_FUTURE for + ENB_FUTURE built-ins. + * config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Define + _ARCH_FUTURE if -mcpu=future. + * config/rs6000/rs6000-cpus.def (FUTURE_MASKS_SERVER): New macro. + (POWERPC_MASKS): Add OPTION_MASK_FUTURE. + (rs6000_cpu_opt_value): New entry for 'future' via the RS6000_CPU macro. + * config/rs6000/rs6000-gen-builtins.cc (enum bif_stanza): Add + BSTZ_FUTURE for future. + (write_decls): Add ENB_FUTURE in bif_enable enum of generated header + file. + * config/rs6000/rs6000-opts.h (PROCESSOR_FUTURE): New macro. + * config/rs6000/rs6000-tables.opt: Regenerate. + * config/rs6000/rs6000.cc (rs6000_machine_from_flags) If -mcpu=future, + set the .machine directive to "future". + (rs6000_opt_masks): Add entry for -mfuture. + * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mfuture to the assembler + if the user used the -mcpu=future option. + * config/rs6000/rs6000.opt (-mfuture): New option. + * doc/invoke.texi (IBM RS/6000 and PowerPC Options): Document + -mcpu=future. + +2026-05-04 Takayuki 'January June' Suwa <[email protected]> + + * doc/extend.texi (Xtensa Named Address Spaces): + Document '__force_l32'. + (Xtensa Attributes): Document 'force_l32'. + * doc/invoke.texi (Xtensa Options): + Document '-m[no-]force-l32'. + +2026-05-04 Takayuki 'January June' Suwa <[email protected]> + + * config/xtensa/xtensa.cc (xtensa_expand_load_force_l32_2): + New sub-function for inspecting pseudos that clearly point to the + function's stack frame. + (xtensa_expand_load_force_l32): + Add handling for loading from the generic address space when the + "-mforce-l32" option is enabled, however, obvious references to + function stack frames are excluded. + * config/xtensa/xtensa.opt (mforce-l32): + New target-specific option definition. + +2026-05-04 Takayuki 'January June' Suwa <[email protected]> + + * config/xtensa/xtensa.cc (xtensa_attribute_table, + TARGET_ATTRIBUTE_TABLE): + New definitions for target-specific attributes. + (xtensa_expand_load_force_l32_1): New sub-function for inspecting + the attribute from the specified MEM rtx. + (xtensa_expand_load_force_l32): Add handlings for for addresses + with offsets. + (xtensa_handle_force_l32_attribute_1, + xtensa_handle_force_l32_attribute): + New functions for handling the attribute. + +2026-05-04 Takayuki 'January June' Suwa <[email protected]> + + * config/xtensa/xtensa-protos.h + (xtensa_expand_load_force_l32): New function prototype. + * config/xtensa/xtensa.cc (#include): Add "expmed.h". + (TARGET_LEGITIMATE_ADDRESS_P): + Change a whitespace delimiter from HTAB to SPACE. + (TARGET_ADDR_SPACE_SUBSET_P, TARGET_ADDR_SPACE_CONVERT, + TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): + New macro definitions for named address space. + (xtensa_addr_space_subset_p, xtensa_addr_space_convert, + xtensa_addr_space_legitimate_address_p): + New hook function prototypes and definitions required for + implementing the named address space. + (xtensa_expand_load_force_l32): New function that generates RTXes + that perform loads from memory belonging to the named address + space. + * config/xtensa/xtensa.h (ADDR_SPACE_FORCE_L32): + New macro for the ID# of the named address space. + (REGISTER_TARGET_PRAGMAS): New hook for registering C language + identifier for the named address space. + * config/xtensa/xtensa.md + (zero_extend<mode>si2_internal): Rename from zero_extend<mode>si2. + (zero_extend<mode>si2): New RTL generation pattern that calls + xtensa_expand_load_force_l32(). + (extendhisi2, extendqisi2, movhi, movqi): + Change to call xtensa_expand_load_force_l32() first. + (*shift_per_byte): Delete the insn condition. + +2026-05-04 Jeff Law <[email protected]> + + PR rtl-optimization/124766 + * simplify-rtx.cc (simplify_context::simplify_relational_operation_1): + Simplify x + y == y constructs. + +2026-05-04 Avinal Kumar <[email protected]> + + PR tree-optimization/116700 + * match.pd: (A > B ? ABS(A) : B -> MAX(A, B)): New pattern + for non-negative B. + 2026-05-03 Andrew Pinski <[email protected]> * tree-chrec.cc (chrec_fold_plus_poly_poly): Move diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0f684ba5754b..6174e3d1a443 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260504 +20260505 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index f49637b48bfe..909aef682b53 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,9 @@ +2026-05-04 David Malcolm <[email protected]> + + * svalue.cc (binop_svalue::maybe_get_value_range): Update for + renaming of value_range::set_type to value_range::set_range_class. + (unaryop_svalue::maybe_get_value_range): Likewise. + 2026-04-28 David Malcolm <[email protected]> PR analyzer/124217 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index aa40526bd079..3a14de402679 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,10 @@ +2026-05-04 H.J. Lu <[email protected]> + + PR c/121911 + * c-common.cc (c_common_nodes_and_builtins): If the + stack_protect_guard_symbol_p hook returns true, declare a global + symbol for stack protection guard. + 2026-04-29 Julian Brown <[email protected]> * c-common.h (c_omp_region_type): Add C_ORT_EXIT_DATA, diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c1e7a0f55dd0..78a7e33ca845 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,19 @@ +2026-05-04 Andrew Pinski <[email protected]> + + PR c++/65271 + * parser.cc (cp_parser_class_specifier): Accept &&. + +2026-05-04 yxj-github-437 <[email protected]> + + * constexpr.cc (cxx_eval_constant_expression): Do not cache + result with contract violation. + +2026-05-04 [email protected] <[email protected]> + + PR c++/124241 + * search.cc (accessible_p): Call type_context_for_name_lookup + for otype if it's anonymous union. + 2026-05-03 Andrew Pinski <[email protected]> PR c++/119567 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 566fb3b06c66..1147c5065eca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,137 @@ +2026-05-04 Andrew Pinski <[email protected]> + + PR c++/65271 + * g++.dg/cpp0x/rv-decl1.C: New test. + +2026-05-04 H.J. Lu <[email protected]> + + PR c/121911 + * g++.target/i386/ssp-global-1.C: New test. + * g++.target/i386/ssp-global-2.C: Likewise. + * g++.target/i386/ssp-global-3.C: Likewise. + * g++.target/i386/ssp-global-hidden-1.C: Likewise. + * g++.target/i386/ssp-global-hidden-2.C: Likewise. + * g++.target/i386/ssp-global-hidden-3.C: Likewise. + * gcc.target/i386/ssp-global-2.c: Likewise. + * gcc.target/i386/ssp-global-3.c: Likewise. + * gcc.target/i386/ssp-global-4.c: Likewise. + * gcc.target/i386/ssp-global-hidden-1.c: Likewise. + * gcc.target/i386/ssp-global-hidden-2.c: Likewise. + * gcc.target/i386/ssp-global-hidden-3.c: Likewise. + * gcc.target/i386/ssp-global.c: Include <stdint.h>. + (__stack_chk_guard): Change its type to uintptr_t. + +2026-05-04 Iain Buclaw <[email protected]> + + * gcc.c-torture/compile/20000804-1.c: Remove references to m32c. + * gcc.c-torture/compile/20001226-1.c: Likewise. + * gcc.c-torture/compile/limits-stringlit.c: Likewise. + * gcc.c-torture/execute/20020404-1.c: Likewise. + * gcc.dg/20020312-2.c: Likewise. + * gcc.dg/max-1.c: Likewise. + * gcc.dg/torture/pr26565.c: Likewise. + * gcc.dg/tree-ssa/reassoc-32.c: Likewise. + * gcc.dg/tree-ssa/reassoc-33.c: Likewise. + * gcc.dg/tree-ssa/reassoc-34.c: Likewise. + * gcc.dg/tree-ssa/reassoc-35.c: Likewise. + * gcc.dg/tree-ssa/reassoc-36.c: Likewise. + * gcc.dg/utf-array-short-wchar.c: Likewise. + * gcc.dg/utf-array.c: Likewise. + * lib/target-supports.exp: Likewise. + +2026-05-04 Richard Sandiford <[email protected]> + + * gcc.target/aarch64/sve/vec_perm_2.c: New test. + * gcc.target/aarch64/sve/vec_perm_3.c: Likewise. + +2026-05-04 yxj-github-437 <[email protected]> + + * g++.dg/contracts/cpp26/basic.contract.eval.p8-3.C: New test. + +2026-05-04 [email protected] <[email protected]> + + PR c++/124241 + * g++.dg/reflect/is_accessible2.C: Completed the TODO of the PR. + +2026-05-04 Artemiy Volkov <[email protected]> + + PR tree-optimization/122679 + * gcc.dg/tree-ssa/forwprop-43.c: Remove the vect_int check. + +2026-05-04 Andrew Pinski <[email protected]> + + PR tree-optimization/116823 + * g++.dg/tree-ssa/phiprop-2.C: New test. + * g++.dg/tree-ssa/phiprop-4.C: New test. + * g++.dg/tree-ssa/phiprop-5.C: New test. + +2026-05-04 Uros Bizjak <[email protected]> + + * gcc.target/i386/bt-8.c: New test. + +2026-05-04 Iain Sandoe <[email protected]> + + * gcc.target/i386/builtin-memmove-12.c: Skip for Darwin. + * gcc.target/i386/memcpy-pr120683-2.c: Likewise. + * gcc.target/i386/memcpy-pr120683-3.c: Likewise. + * gcc.target/i386/memcpy-pr120683-4.c: Likewise. + * gcc.target/i386/memcpy-pr120683-5.c: Likewise. + * gcc.target/i386/memcpy-pr120683-6.c: Likewise. + * gcc.target/i386/memcpy-pr120683-7.c: Likewise. + * gcc.target/i386/memset-pr120683-13.c: Likewise. + * gcc.target/i386/memset-pr120683-17.c: Likewise. + * gcc.target/i386/memset-pr120683-18.c: Likewise. + * gcc.target/i386/memset-pr120683-19.c: Likewise. + * gcc.target/i386/memset-pr120683-22.c: Likewise. + * gcc.target/i386/memset-pr120683-23.c: Likewise. + * gcc.target/i386/memset-pr70308-1b.c: Likewise. + +2026-05-04 Andrew Pinski <[email protected]> + + PR tree-optimization/123120 + PR tree-optimization/116823 + * gcc.dg/tree-ssa/phiprop-8.c: New test. + * gcc.dg/tree-ssa/phiprop-9.c: New test. + * gcc.dg/tree-ssa/phiprop-10.c: New test. + * gcc.dg/tree-ssa/phiprop-11.c: New test. + * gcc.dg/tree-ssa/phiprop-12.c: New test. + * g++.dg/tree-ssa/phiprop-3.C: New test. + +2026-05-04 Richard Biener <[email protected]> + + PR tree-optimization/125153 + * gcc.dg/torture/pr125153.c: New testcase. + +2026-05-04 Richard Biener <[email protected]> + + Revert: + 2026-05-04 Richard Biener <[email protected]> + + PR tree-optimization/120003 + * gcc.dg/tree-ssa/ssa-thread-23.c: New testcase. + * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Adjust. + +2026-05-04 Richard Biener <[email protected]> + + PR middle-end/125156 + * gcc.dg/torture/pr125156.c: New testcase. + +2026-05-04 Kishan Parmar <[email protected]> + + * gcc.target/powerpc/future-1.c: New test. + * gcc.target/powerpc/future-2.c: Likewise. + +2026-05-04 Jeff Law <[email protected]> + + PR rtl-optimization/124766 + * gcc.target/riscv/pr124766.c: New test. + +2026-05-04 Avinal Kumar <[email protected]> + + PR tree-optimization/116700 + * gcc.dg/pr116700.c: New test. + * gcc.dg/tree-ssa/phi-opt-48.c: New test. + 2026-05-03 Philipp Tomsich <[email protected]> PR tree-optimization/122569 diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 2866e1bb22c6..ff0819c32c7b 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,10 @@ +2026-05-04 Ian Lance Taylor <[email protected]> + + * elf.c (elf_zstd_decompress_frame): New static function, + broken out of elf_zstd_decompress. + (elf_zstd_decompress): Call elf_zstd_decompress_frame in a loop. + * zstdtest.c (test_large): Compress the file in chunks. + 2025-12-29 Rainer Orth <[email protected]> * configure: Regenerate. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 119975b2a995..990339329393 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2026-05-04 Iain Buclaw <[email protected]> + + * config/m32c/*: Delete entire directory. + * config.host: Remove references to m32c. + * config/rl78/lib2div.c (C3): Likewise. + 2026-04-23 Eric Botcazou <[email protected]> * config/i386/t-slibgcc-cygming (SHLIB_LINK): Add $(LDFLAGS).
