https://gcc.gnu.org/g:1330eed38849ad186518f609c52bd5651c2bfdc1
commit r17-6666-g1330eed38849ad186518f609c52bd5651c2bfdc1 Author: GCC Administrator <[email protected]> Date: Wed Nov 25 00:16:51 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 416 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 130 +++++++++++++++ gcc/c-family/ChangeLog | 7 + gcc/fortran/ChangeLog | 45 ++++++ gcc/rust/ChangeLog | 17 ++ gcc/testsuite/ChangeLog | 258 ++++++++++++++++++++++++++++++ libcpp/ChangeLog | 7 + libgcc/ChangeLog | 73 +++++++++ libgomp/ChangeLog | 16 ++ libstdc++-v3/ChangeLog | 16 ++ 11 files changed, 986 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da5888302993..77dad38ab1bf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,419 @@ +2026-11-24 David Malcolm <[email protected]> + + * doc/analyzer.texi: Update for changes in expected dumps. + +2026-11-24 Xuanyu Chen <[email protected]> + + PR analyzer/106283 + * doc/invoke.texi: Add closefrom to the list of file descriptor + functions recognized by -fanalyzer. + +2026-11-24 Oleg Tolmatcev <[email protected]> + + * dwarf2codeview.cc (get_type_num_struct): Do not defer + declaration-only parents. + +2026-11-24 Jeff Law <[email protected]> + + PR rtl-optimization/128767 + * simplify-rtx.cc (simplify_unsigned_cmp_minmax): New function. + (simplify_context::simplify_binary_operation_1): For AND/IOR, call + simplify_unsigned_cmp_minmax. + +2026-11-24 Eric Botcazou <[email protected]> + + PR target/128992 + * config/sparc/sparc.cc (compute_fp_layout): Take into account the + offset of the field in the slot. + +2026-11-24 Eric Botcazou <[email protected]> + + PR middle-end/128920 + * varasm.cc (assemble_real): In the reverse storage order case, + deal with modes smaller than 4 bytes. + +2026-11-24 Michael Meissner <[email protected]> + + * common/config/rs6000/rs6000-common.cc (rs6000_handle_option): Add + -mdebug=extra{1,2,3,4} and -mdebug=<n>. + * config.gcc (powerpc*-*-*): Add float16.o as an extra object file. Add + support for the configuration option --with-powerpc-float16. + * config/rs6000/altivec.md (VM): Add support for V8HFmode and + V8BFmode. + (VM2): Likewise. + (VI_char): Likewise. + (VI_scalar): Likewise. + (VI_unit): Likewise. + (VP_small): Likewise. + (VP_small_lc): Likewise. + (VU_char): Likewise. + * config/rs6000/constraints.md (eZ): New constraint for -0.0. + * config/rs6000/float16.cc: New support file for _Float16 and __bf16 + support. + * config/rs6000/float16.md: New machine description for 16-bit floating + point support. + * config/rs6000/predicates.md (easy_fp_constant): Add support for HFmode + and BFmode constants. + (easy_vector_constant): Add support for V8HFmode and V8BFmode to load up + the vector -0.0 constant. + (minus_zero_constant): New predicate. + (fp16_xxspltiw_constant): Likewise. + (bfloat16_to_v4sf_operand): Likewise. + * config/rs6000/rs6000-builtin.cc (rs6000_type_string): Add support for + both 16-bit floating point types. + (rs6000_init_builtins): Create the bfloat16_type_node if needed. + * config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Define + __FLOAT16__ and __BFLOAT16__ if 16-bit floating pont is enabled. Define + __FLOAT16_HW__ for power9 which has hardware conversions for _Float16. + Define __BFLOAT16_HW__ for power10 which has hardware conversions for + __bf16. + * config/rs6000/rs6000-call.cc (init_cumulative_args): Print more debug + information if -mdebug=arg. + * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add -mfloat16. + * config/rs6000/rs6000-modes.def (HFmode, V4HFmode, V8HFmode): Add modes. + (BFmode, V4BFmode, V8BFmode): Likewise. + * config/rs6000/rs6000-p8swap.cc (rs6000_gen_stvx): Remove #ifdef for + the HAVE_V8HFmode macro. Add support for V8BFmode. + (rs6000_gen_lvx): Likewise. + (replace_swapped_load_constant): Likewise. + * config/rs6000/rs6000-protos.h (vec_const_128bit_type): Add mode field + to detect initializing both 16-bit floating constants. + (enum fp16_operation): New enumeration. + (fp16_vectorization): New declaration. + (bfloat16_operation_as_v4sf): Likewise. + (bfloat16_to_v4sf_p): Likewise. + (bfloat16_to_v4sf_split): Likewise. + * config/rs6000/rs6000.cc (POWERPC_FLOAT16_DEFAULT): On little endian + Linux, enable bot 16-bit floating point modes as a default if there + wasn't an explicit configuration option. + (rs6000_hard_regno_mode_ok_uncached): Add support for all 16-bit + floating point modes. + (rs6000_modes_tieable_p): Likewise. + (DEBUG_FMT_X): New macro. + (DEBUG_FMT_WX): Make field 13 characters, not 12. + (rs6000_debug_reg_global): Print information about 16-bit floating point + if -mdebug=reg. Print the various -mdebug=<xxx> options. Print additional + information for all floating point modes. + (rs6000_setup_reg_addr_masks): Add support for all 16-bit floating point + modes. + (rs6000_init_hard_regno_mode_ok): Likewise. + (rs6000_option_override_internal): Add support for -mfloat16. + (easy_altivec_constant): Add support for both 16-bit floating point + modes. + (xxspltib_constant_p): Likewise. + (output_vec_const_move): Add support for 16-bit vector floating point + modes. + (rs6000_expand_vector_init): Likewise. + (rs6000_expand_vector_set): Likewise. + (rs6000_expand_vector_extract): Likewise. + (rs6000_split_vec_extract_var): Likewise. + (reg_offset_addressing_ok_p): Add support for 16-bit scalar and vector + floating point modes. + (rs6000_legitimate_offset_address_p): Likewise. + (legitimate_lo_sum_address_p): Likewise. + (rs6000_const_vec): Add support for 16-bit vector floating point modes. + (rs6000_emit_move): Likewise. + (rs6000_secondary_reload_simple_move): Add support for 16-bit scalar + floating point modes. + (rs6000_preferred_reload_class): Add support for 16-bit scalar and + vector floating point modes. + (rs6000_can_change_mode_class): Add support for 16-bit scalar floating + point modes. + (rs6000_output_move_128bit): Add support for 16-bit vector floating + point modes. + (rs6000_load_constant_and_splat): Add support for 16-bit scalar floating + point modes. + (rs6000_scalar_mode_supported_p): Likewise. + (rs6000_libgcc_floating_mode_supported_p): Likewise. + (rs6000_floatn_mode): Likewise. + (opt_vars): Add -mfloat16. + (constant_fp_to_128bit_vector): Add support for 16-bit scalar floating + point modes. + (vec_const_128bit_to_bytes): Initialize mode field. + (constant_generates_xxspltiw): Add support for 16-bit scalar floating + point modes. + * config/rs6000/rs6000.h (MASK_DEBUG_*): Add -mdebug=<xxx> options. + (TARGET_DEBUG_*): Likewise. + (FP16_SCALAR_MODE_P): New macro. + (FP16_VECTOR_MODE_P): Likewise. + (TARGET_BFLOAT16_HW): Likewise. + (TARGET_FLOAT16_HW): Likewise. + (TARGET_FLOAT16_MIN_HARDWARE): Likewise. + (ALTIVEC_VECTOR_MODE): Add support for 16-bit vector floating point + modes. + * config/rs6000/rs6000.md (FMOVE128_GPR iterator): Likewise. + (wd attribute): Add support for all 16-bit floating point modes. + (du_or_d attribute): Likewise. + (BOOL_128 iterator): Likewise. + (BOOL_REGS_OUTPUT attribute): Likewise. + (BOOL_REGS_OP1 attribute): Likewise. + (BOOL_REGS_OP2 attribute): Likewise. + (BOOL_REGS_UNARY attribute): Likewise. + (RELOAD attribute): Likewise. + (toplevel): Include float16.md. + * config/rs6000/rs6000.opt (-mfloat16): New option. + (-mfloat16-bf-v4sf): Likewise. + (-mfloat16-debug1): Likewise. + (-mfloat16-debug2): Likewise. + * config/rs6000/t-rs6000 (float16.o): Build float16.o. + * config/rs6000/vector.md (VEC_L iterator): Add 16-bit floating point + vector modes. + (VEC_M attribute): Likewise. + (VEC_E attribute): Likewise. + (VEC_base attribute): Likewise. + (VEC_base_l attribute): Likewise. + * config/rs6000/vsx.md (VECTOR_16BIT iterator): New iterator. + (VSX_L iterator): Add 16-bit vector floating point modes. + (VSX_M iterator): Likewise. + (VSX_XXBR attribute): Likewise. + (VSm attribute): Likewise. + (VSr attribute): Likewise. + (VSisa attribute): Likewise. + (??r attribute): Likewise. + (nW attribute): Likewise. + (VSv attribute): Likewise. + (VSX_EXTRACT_I attribute): Likewise. + (VSX_EXTRACT_I2 attribute): Likewise. + (VSX_EXTRACT_I4 attribute): Likewise. + (VSX_EXTRACT_WIDTH attribute): Likewise. + (VSX_EXTRACT_PREDICATE attribute): Likewise. + (VSX_EX attribute): Likewise. + (VM3 iterator): Likewise. + (VM3_char attribute): Likewise. + (vsx_le_perm_load_<mode>): Rename from vsx_le_perm_load_v8hi and add + v8bf and v8hf modes. + (vsx_le_perm_store_<mode>): Rename from vsx_le_perm_store_v8hi and add + v8bf and v8hf modes. + (define_splits for v8hi): Add v8bf and v8hf modes. + (vsx_ld_elemrev_<mode>): Rename from vsx_ld_elemrev_v8hi, and add v8bf + and v8hf modes. + (vsx_ld_elemrev_<mode>): Rename from vsx_ld_elemrev_v8hi, and add v8bf + and v8hf modes. + (vsx_ld_elemrev_<mode>_internal): Rename from + vsx_ld_elemrev_v8hi_internal, and add v8bf and v8hf modes. + (vsx_st_elemrev_<mode>): Rename from vsx_st_elemrev_v8hi, and add v8bf + and v8hf modes. + (vsx_st_elemrev_<mode>_internal): Rename from + vsx_st_elemrev_v8hi_internal, and add v8bf and v8hf modes. + (vsx_lxvd2x8_le_<MODE>): Rename from vsx_lxvd2x8_le_V8HI, and add v8bf + and v8hf modes. + (vsx_extract_<mode>_store_p9): Add 16-bit vector floating point modes. + (vsx_extract_<mode>_p8): Likewise. + * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mfloat16. + * doc/md.texi (PowerPC and IBM RS6000 constraints): Document eZ. + +2026-11-24 Igor Shevlyakov <[email protected]> + + * tree-vect-generic.cc (expand_vector_divmod): Do not return early + for a signed divisor element of -1. + +2026-11-24 Shivam Gupta <[email protected]> + + PR tree-optimization/126294 + * match.pd: Simplify (t * (C + 1)) / C to t + t / C and, for + exact_div, (t * (C - 1)) / C to t - t / C, and + (t * (2^k + 1)) >> k to t + (t >> k), when the multiplication + has a single use and does not overflow. + +2026-11-24 Shivam Gupta <[email protected]> + + PR tree-optimization/126311 + * match.pd ((t * u) / v): Reduce integer constants u and v by + their greatest common divisor if gcd(u, v) > 1. + +2026-11-24 Andrew Stubbs <[email protected]> + + * config/gcn/gcn-valu.md (one_cmpl<mode>2<exec>): Rename ... + (one_cmpl<mode>2): ... to this. + (one_cmpl<mode>2_exec): New insn and split. + +2026-11-24 Michele Dionisio <[email protected]> + Claude Opus 5.5 <[email protected]> + + * tree-ssa-forwprop.cc (simplify_bit_insert_chain): New function. + (pass_forwprop::execute): Call it for BIT_INSERT_EXPR. + +2026-11-24 Richard Biener <[email protected]> + + PR tree-optimization/128482 + PR tree-optimization/125652 + PR tree-optimization/121370 + * tree-chrec.h (build_polynomial_chrec): Return + chrec_dont_know when CHREC_RIGHT overflowed. Moved + from ... + * tree-chrec.cc (chrec_fold_plus_poly_poly): ... here. + * tree-scalar-evolution.cc (scev_dfs::add_to_evolution_1): ... + and here. + +2026-11-24 Richard Biener <[email protected]> + + PR tree-optimization/128714 + * tree-vectorizer.h (vect_copy_ref_info): Take stmt_vec_info + as source. + * tree-vect-data-refs.cc (vect_copy_ref_info): Likewise. + Before copying restrict info verify it is consistent across + a group. + (vect_setup_realignment): Adjust. + * tree-vect-stmts.cc (vectorizable_scan_store): Likewise. + (vectorizable_load): Likewise. + (vectorizable_store): Likewise. + +2026-11-24 Kyrylo Tkachov <[email protected]> + + PR bootstrap/128972 + * configure.ac: Skip the gmp.h check when GENERATOR_FILE is defined. + * configure: Regenerate. + +2026-11-24 Wesley Lewis <[email protected]> + + PR tree-optimization/112628 + * match.pd (~X cmp -Y): New pattern. + +2026-11-24 Jeff Law <[email protected]> + + PR rtl-optimization/128767 + * simplify-rtx.cc (simplify_context::simplify_binary_operation_1): + Simplify (and (xor A 1) B) to (and not (A) B) when B is a 0/1 value. + +2026-11-24 Kito Cheng <[email protected]> + + * config/riscv/riscv.opt.urls: Regenerate. + +2026-11-24 Uros Bizjak <[email protected]> + + PR target/128960 + * config/i386/i386.opt (x_ix86_branch_cost) + (x_ix86_force_align_arg_pointer, x_ix86_stack_protector_guard): + Remove TargetSave entries. + (mbranch-cost=, mstackrealign, mstack-protector-guard=): Add Save. + * config/i386/i386-options.cc (ix86_function_specific_save) + (ix86_function_specific_restore): Do not copy x_ix86_branch_cost, + x_ix86_force_align_arg_pointer and x_ix86_stack_protector_guard. + +2026-11-24 Kito Cheng <[email protected]> + + * config/riscv/riscv-cores.def (sifive-p870-d): Add erratum + SIFIVE_MAL_9174. + * config/riscv/riscv-errata.def (SIFIVE_MAL_9174): New erratum. + (sifive-mal-9191): New alias. + * config/riscv/riscv.md (index_load_overlap): New attribute. + (enabled): Disable index_load_overlap alternatives for MAL-9174. + * config/riscv/riscv.opt (mfix-sifive-mal-9174): New option. + (mfix-sifive-mal-9191): New alias. + * config/riscv/vector.md + (@pred_indexed_<order>load<mode>_same_eew): Add early-clobber + alternatives and set index_load_overlap. + (@pred_indexed_<order>load<mode>_x2_smaller_eew): Set + index_load_overlap. + (@pred_indexed_<order>load<mode>_x4_smaller_eew): Likewise. + (@pred_indexed_<order>load<mode>_x8_smaller_eew): Likewise. + * doc/install.texi (--with-errata): List sifive-mal-9174 and + sifive-mal-9191. + * doc/invoke.texi (RISC-V Options): Document -mfix-sifive-mal-9174 + and -mfix-sifive-mal-9191. + +2026-11-24 Kito Cheng <[email protected]> + + * config.gcc (riscv*-*-*): Handle --with-errata. + * config/riscv/riscv-cores.def (RISCV_CORE_ERRATUM): New. + * config/riscv/riscv-errata.def: New file. + * config/riscv/riscv-opts.h (enum riscv_erratum): New. + (RISCV_ERRATUM_MASK, RISCV_ERRATUM_P): New. + * config/riscv/riscv.cc (riscv_errata): New variable. + (riscv_cpu_errata): New function. + (riscv_default_errata): New function. + (riscv_resolve_errata): New function. + (riscv_can_inline_p): Do not inline functions with different errata. + (riscv_override_options_internal): Set riscv_errata. + * config/riscv/riscv.h (riscv_errata): Declare. + * doc/install.texi (--with-errata): Document. + +2026-11-24 Tobias Burnus <[email protected]> + + PR fortran/128969 + * omp-low.cc (scan_sharing_clauses): Reorder 'if' blocks to handle + allocatable components of global variables. + +2026-11-24 Jakub Jelinek <[email protected]> + + * doc/invoke.texi (Wdeprecated-octal-literal): Document. + +2026-11-24 Igor Shevlyakov <[email protected]> + + PR other/122601 + * doc/md.texi (cmls@var{m}4, cmls_conj@var{m}4): Document that + the product is subtracted from operand 3. + +2026-11-24 Kyrylo Tkachov <[email protected]> + + * df.h (df_update_exit_block_uses): Return bool. + * df-scan.cc (df_update_exit_block_uses): Return true if the exit + block uses changed. + (df_update_entry_exit_and_calls): Rescan only sibling calls, and + only if the exit block uses changed. + * stack-ptr-mod.cc (pass_stack_ptr_mod::execute): Call + df_update_entry_exit_and_calls instead of df_update_exit_block_uses. + +2026-11-24 Hongyu Wang <[email protected]> + + * config/i386/i386.cc (ix86_ira_loop_region_flatten_cost): New + function. + (TARGET_IRA_LOOP_REGION_FLATTEN_COST): Define. + +2026-11-24 Hongyu Wang <[email protected]> + + * target.def (ira_loop_region_flatten_cost): New hook. + * doc/tm.texi.in (TARGET_IRA_LOOP_REGION_FLATTEN_COST): New hook. + * doc/tm.texi: Regenerate. + * ira-int.h (struct ira_loop_tree_node): Add + call_crossing_pressure. + (ira_flatten_cost_p): Declare. + * ira-lives.cc (process_bb_node_lives): Compute + call_crossing_pressure. + * ira-build.cc (ira_flatten_cost_p): New variable. + (init_loop_tree_node): Clear call_crossing_pressure. + (create_loop_tree_nodes): Likewise. + (region_call_freq): New function. + (region_ref_p): New function. + (flatten_cost_keep_p): New function. + (mark_low_pressure_loop_for_removal): New function. + (mark_loops_for_removal): Use it to mark the subloops first, and + do not report a kept loop as low pressure when the loop limit + removes it. + (ira_build): Set ira_flatten_cost_p. + +2026-11-24 Jin Ma <[email protected]> + + * config/riscv/riscv-vsetvl.cc + (pre_vsetvl::compute_vsetvl_def_data): Free temporary AVL bitmaps. + +2026-11-24 Jin Ma <[email protected]> + + * config/riscv/riscv-target-attr.cc + (riscv_target_attr_parser::m_raw_attr_str): Remove. + +2026-11-24 Jin Ma <[email protected]> + + PR target/128959 + * config/riscv/riscv-target-attr.cc + (riscv_target_attr_parser::~riscv_target_attr_parser): New destructor. + (riscv_target_attr_parser::parse_arch): Clear the deleted subset pointer. + +2026-11-24 Zhongyao Chen <[email protected]> + + * config/riscv/riscv-vector-costs.cc (costs::add_stmt_cost): Normalize + count for store-lanes. + * config/riscv/riscv.cc (rvv_vls_vector_cost): Update + segment_permute_{2-8}. + (rvv_vla_vector_cost): Likewise. + +2026-11-24 Sebastian Huber <[email protected]> + + * coverage.cc (coverage_obj_fn): Mark the function information + read-only. + (coverage_obj_finish): Mark the array of pointers to the function + information read-only. + 2026-11-23 Oleg Tolmatcev <[email protected]> * dwarf2codeview.cc (write_custom_types): Use switch_to_section. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 8f1bf15f56ef..93a862f4d2b8 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20261124 +20261125 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 751437999fca..c3b6e912819c 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,133 @@ +2026-11-24 David Malcolm <[email protected]> + + * ana-state-to-diagnostic-state.cc + (analyzer_state_graph::make_node_id): Replace cases for + RK_GLOBALS, RK_CODE, RK_STACK, RK_HEAP, and RK_THREAD_LOCAL with + a case handling RK_MEMORY_SPACE. + (get_node_properties_kind_for_memory_space): New. + (analyzer_state_graph::make_memspace_state_node): Drop redudant + "enum". + (analyzer_state_graph::create_state_node): Replace cases for + RK_GLOBALS, RK_CODE, RK_STACK, RK_HEAP, and RK_THREAD_LOCAL with + a case handling RK_MEMORY_SPACE. + * call-summary.cc + (call_summary_replay::convert_region_from_summary_1): Likewise. + * region-model-manager.cc + (region_model_manager::region_model_manager): Pass memory_space + values to initializers for the various memory_space nodes. + * region-model-manager.h (region_model_manager::get_stack_region): + Convert return type from stack_region to memory_space_region. + (region_model_manager::get_heap_region): Convert return type from + heap_region to memory_space_region. + (region_model_manager::get_code_region): Convert return type from + code_region to memory_space_region. + (region_model_manager::get_globals_region): Convert return type + from globals_region to memory_space_region. + (region_model_manager::m_stack_region): Convert from stack_region + to memory_space_region. + (region_model_manager::m_heap_region): Convert from heap_region + to memory_space_region. + (region_model_manager::m_code_region): Convert from code_region to + memory_space_region. + (region_model_manager::m_globals_region): Convert from + globals_region to memory_space_region. + (region_model_manager::m_thread_local_region): Convert from + thread_local_region to m_thread_local_region. + * region-model-reachability.cc (reachable_regions::init_cluster): + Replace check for base_reg's parent being RK_GLOBALS with a check + for the region's memory space being memory_space::globals. + * region-model.cc (region_model::get_representative_path_var_1): + Replace cases for RK_GLOBALS, RK_CODE, RK_HEAP, RK_STACK, and + RK_THREAD_LOCAL with a case for RK_MEMORY_SPACE. + * region.cc (get_dump_name): New. + (region::get_memory_space): Replace cases for RK_GLOBALS, RK_CODE, + RK_STACK, and RK_HEAP with a case for RK_MEMORY_SPACE. It looks + like previously we didn't propely handle RK_THREAD_LOCAL and would + have returned memory_space::unknown for this case. + (region::can_have_initial_svalue_p): Add missing case for + memory_space::thread_local_. + (class frame_region): Update comment. + (globals_region::dump_to_pp): Replace with... + (memory_space_region::dump_to_pp): ...this. + (globals_region::print_region_for_dump_widget_label): Replace + with... + (memory_space_region::print_region_for_dump_widget_label): + ...this. + (globals_region::accept_node_visitor): Replace with... + (memory_space_region::accept_node_visitor): ...this. + (globals_region::to_json): Replace with... + (memory_space_region::to_json): ...this. + (globals_region::make_markup_node): Replace with... + (memory_space_region::make_markup_node): ...this. + (class code_region): Drop. + (class stack_region): Drop. + (class heap_region): Drop. + (class thread_local_region): Drop. + * region.h (get_dump_name): New decl. + (enum region_kind): Replace RK_GLOBALS, RK_CODE, RK_STACK, + RK_HEAP, and RK_THREAD_LOCAL with RK_MEMORY_SPACE. + (class region): Update leading comment to reflect changes in class + hierarchy. + (class space_region): Replace with... + (class memory_space_region): ...this. + (class frame_region): Inherit directly from region, rather than + from the now-defunct space_region. + (class globals_region): Delete. + (is_a_helper <const globals_region *>::test): Delete. + (class code_region): Delete. + (is_a_helper <const code_region *>::test): Delete. + (function_region::function_region): Convert parent from + code_region to memory_space_region. + (class stack_region): Delete. + (is_a_helper <const stack_region *>::test): Delete. + (class heap_region): Delete. + (is_a_helper <const heap_region *>::test): Delete. + (class thread_local_region): Delete. + (is_a_helper <const thread_local_region *>::test): Delete. + (errno_region::errno_region): Convert parent from + thread_local_region to region. + * store.cc (store::eval_alias): Replace cases for RK_CODE, + RK_GLOBALS, RK_HEAP, RK_STACK, and RK_THREAD_LOCAL with a case + for RK_MEMORY_SPACE. + (store::get_implicit_contents): Replace check for base_reg's + parent being RK_GLOBALS with a check for the region's memory space + being memory_space::globals. + (store::replay_call_summary_cluster): Replace cases for + RK_GLOBALS, RK_CODE, RK_STACK, RK_HEAP, and RK_THREAD_LOCAL with + case for RK_MEMORY_SPACE. + * store.h: Update leading comment for changes in expected dumps. + +2026-11-24 Xuanyu Chen <[email protected]> + + PR analyzer/106283 + * sm-fd.cc (class kf_closefrom): New. + (register_known_fd_functions): Register "closefrom". + +2026-11-24 Torbjörn SVENSSON <[email protected]> + + * region-model.cc (region_model::get_representative_tree): Also + strip top-level casts after calling fixup_tree_for_diagnostic. + +2026-11-24 Torbjörn SVENSSON <[email protected]> + + * sm-taint.cc (region_model::check_region_for_taint): Use the type + of the representative tree for same-width casts of the offset. + +2026-11-24 Torbjörn SVENSSON <[email protected]> + + * region-model.cc (is_any_cast_p): Compare the main variants of + the lhs and rhs types. + +2026-11-24 Torbjörn SVENSSON <[email protected]> + + * varargs.cc (get_va_copy_arg): Only undo casts that give a + pointer type. + +2026-11-24 Torbjörn SVENSSON <[email protected]> + + * ops.cc (switch_case_op::apply_constraints): Handle widening + cast of enum with -fshort-enums. + 2026-11-21 David Malcolm <[email protected]> * constraint-manager.cc (equiv_class::make_dump_widget): Update diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 13fc3b2ba932..3f93b1ef1ef1 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,10 @@ +2026-11-24 Jakub Jelinek <[email protected]> + + * c.opt (Wdeprecated-octal-literal): New warning. + * c.opt.urls: Regenerate. + * c-opts.cc (c_common_post_options): Enable -Wdeprecated-octal-literal + by default for C++29. + 2026-11-21 Jakub Jelinek <[email protected]> P0085R5 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 40ef76cbbe7b..ece284e495a0 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,48 @@ +2026-11-24 Jerry DeLisle <[email protected]> + + PR fortran/45129 + * gfortran.h (gfc_st_label): Add output_width_checked. + * invoke.texi (-Wformat-width): Document. + (-Wall): List -Wformat-width. + * io.cc (checking_width_only): New. + (next_char_not_space): Skip the tab warning when it is set. + (format_asterisk): Initialize output_width_checked. + (f_min_width, check_real_width): New. + (format_check_kind): New enum. + (check_format): Add a format_check_kind argument. Skip the width + warnings for FMT_CHECK_DECL and the other warnings for + FMT_CHECK_WIDTH. Warn with -Wformat-width when a D, E, EN, ES, F + or G field width on output is too small for its digits. + (check_format_string): Add a format_check_kind argument. For + FMT_CHECK_WIDTH, suppress errors and skip the check for trailing + characters. + (gfc_match_format): Pass FMT_CHECK_DECL. + (gfc_resolve_dt): With -Wformat-width, recheck a labeled FORMAT + with FMT_CHECK_WIDTH the first time it is used for output. + * lang.opt (Wformat-width): New. + +2026-11-24 Jerry DeLisle <[email protected]> + + PR fortran/128735 + * trans-stmt.cc (trans_associate_var): Copy the class container of + a class array associate name back to the selector only for SELECT + RANK. + +2026-11-24 Jerry DeLisle <[email protected]> + + PR fortran/128316 + * parse.cc (accept_statement): For a labeled END statement after a + CONTAINS section, define the label in the host namespace with its + source location, for any host program unit. Likewise for END + MODULE and END SUBMODULE. + +2026-11-24 Jerry DeLisle <[email protected]> + + PR fortran/128976 + * expr.cc (gfc_check_vardef_context): For INTENT(IN), test the + POINTER attribute of the dummy argument, which for a SELECT TYPE + temporary is the selector. + 2026-11-23 Jerry DeLisle <[email protected]> PR fortran/128936 diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index 3de755b263a7..1a2876a877a7 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,20 @@ +2026-11-24 Ata Borla <[email protected]> + + * typecheck/rust-typecheck-context.cc (TypeCheckContext::insert_type_by_node_id): + deleted for unused + (TypeCheckContext::lookup_type_by_node_id): deleted for unused + +2026-11-24 Enes Cevik <[email protected]> + + * checks/errors/feature/rust-feature-gate.cc (FeatureGate::gate): + Improve error format. + +2026-11-24 Yap Zhi Heng <[email protected]> + + * backend/rust-compile-intrinsic.cc (intrinsics): Add missing entries for + ATOMIC_CXCHG*_FAIL* intrinsics. + * typecheck/rust-hir-type-check-intrinsic.cc (intrinsic_rules): Likewise. + 2026-11-14 Utkarsh Bahuguna <[email protected]> * checks/errors/rust-hir-pattern-analysis.cc (lower_pattern): Lower diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9414df6c5cb7..2fa8e5593c6d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,261 @@ +2026-11-24 Jason Merrill <[email protected]> + + * g++.dg/DRs/dr3121.C: New test. + * g++.dg/DRs/dr3160.C: New test. + * g++.dg/DRs/dr3163.C: New test. + * g++.dg/DRs/dr3192.C: New test. + * g++.dg/DRs/dr3194.C: New test. + * g++.dg/DRs/dr3195.C: New test. + * g++.dg/DRs/dr3197.C: New test. + +2026-11-24 Xuanyu Chen <[email protected]> + + PR analyzer/106283 + * gcc.dg/analyzer/fd-closefrom-1.c: New test. + * gcc.dg/analyzer/fd-closefrom-2.c: New test. + * gcc.dg/analyzer/fd-closefrom-3.c: New test. + * gcc.dg/analyzer/fd-closefrom-4.c: New test. + * gcc.dg/analyzer/fd-closefrom-5.c: New test. + +2026-11-24 Jerry DeLisle <[email protected]> + + PR fortran/45129 + * gfortran.dg/pr45129.f90: New test. + +2026-11-24 Utkarsh Bahuguna <[email protected]> + + * rust/core/core-diagnostics.exp (core-diagnostics): Print the diff + and the update hint instead of only logging them. + +2026-11-24 Utkarsh Bahuguna <[email protected]> + + * rust/core/regen-core-expected.sh: New script. + * rust/core/core-diagnostics.exp: Mention it when the output + differs. + +2026-11-24 Enes Cevik <[email protected]> + + * rust/compile/feature_rust_attri0.rs: Correct expected error. + * rust/compile/lang_feature_gate.rs: Correct expected error. + +2026-11-24 Yap Zhi Heng <[email protected]> + + * rust/execute/torture/atomic_compare_exchange.rs: Add new tests for the + missing atomic intrinics. + +2026-11-24 Oleg Tolmatcev <[email protected]> + + * g++.dg/debug/codeview/nested-decl-parent-1.C: New test. + +2026-11-24 Jeff Law <[email protected]> + + PR rtl-optimization/128767 + * gcc.target/riscv/zbb-minmax-cmp-uns-1.c: New test. + * gcc.target/riscv/zbb-minmax-cmp-uns-2.c: New test. + * gcc.target/riscv/zbb-minu-leu-1.c: New test. + * gcc.target/riscv/zbb-minu-leu-2.c: New test. + * gcc.target/riscv/zbb-minu-leu-3.c: New test. + * gcc.target/riscv/zbb-minu-leu-4.c: New test. + +2026-11-24 John David Anglin <[email protected]> + + PR middle-end/128302 + * gcc.dg/builtin-clear-padding-4.c: Declare c3 and c4 on targets + without _BitInt support or where __BITINT_MAXWIDTH__ < 65535. + +2026-11-24 Eric Botcazou <[email protected]> + + * gcc.target/sparc/20261124-1.c: New test. + +2026-11-24 Eric Botcazou <[email protected]> + + * gcc.dg/sso-22.c: New test. + +2026-11-24 Michael Meissner <[email protected]> + + * gcc.target/powerpc/bf16-1.c: New target test. + * gcc.target/powerpc/bf16-2.c: Likewise. + * gcc.target/powerpc/bf16-3.c: Likewise. + * gcc.target/powerpc/bf16-4.c: Likewise. + * gcc.target/powerpc/bf16-5.c: Likewise. + * gcc.target/powerpc/float16-1.c: Likewise. + * gcc.target/powerpc/float16-2.c: Likewise. + * gcc.target/powerpc/float16-3.c: Likewise. + * lib/target-supports.exp (check_ppc_float16_hw_available): New target + supports for _Float16 and __bf16 support. + (check_ppc_float16_runtime_available): Likewise. + (check_ppc_bfloat16_hw_available): Likewise. + (check_ppc_bfloat16_runtime_available): Likewise. + (is-effective-target): Add new _Float16 and __bf16 targets. + +2026-11-24 Igor Shevlyakov <[email protected]> + + * gcc.dg/vect/veclower/vec-div-neg-pow2-2.c: New test. + +2026-11-24 Torbjörn SVENSSON <[email protected]> + + * gcc.dg/analyzer/taint-read-offset-1.c (test_6, test_7): Expect + "upper-bounds" in the warning again. + (test_8): Remove xfail. + +2026-11-24 Torbjörn SVENSSON <[email protected]> + + * c-c++-common/analyzer/stdarg-va-copy-cast-1.c: New test. + +2026-11-24 Shivam Gupta <[email protected]> + + PR tree-optimization/126294 + * gcc.dg/tree-ssa/pr126294.c: New test. + * gcc.dg/tree-ssa/pr126294-2.c: New test. + +2026-11-24 Shivam Gupta <[email protected]> + + PR tree-optimization/126311 + * gcc.dg/tree-ssa/pr126311.c: New test. + * gcc.dg/torture/pr126311.c: New test. + +2026-11-24 Jerry DeLisle <[email protected]> + + PR fortran/128735 + * gfortran.dg/pr128735.f90: New test. + +2026-11-24 Jerry DeLisle <[email protected]> + + PR fortran/128316 + * gfortran.dg/label_6.f90: New test. + * gfortran.dg/label_7.f90: New test. + * gfortran.dg/label_8.f90: New test. + +2026-11-24 Jerry DeLisle <[email protected]> + + PR fortran/128976 + * gfortran.dg/pr128976.f90: New test. + +2026-11-24 Michele Dionisio <[email protected]> + Claude Opus 5.5 <[email protected]> + + * gcc.dg/tree-ssa/forwprop-45.c: New test. + * gcc.dg/tree-ssa/forwprop-46.c: New test. + +2026-11-24 Richard Biener <[email protected]> + + PR tree-optimization/128482 + PR tree-optimization/125652 + PR tree-optimization/121370 + * gcc.dg/torture/pr128482-1.c: New testcase. + * gcc.dg/torture/pr128482-2.c: Likewise. + * gcc.dg/torture/pr128482-3.c: Likewise. + +2026-11-24 Richard Biener <[email protected]> + + PR tree-optimization/128714 + * gcc.dg/vect/bb-slp-pr128714.c: New testcase. + +2026-11-24 Sendao Yan <[email protected]> + + * gcc.target/aarch64/sve2/acle/general/firstp.c: Add -save-temps. + * gcc.target/aarch64/sve2/acle/general/lastp.c: Likewise. + * gcc.target/aarch64/sve2/acle/general/whilelt_1.c: Likewise. + * gcc.target/aarch64/sve2/acle/general/whilele_1.c: Likewise. + +2026-11-24 Wesley Lewis <[email protected]> + + PR tree-optimization/112628 + * gcc.dg/torture/pr112628.c: New test. + * gcc.dg/tree-ssa/pr112628-2.c: New test. + * gcc.dg/tree-ssa/pr112628.c: New test. + * gcc.dg/tree-ssa/pr112628-3.c: New test. + * c-c++-common/ubsan/pr112628.c: New test. + +2026-11-24 Richard Biener <[email protected]> + + PR tree-optimization/128747 + PR tree-optimization/128943 + * gcc.dg/torture/pr128747.c: New testcase. + +2026-11-24 Jeff Law <[email protected]> + + PR rtl-optimization/128767 + * gcc.target/riscv/zbb-andn-xor1-1.c: New test. + * gcc.target/riscv/zbb-andn-xor1-2.c: New test. + * gcc.target/riscv/zbb-andn-xor1-3.c: New test. + * gcc.target/riscv/zbb-andn-xor1-4.c: New test. + * gcc.target/aarch64/bic-1.c: Adjust expected output. + +2026-11-24 Uros Bizjak <[email protected]> + + PR target/128960 + * gcc.target/i386/pr128960-1.c: New test. + * gcc.target/i386/pr128960-2.c: Ditto. + +2026-11-24 Kito Cheng <[email protected]> + + * gcc.target/riscv/rvv/base/sifive-mal-9174-1.c: New test. + * gcc.target/riscv/rvv/base/sifive-mal-9174-2.c: New test. + * gcc.target/riscv/rvv/base/sifive-mal-9174-3.c: New test. + * gcc.target/riscv/rvv/base/sifive-mal-9174-4.c: New test. + * gcc.target/riscv/rvv/base/sifive-mal-9174-5.c: New test. + * gcc.target/riscv/rvv/base/sifive-mal-9174-6.c: New test. + +2026-11-24 Jakub Jelinek <[email protected]> + + * c-c++-common/Wdeprecated-octal-literal-1.c: New test. + * c-c++-common/Wdeprecated-octal-literal-2.c: New test. + * c-c++-common/Wdeprecated-octal-literal-3.c: New test. + * c-c++-common/Wdeprecated-octal-literal-4.c: New test. + * c-c++-common/Wdeprecated-octal-literal-5.c: New test. + * c-c++-common/Wdeprecated-octal-literal-6.c: New test. + * c-c++-common/Wprio-ctor-dtor.c: Expect extra warning for C++29. + * c-c++-common/gomp/doacross-6.c: Likewise. + * c-c++-common/analyzer/deref-before-check-pr108455-git-pack-revindex.c: + Use 0 instead of 00. + * c-c++-common/analyzer/stdarg-pr111289-int.c: Expect extra warning for + C++29. + * g++.dg/ubsan/pr80349.C: Add -Wno-deprecated-octal-literal to + dg-options. + * g++.dg/ext/va-arg-pack-len-1.C: Likewise. + * g++.dg/ext/va-arg-pack-len-2.C: Likewise. + * g++.dg/cpp1y/digit-sep.C: Add -Wno-deprecated-octal-literal as + dg-additional-options for C++29. + * g++.dg/cpp1y/digit-sep-neg.C: Expect extra warnings for C++29. + * g++.dg/warn/pr13358-4.C: Likewise. + * g++.dg/warn/pr13358-3.C: Likewise. + * g++.dg/cpp0x/udlit-raw-op.C: Likewise. + * g++.dg/cpp0x/udlit-raw-length.C: Likewise. + * g++.dg/vect/pr98064.cc: Add -Wno-deprecated-octal-literal to + dg-additional-options. + * g++.dg/vect/pr95297.cc: Likewise. + * g++.old-deja/g++.niklas/t119.C: Expect extra warning for C++29. + * g++.old-deja/g++.law/enum2.C: Add -Wno-deprecated-octal-literal to + dg-options. + * g++.old-deja/g++.other/mutable1.C: Add -Wno-deprecated-octal-literal + as dg-additional-options for C++29. + * g++.old-deja/g++.mike/p811.C: Add -Wno-deprecated-octal-literal to + dg-options. + +2026-11-24 Hongyu Wang <[email protected]> + + * gcc.target/i386/ira-loop-region-flatten-1.c: New test. + * gcc.target/i386/ira-loop-region-flatten-2.c: Likewise. + * gcc.target/i386/ira-loop-region-flatten-3.c: Likewise. + * gcc.target/i386/ira-loop-region-flatten-4.c: Likewise. + * gcc.target/i386/ira-loop-region-flatten-5.c: Likewise. + * gcc.target/i386/ira-loop-region-flatten-6.c: Likewise. + +2026-11-24 Jin Ma <[email protected]> + + * gcc.target/riscv/target-attr-invalid-xlen-32.c: New test. + * gcc.target/riscv/target-attr-invalid-xlen-64.c: New test. + +2026-11-24 Zhongyao Chen <[email protected]> + + * gcc.target/riscv/rvv/autovec/partial/slp-1.c: Remove xfail on + .VEC_PERM. + * gcc.target/riscv/rvv/autovec/partial/slp-3.c: Likewise. + * gcc.target/riscv/rvv/autovec/partial/slp-5.c: Likewise. + * gcc.target/riscv/rvv/autovec/zve64d-1.c: Adjust expectation. + * gcc.target/riscv/rvv/autovec/zve64f-1.c: Likewise. + 2026-11-23 Oleg Tolmatcev <[email protected]> * g++.dg/debug/codeview/eh-indirect-1.C: New test. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 18dac6d01672..c49159fe0ba0 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,10 @@ +2026-11-24 Jakub Jelinek <[email protected]> + + * include/cpplib.h (struct cpp_options): Add + cpp_warn_deprecated_octal_literal member. + (enum cpp_warning_reason): Add CPP_W_DEPRECATED_OCTAL_LITERAL. + * expr.cc (cpp_classify_number): Emit -Wdeprecated-octal-literal. + 2026-11-21 Jakub Jelinek <[email protected]> P0085R5 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 531a7f9eee42..b395b7e097d4 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,76 @@ +2026-11-24 Michael Meissner <[email protected]> + + * config.host (powerpc*-*-linux*): Add HF/BF emulation functions to + PowerPC libgcc. + * config/rs6000/float16-eqbf2.c: New file. + * config/rs6000/float16-extendbfdf2.c: Likewise. + * config/rs6000/float16-fixbfdi.c: Likewise. + * config/rs6000/float16-fixbfsi.c: Likewise. + * config/rs6000/float16-fixbfti.c: Likewise. + * config/rs6000/float16-fixhfti.c: Likewise. + * config/rs6000/float16-fixunsbfdi.c: Likewise. + * config/rs6000/float16-fixunsbfsi.c: Likewise. + * config/rs6000/float16-fixunsbfti.c: Likewise. + * config/rs6000/float16-fixunshfti.c: Likewise. + * config/rs6000/float16-floattibf.c: Likewise. + * config/rs6000/float16-floattihf.c: Likewise. + * config/rs6000/float16-floatuntibf.c: Likewise. + * config/rs6000/float16-floatuntihf.c: Likewise. + * config/rs6000/sfp-machine.h (_FP_NANFRAC_H): New macro. + (_FP_NANFRAC_B): Likewise. + (_FP_NANSIGN_H): Likewise. + (_FP_NANSIGN_B): Likewise. + (DFtype2): Add HF/BF emulation function declarations. + (SFtype2): Likewise. + (DItype2): Likewise. + (UDItype2): Likewise. + (SItype2): Likewise. + (USItype2): Likewise. + (TItype2): Likewise. + (UTItype2): Likewise. + (HFtype2): Likewise. + (__eqhf2): Likewise. + (__extendhfdf2): Likewise. + (__extendhfsf2): Likewise. + (__fixhfdi): Likewise. + (__fixhfsi): Likewise. + (__fixunshfdi): Likewise. + (__fixunshfsi): Likewise. + (__floatdihf): Likewise. + (__floatsihf): Likewise. + (__floatundihf): Likewise. + (__floatunsihf): Likewise. + (__truncdfhf2): Likewise. + (__truncsfhf2): Likewise. + (__fixhfti): Likewise. + (__fixunshfti): Likewise. + (__floattihf): Likewise. + (__floatuntihf): Likewise. + (BFtype2): Likewise. + (__eqbf2): Likewise. + (__extendbfsf2): Likewise. + (__extendbfdf2): Likewise. + (__fixbfdi): Likewise. + (__fixbfsi): Likewise. + (__fixunsbfdi): Likewise. + (__fixunsbfsi): Likewise. + (__floatdibf): Likewise. + (__floatsibf): Likewise. + (__floatundibf): Likewise. + (__floatunsibf): Likewise. + (__truncdfbf2): Likewise. + (__truncsfbf2): Likewise. + (__fixbfti): Likewise. + (__fixunsbfti): Likewise. + (__floattibf): Likewise. + (__floatuntibf): Likewise. + (__truncbfhf2): Likewise. + (__trunchfbf2): Likewise. + * config/rs6000/t-float16: New file. + * configure.ac (powerpc*-*-linux*): Check if the PowerPC compiler + supports _Float16 and __bf16 types. + * configure: Regenerate. + 2026-11-21 Olivier Hainque <[email protected]> * config/i386/cygwin.S (__alloca, __x86_64__): Remove cfi_ macro diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 446a6aa1d61f..c28209a9f9df 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,19 @@ +2026-11-24 Tobias Burnus <[email protected]> + + PR fortran/128969 + * testsuite/libgomp.fortran/map-static-alloc-comp-1.f90: New test. + +2026-11-24 Tobias Burnus <[email protected]> + + * libgomp.texi (GOMP_RUNTIME_USM): Minor wording tweaks, + @ref to nvptx. + * plugin/plugin-nvptx.c (using_usm): Remove global var. + (is_integrated_apu): Remove (was commented out). + (GOMP_OFFLOAD_get_dev_caps): Update comment and check for + 'integrated' attribute to return GOMP_OFFLOAD_CAP_APU_SHARED_MEM. + (GOMP_OFFLOAD_is_accessible_ptr): Check at call time whether + the GPU supports unified-shared memory. + 2026-11-21 Thomas Schwinge <[email protected]> * plugin/plugin-nvptx.c (cuDeviceGetUuid, cuDeviceGetUuid_v2): diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8f58219ea94b..2b4824161579 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,19 @@ +2026-11-24 Jakub Jelinek <[email protected]> + + * include/std/charconv (std::__detail::__to_chars_8): Use + conditionally 0o prefixed literals instead of 0 prefixed ones + or rewrite into decimal. + * include/bits/fs_fwd.h (std::filesystem::perms): Temporarily ignore + -Wdeprecated-octal-literal warning. + * include/experimental/bits/fs_fwd.h + (std::experimental::filesystem::perms): Likewise. + * testsuite/std/time/format/pr120114.cc: Expect extra warning for + C++29. + * testsuite/20_util/to_chars/constexpr.cc (test_base8): Use + conditionally 0o prefixed literals instead of 0 prefixed ones. + * testsuite/23_containers/mdspan/layouts/stride_neg.cc: Replace + 00 with 0. + 2026-11-21 Jakub Jelinek <[email protected]> * include/bits/version.def (clmul): Bump FTM to 202611.
