diff options
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 755 |
1 files changed, 755 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2bb985..f9a6b52 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,758 @@ +2025-04-16 Sandra Loosemore <sloosemore@baylibre.com> + + PR c/88382 + * doc/extend.texi (Syntax Extensions): Adjust menu. + (Raw String Literals): New section. + +2025-04-16 Keith Packard <keithp@keithp.com> + + * config/rx/rx.md (cmpstrnsi): Allow constant length. For + static length 0, just store 0 into the output register. + For dynamic zero, set C/Z appropriately. + (rxcmpstrn): No longer set C/Z. + +2025-04-16 Eric Botcazou <ebotcazou@gcc.gnu.org> + + * tree-ssa-phiopt.cc (factor_out_conditional_operation): Do not + bypass the int_fits_type_p test for boolean types whose precision + is not 1. + +2025-04-16 Sandra Loosemore <sloosemore@baylibre.com> + + * common.opt.urls: Regenerated. + +2025-04-16 Ard Biesheuvel <ardb@kernel.org> + + PR target/119386 + * config/i386/i386-options.cc: Permit -mnop-mcount when + using -fpic with PLTs. + +2025-04-16 Ard Biesheuvel <ardb@kernel.org> + + PR target/119386 + * config/i386/i386.cc (x86_print_call_or_nop): Add @PLT suffix + where appropriate. + (x86_function_profiler): Fall through to x86_print_call_or_nop() + for PIC codegen when flag_plt is set. + +2025-04-16 Sandra Loosemore <sloosemore@baylibre.com> + + PR driver/90465 + * doc/invoke.texi (Overall Options): Add a @cindex for -Q in + connection with --help=. + (Developer Options): Point at --help= documentation for the + other use of -Q. + +2025-04-16 Thomas Schwinge <tschwinge@baylibre.com> + + PR target/97106 + * config/nvptx/nvptx.cc (nvptx_asm_output_def_from_decls) + [ACCEL_COMPILER]: Make sure to emit C++ constructor, destructor + aliases. + +2025-04-16 Jan Hubicka <hubicka@ucw.cz> + + PR tree-optimization/119614 + * ipa-prop.cc (ipa_write_return_summaries): New function. + (ipa_record_return_value_range_1): Break out from .... + (ipa_record_return_value_range): ... here. + (ipa_read_return_summaries): New function. + (ipa_prop_read_section): Read return summaries. + (read_ipcp_transformation_info): Read return summaries. + (ipcp_write_transformation_summaries): Write return summaries; + do not stream stray 0. + +2025-04-16 Tamar Christina <tamar.christina@arm.com> + + PR tree-optimization/119351 + * tree-vectorizer.h (LOOP_VINFO_MASK_NITERS_PFA_OFFSET, + LOOP_VINFO_NON_LINEAR_IV): New. + (class _loop_vec_info): Add mask_skip_niters_pfa_offset and + nonlinear_iv. + * tree-vect-loop.cc (_loop_vec_info::_loop_vec_info): Initialize them. + (vect_analyze_scalar_cycles_1): Record non-linear inductions. + (vectorizable_induction): If early break and PFA using masking create a + new phi which tracks where the scalar code needs to start... + (vectorizable_live_operation): ...and generate the adjustments here. + (vect_use_loop_mask_for_alignment_p): Reject non-linear inductions and + early break needing peeling. + +2025-04-16 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/119808 + * gimple-lower-bitint.cc (gimple_lower_bitint): Don't set + m_single_use_names bits for SSA_NAMEs which have single use but + their SSA_NAME_DEF_STMT is a copy from another SSA_NAME which doesn't + have a single use, or single use which is such a copy etc. + +2025-04-16 Jesse Huang <jesse.huang@sifive.com> + + * config/riscv/riscv.cc (riscv_file_end): Fix .p2align value. + +2025-04-16 Kito Cheng <kito.cheng@sifive.com> + + * config/riscv/riscv.h (JUMP_TABLES_IN_TEXT_SECTION): Check if + large code model. + +2025-04-16 Tejas Belagod <tejas.belagod@arm.com> + + * config/aarch64/aarch64-sve.md (vec_extract<vpred><Vel>): Fix operand + order to gen_vcond_mask_*. + +2025-04-16 Alice Carlotti <alice.carlotti@arm.com> + + * config/aarch64/aarch64.cc + (aarch64_valid_sysreg_name_p): Remove feature check. + (aarch64_retrieve_sysreg): Ditto. + +2025-04-15 Sandra Loosemore <sloosemore@baylibre.com> + + PR tree-optimization/71094 + * doc/invoke.texi (Optimize Options): Document that -fivopts is + enabled at -O1 and higher. Add blurb about -O0 causing GCC to + completely ignore most optimization options. + +2025-04-15 Iain Sandoe <iain@sandoe.co.uk> + + * configure: Regenerate. + * configure.ac: Recognise PROJECT:ld-mmmm.nn.aa as an identifier + for Darwin's static linker. + +2025-04-15 Iain Sandoe <iainsandoe@mini-05-seq.local> + + PR target/116827 + * ginclude/stddef.h: Undefine __PTRDIFF_T and __SIZE_T for module- + enabled c++ on Darwin/macOS platforms. + +2025-04-15 Kyrylo Tkachov <ktkachov@nvidia.com> + + * common.opt.urls: Regenerate. + +2025-04-15 Jan Hubicka <hubicka@ucw.cz> + + * config/i386/x86-tune-sched.cc (ix86_issue_rate): Set + to 4 for znver5. + +2025-04-15 Jan Hubicka <hubicka@ucw.cz> + + PR target/119298 + * config/i386/x86-tune-costs.h (znver5_cost): Set ADDSS cost to 3. + +2025-04-15 Vineet Gupta <vineetg@rivosinc.com> + + PR target/119533 + * config/riscv/riscv-vsetvl.cc (invalid_opt_bb_p): Check for + EDGE_ABNOMAL. + (pre_vsetvl::compute_lcm_local_properties): Initialize kill + bitmap. + Debug dump skipped edge. + +2025-04-15 Robin Dapp <rdapp@ventanamicro.com> + + PR target/119547 + * config/riscv/riscv-vsetvl.cc (pre_vsetvl::earliest_fuse_vsetvl_info): + Do not perform lift if block is not transparent. + +2025-04-15 Kyrylo Tkachov <ktkachov@nvidia.com> + + * Makefile.in (OBJS): Add ipa-locality-cloning.o. + * cgraph.h (set_new_clone_decl_and_node_flags): Declare prototype. + * cgraphclones.cc (set_new_clone_decl_and_node_flags): Remove static + qualifier. + * common.opt (fipa-reorder-for-locality): New flag. + (LTO_PARTITION_DEFAULT): Declare. + (flto-partition): Change default to LTO_PARTITION_DFEAULT. + * doc/invoke.texi: Document -fipa-reorder-for-locality. + * flag-types.h (enum lto_locality_cloning_model): Declare. + (lto_partitioning_model): Add LTO_PARTITION_DEFAULT. + * lto-cgraph.cc (lto_set_symtab_encoder_in_partition): Add dumping of + node and index. + * opts.cc (validate_ipa_reorder_locality_lto_partition): Define. + (finish_options): Handle LTO_PARTITION_DEFAULT. + * params.opt (lto_locality_cloning_model): New enum. + (lto-partition-locality-cloning): New param. + (lto-partition-locality-frequency-cutoff): Likewise. + (lto-partition-locality-size-cutoff): Likewise. + (lto-max-locality-partition): Likewise. + * passes.def: Register pass_ipa_locality_cloning. + * timevar.def (TV_IPA_LC): New timevar. + * tree-pass.h (make_pass_ipa_locality_cloning): Declare. + * ipa-locality-cloning.cc: New file. + * ipa-locality-cloning.h: New file. + +2025-04-15 Martin Jambor <mjambor@suse.cz> + Jakub Jelinek <jakub@redhat.com> + + PR ipa/119803 + * ipa-cp.cc (ipcp_bits_lattice::meet_with_1): Move m_value adjustmed + according to m_mask below the adjustment of the latter according to + cap_mask. Optimize the calculation of cap_mask a bit. + (ipcp_bits_lattice::meet_with): Optimize the calculation of cap_mask a + bit. + +2025-04-15 Jakub Jelinek <jakub@redhat.com> + + * ipa-cp.cc (ipcp_print_widest_int): Print values with all ones in + bits 128+ with "0xf..f" prefix instead of "all ones folled by ". + Simplify wide_int check for -1 or all ones above least significant + 128 bits. + +2025-04-15 Jakub Jelinek <jakub@redhat.com> + + PR sanitizer/119801 + * sanitizer.def (BUILT_IN_TSAN_FUNC_EXIT): Use BT_FN_VOID rather + than BT_FN_VOID_PTR. + * tree-tailcall.cc: Include attribs.h and asan.h. + (struct tailcall): Add has_tsan_func_exit member. + (empty_eh_cleanup): Add eh_has_tsan_func_exit argument, set what + it points to to 1 if there is exactly one __tsan_func_exit call + and ignore that call otherwise. Adjust recursive call. + (find_tail_calls): Add RETRY_TSAN_FUNC_EXIT argument, pass it + to recursive calls. When seeing __tsan_func_exit call with + RETRY_TSAN_FUNC_EXIT 0, set it to -1. If RETRY_TSAN_FUNC_EXIT + is 1, initially ignore __tsan_func_exit calls. Adjust + empty_eh_cleanup caller. When looking through stmts after the call, + ignore exactly one __tsan_func_exit call but remember it in + t->has_tsan_func_exit. Diagnose if EH cleanups didn't have + __tsan_func_exit and normal path did or vice versa. + (optimize_tail_call): Emit __tsan_func_exit before the tail call + or tail recursion. + (tree_optimize_tail_calls_1): Adjust find_tail_calls callers. If + find_tail_calls changes retry_tsan_func_exit to -1, set it to 1 + and call it again with otherwise the same arguments. + +2025-04-15 Sandra Loosemore <sloosemore@baylibre.com> + + PR ipa/113203 + * doc/extend.texi (Common Function Attributes): Explain how to + use always_inline in programs that have multiple translation + units, and that LTO inlining additionally needs optimization + enabled. + +2025-04-15 liuhongt <hongtao.liu@intel.com> + + PR target/108134 + * doc/extend.texi: Remove documents from r11-344-g0fec3f62b9bfc0. + +2025-04-15 Sandra Loosemore <sloosemore@baylibre.com> + + PR target/42683 + * doc/invoke.texi (x86 Options): Clarify that -march=pentiumpro + doesn't include MMX. + +2025-04-14 Thomas Schwinge <tschwinge@baylibre.com> + + PR target/118794 + * config/gcn/gcn.opt (-mfake-exceptions): Support. + * config/nvptx/nvptx.opt (-mfake-exceptions): Likewise. + * config/gcn/gcn.md (define_expand "exception_receiver"): Use it. + * config/nvptx/nvptx.md (define_expand "exception_receiver"): + Likewise. + * config/gcn/mkoffload.cc (main): Set it. + * config/nvptx/mkoffload.cc (main): Likewise. + * config/nvptx/nvptx.cc (nvptx_assemble_integer) + <in_section == exception_section>: Special handling for + 'SYMBOL_REF's. + * except.cc (expand_dw2_landing_pad_for_region): Don't generate + bogus code for (default) + '#define EH_RETURN_DATA_REGNO(N) INVALID_REGNUM'. + +2025-04-14 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/119785 + * expmed.cc (init_expmed): Always pass QImode rather than mode to + set_src_cost passed to set_zero_cost. + +2025-04-14 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/119718 + * tree-pretty-print.cc (dump_generic_node) <case CALL_EXPR>: Dump + also CALL_EXPR_MUST_TAIL_CALL flag. + * calls.cc (maybe_complain_about_tail_call): Emit error about + CALL_EXPR_MUST_TAIL_CALL only after emitting dump message, not before + it. + +2025-04-14 Arthur Cohen <arthur.cohen@embecosm.com> + + * doc/install.texi: Add requirements for building gccrs. + +2025-04-14 H.J. Lu <hjl.tools@gmail.com> + + PR target/119784 + * config/i386/i386.cc (ix86_using_red_zone): Don't use red-zone + with 32 GPRs and no caller-saved registers. + +2025-04-14 Martin Jambor <mjambor@suse.cz> + + PR ipa/118097 + * ipa-cp.cc (ipa_get_jf_arith_result): Require res_operand for + anything except NOP_EXPR or ADDR_EXPR, document it and remove the code + trying to deduce it. + (ipa_value_from_jfunc): Use the stored and streamed type of arithmetic + pass-through functions. + (ipa_agg_value_from_jfunc): Use the stored and streamed type of + arithmetic pass-through functions, convert to the type used to store + the value if necessary. + (get_val_across_arith_op): New parameter op_type, pass it to + ipa_get_jf_arith_result. + (propagate_vals_across_arith_jfunc): New parameter op_type, pass it to + get_val_across_arith_op. + (propagate_vals_across_pass_through): Use the stored and streamed type + of arithmetic pass-through functions. + (propagate_aggregate_lattice): Likewise. + (push_agg_values_for_index_from_edge): Use the stored and streamed + type of arithmetic pass-through functions, convert to the type used to + store the value if necessary. + +2025-04-14 Martin Jambor <mjambor@suse.cz> + + PR ipa/118785 + * ipa-cp.cc (ipa_vr_intersect_with_arith_jfunc): Use the stored + and streamed type of arithmetic pass-through functions. + +2025-04-14 Martin Jambor <mjambor@suse.cz> + + * ipa-cp.cc (ipcp_print_widest_int): Also add a truncated form of + dumping of widest ints which only have zeros in the lowest 128 bits. + Update the comment. + (ipcp_bits_lattice::print): Also dump the mask using + ipcp_print_widest_int. + (ipcp_store_vr_results): Likewise. + +2025-04-14 Martin Jambor <mjambor@suse.cz> + + PR ipa/119318 + * ipa-cp.cc (ipcp_bits_lattice::meet_with_1): Set all mask bits + not covered by precision to one. + (ipcp_bits_lattice::meet_with): Likewise. + (propagate_bits_across_jump_function): Use the stored operation + type to perform meet with other lattices. + +2025-04-14 Martin Jambor <mjambor@suse.cz> + + PR ipa/118097 + PR ipa/118785 + PR ipa/119318 + * lto-streamer.h (lto_variably_modified_type_p): Declare. + * ipa-prop.h (ipa_pass_through_data): New field op_type. + (ipa_get_jf_pass_through_op_type): New function. + * ipa-prop.cc: Include lto-streamer.h. + (ipa_dump_jump_function): Dump also pass-through + operation types, if any. Dump pass-through operands only if not NULL. + (ipa_set_jf_simple_pass_through): Set op_type accordingly. + (compute_complex_assign_jump_func): Set op_type of arithmetic + pass-through jump_functions. + (analyze_agg_content_value): Update lhs when walking assighment + copies. Set op_type of aggregate arithmetic pass-through + jump_functions. + (update_jump_functions_after_inlining): Also transfer the operation + type from the source arithmentic pass-through jump function to the + destination jump function. + (ipa_write_jump_function): Stream also the op_type when necessary. + (ipa_read_jump_function): Likewise. + (ipa_agg_pass_through_jf_equivalent_p): Also compare operation types. + * lto-streamer-out.cc (lto_variably_modified_type_p): Make public. + +2025-04-14 Richard Biener <rguenther@suse.de> + + PR tree-optimization/119757 + * tree-vect-slp.cc (vect_build_slp_tree_1): Record and compare + whether a stmt uses a maks. + +2025-04-14 Richard Biener <rguenther@suse.de> + + PR tree-optimization/119778 + * tree-inline.cc (copy_edges_for_bb): Mark calls that are + source of abnormal edges as altering control-flow. + +2025-04-14 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/119779 + * doc/gm2.texi (Interface to assembly language): Use eax + rather than rax in both examples. + +2025-04-14 Jakub Jelinek <jakub@redhat.com> + + PR driver/119727 + * configure.ac (HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE): New check. + * gcc.cc: Include sys/personality.h if + HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE is defined. + (try_generate_repro): Call + personality (personality (0xffffffffU) | ADDR_NO_RANDOMIZE) + if HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE is defined. + * config.in: Regenerate. + * configure: Regenerate. + +2025-04-13 Stefan Schulze Frielinghaus <stefansf@gcc.gnu.org> + + * config/s390/s390.cc: Add z17 scheduler description. + * config/s390/s390.h: Ditto. + * config/s390/s390.md: Ditto. + * config/s390/9175.md: New file. + +2025-04-13 Stefan Schulze Frielinghaus <stefansf@gcc.gnu.org> + + * common/config/s390/s390-common.cc: Rename arch15 to z17. + * config.gcc: Add z17. + * config/s390/driver-native.cc: Detect z17 machine. + * config/s390/s390-builtins.def (B_VXE3): Rename arch15 to z17. + * config/s390/s390-c.cc (s390_resolve_overloaded_builtin): Ditto. + * config/s390/s390-opts.h (enum processor_type): Ditto. + * config/s390/s390.cc: Ditto. + * config/s390/s390.h: Ditto. + * config/s390/s390.md: Ditto. + * config/s390/s390.opt: Add z17. + * doc/invoke.texi: Ditto. + +2025-04-12 Sandra Loosemore <sloosemore@baylibre.com> + + PR target/97585 + * doc/invoke.texi (x86 Options): Document list of extensions + supported by -march=x86_64, according to the declaration of + PTA_X86_64_BASELINE in config/i386/i386.h. + +2025-04-12 Jakub Jelinek <jakub@redhat.com> + + PR driver/119727 + * gcc.cc (files_equal_p): Rewritten using fopen/fgets/fclose instead + of open/fstat/read/close. At the start of lines, ignore lowercase + hexadecimal addresses followed by space. + +2025-04-12 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/119722 + * gimple-lower-bitint.h (build_bitint_stmt_ssa_conflicts): Add + CLEAR argument. + * gimple-lower-bitint.cc (build_bitint_stmt_ssa_conflicts): Add + CLEAR argument. Call clear on gimple_assign_copy_p rhs1 if lhs + is large/huge bitint unless lhs is not in names. + * tree-ssa-coalesce.cc (build_ssa_conflict_graph): Adjust + build_bitint_stmt_ssa_conflicts caller. Move gimple_assign_copy_p + handling to after the build_bitint_stmt_ssa_conflicts call. + +2025-04-12 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/119718 + * tree-tailcall.cc (maybe_error_musttail): Dump the GIMPLE at the + end of the Cannot tail-call line rather than on the line before it. + * calls.cc (maybe_complain_about_tail_call): Dump the GENERIC + at the end of the ;; Cannot tail-call line rather than on the + line before it. + +2025-04-12 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/119718 + * tree-tailcall.cc (maybe_error_musttail): Only dump into dump_file + if dump_flags & TDF_DETAILS. Use "Cannot tail-call: " prefix instead + of "Cannot convert: ". + (find_tail_calls, tree_optimize_tail_calls_1): Formatting fixes + for maybe_error_musttail calls. + * calls.cc (maybe_complain_about_tail_call): Emit also a message + into dump_file when dump_flags & TDF_DETAILS for CALL_EXPR_TAILCALL + calls. + (initialize_argument_information): Formatting fix for + maybe_complain_about_tail_call calls. + (can_implement_as_sibling_call_p, expand_call): Likewise. + +2025-04-11 Sandra Loosemore <sloosemore@baylibre.com> + + PR c++/106618 + * doc/invoke.texi (Option Summary): Remove -fargs-in-order, add + -fstrong-eval-order. + (C++ Dialect Options): Explicitly document that -fstrong-eval-order + takes an optional argument and what the choices are. Generalize + references to C++17. + +2025-04-11 Sandra Loosemore <sloosemore@baylibre.com> + + PR middle-end/105548 + * doc/invoke.texi (Optimize Options): Delete misleading sentence + about conversions. + +2025-04-11 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/119707 + * gimple-lower-bitint.cc (bitint_large_huge::handle_cast): Only use + m_data[save_data_cnt] instead of m_data[save_data_cnt + 1] if + idx is odd and equal to low + 1. Remember tree_to_uhwi (idx) in + a temporary instead of calling the function multiple times. + +2025-04-11 Sandra Loosemore <sloosemore@baylibre.com> + + PR tree-optimization/87909 + * common.opt.urls: Regenerate. + * doc/invoke.texi (Option Summary): Add -ftree-cselim. + (Optimize Options): Likewise. + +2025-04-11 Sandra Loosemore <sloosemore@baylibre.com> + + PR middle-end/14708 + * doc/invoke.texi (Optimize Options): List -fexcess-precision + before -ffloat-store, moving some background discussion to the + former from the latter. Recommend using -fexcess-precision=standard + instead of -ffloat-store. + +2025-04-10 Iain Sandoe <iain@sandoe.co.uk> + + * config/darwin.h (LINK_SPEC): Add support for + -static-libgcobol. + +2025-04-10 Richard Biener <rguenther@suse.de> + + PR middle-end/119706 + * gimple-expr.cc (is_gimple_mem_ref_addr): Also allow + POLY_INT_CST. + +2025-04-10 Richard Sandiford <richard.sandiford@arm.com> + + PR tree-optimization/119399 + * tree-data-ref.cc (create_waw_or_war_checks): Use a MINUS_EXPR + on two converted pointers, rather than converting a POINTER_DIFF_EXPR + on the pointers. + +2025-04-10 Kito Cheng <kito.cheng@sifive.com> + + * config/riscv/multilib-generator: Remove the compact code model + and check large code model for RV32. + +2025-04-09 Jakub Jelinek <jakub@redhat.com> + + * pretty-print.cc (pretty_printer::format): Use %.Ns instead of + %Ns in function comment. + +2025-04-09 Jakub Jelinek <jakub@redhat.com> + + PR target/119664 + * config/h8300/jumpcall.md (bit test and jump define_insn_and_split): + Use HSI iterator rather than QHSI. + +2025-04-09 Jakub Jelinek <jakub@redhat.com> + + * config/riscv/riscv-vector-builtins.cc (verify_type_context): + Diagnose RVV types for a given OpenMP context. + +2025-04-09 Richard Biener <rguenther@suse.de> + + PR rtl-optimization/119689 + PR rtl-optimization/115568 + * lra-remat.cc (create_cands): Use prev_nonnote_nondebug_insn + to check whether insn2 is directly before insn. + +2025-04-09 Robin Dapp <rdapp@ventanamicro.com> + + PR middle-end/116595 + * expr.cc (categorize_ctor_elements_1): Use + constant_lower_bound. + +2025-04-09 Yang Yujie <yangyujie@loongson.cn> + + * config/loongarch/genopts/gen-evolution.awk: remove + usage of "asort". + * config/loongarch/genopts/genstr.sh: replace sed with awk. + +2025-04-08 Sandra Loosemore <sloosemore@baylibre.com> + + PR c++/90468 + * doc/invoke.texi (Warning Options): Clean up text describing + -Wno-xxx. + +2025-04-08 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/119672 + * simplify-rtx.cc (simplify_context::simplify_relational_operation_1): + For POPCOUNT == 0 or != 0 optimizations use + CONST0_RTX (GET_MODE (XEXP (op0, 0))) rather than const0_rtx. + +2025-04-08 Tobias Burnus <tburnus@baylibre.com> + + PR middle-end/119662 + * gimplify.cc (modify_call_for_omp_dispatch): Fix GOMP_interop + arg passing; add location info to function calls. + +2025-04-08 Jakub Jelinek <jakub@redhat.com> + + PR target/119678 + * config/riscv/freebsd.h (LINK_SPEC): Use FBSD_LINK_PG_NOTE rather + than non-existing FBSD_LINK_PG_NOTES. + +2025-04-08 Thomas Schwinge <tschwinge@baylibre.com> + + * config/nvptx/nvptx.cc (nvptx_asm_output_def_from_decls) + [!ACCEL_COMPILER]: Don't define label 'emit_ptx_alias'. + +2025-04-08 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/119594 + * cse.cc (count_reg_usage): Count even x == dest regs if they have + non-zero counts already and incr is positive. + +2025-04-08 Jakub Jelinek <jakub@redhat.com> + + PR lto/119625 + * lto-opts.cc (lto_write_options): Mask of CF_SET from + global_options.x_flag_cf_protection. + +2025-04-08 Tejas Belagod <tejas.belagod@arm.com> + Andrea Corallo <andrea.corallo@arm.com> + + * target.h (type_context_kind): Add new context kinds for target clauses. + (omp_type_context): Query if the context is of OMP kind. + * config/aarch64/aarch64-sve-builtins.cc (verify_type_context): Diagnose + SVE types for a given OpenMP context. + (omp_type_context): New. + * gimplify.cc (omp_notice_variable): Diagnose implicitly-mapped SVE + objects in OpenMP regions. + (gimplify_scan_omp_clauses): Diagnose SVE types for various target + clauses. + +2025-04-08 Tejas Belagod <tejas.belagod@arm.com> + + * tree.h (strip_pointer_types): New. + +2025-04-08 Richard Sandiford <richard.sandiford@arm.com> + Tejas Belagod <tejas.belagod@arm.com> + + PR middle-end/101018 + * poly-int.h (can_and_p): New function. + * fold-const.cc (poly_int_binop): Use it to optimize BIT_AND_EXPRs + involving POLY_INT_CSTs. + * gimplify.cc (omp_notice_variable): Use poly_int_tree_p instead + of INTEGER_CST when checking for constant-sized omp data. + (gimplify_adjust_omp_clauses_1): Likewise. + (gimplify_adjust_omp_clauses): Likewise. + * omp-low.cc (scan_sharing_clauses): Likewise. + +2025-04-08 Haochen Jiang <haochen.jiang@intel.com> + + * config/i386/i386.h (PTA_DIAMONDRAPIDS): Add PTA_AVX10_1_256. + +2025-04-08 Jin Ma <jinma@linux.alibaba.com> + + * config/riscv/vector.md: Disable vsext/vzext for XTheadVector. + +2025-04-07 Iain Sandoe <iain@sandoe.co.uk> + + PR target/113257 + * config/aarch64/aarch64-cores.def (AARCH64_CORE): Add Apple-a12, + Apple-M1, Apple-M2, Apple-M3 with expanded names to allow for the + LITTLE.big versions. + * config/aarch64/aarch64-tune.md: Regenerate. + * doc/invoke.texi: Add apple-m1,2 and 3 cores to the ones listed + for arch and tune selections. + +2025-04-07 Thomas Schwinge <tschwinge@baylibre.com> + + * config/nvptx/nvptx.opt (-mfake-ptx-alloca): Update. + +2025-04-07 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/118924 + * tree-sra.cc (create_total_scalarization_access): Set + grp_same_access_path flag to zero. + +2025-04-07 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/118924 + * tree-ssa-alias-compare.h (types_equal_for_same_type_for_tbaa_p): + Declare. + * tree-ssa-alias.cc: Include ipa-utils.h. + (types_equal_for_same_type_for_tbaa_p): New public overloaded variant. + * tree-sra.cc: Include tree-ssa-alias-compare.h. + (create_access): Initialzie grp_same_access_path to true. + (build_accesses_from_assign): Detect tbaa hazards and clear + grp_same_access_path fields of involved accesses when they occur. + (sort_and_splice_var_accesses): Take previous values of + grp_same_access_path into account. + +2025-04-07 Richard Biener <rguenther@suse.de> + + PR tree-optimization/119640 + * tree-vect-stmts.cc (vectorizable_shift): Always insert code + for one of our SLP operands before the code for the vector + shift itself. + +2025-04-07 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/119614 + * tree-tailcall.cc (find_tail_calls): Remember edges which have been + walked through if !ass_var. Perform IPA-VRP workaround even when + ret_var is not TREE_CONSTANT, in that case check in a loop if it is + a PHI result and in that case look at the PHI argument from + corresponding edge in the edge vector. + +2025-04-07 Richard Sandiford <richard.sandiford@arm.com> + + PR testsuite/116398 + * params.opt (-param=max-combine-search-insns=): New param. + * doc/invoke.texi: Document it. + * combine.cc (insn_link::insn_count): New field. + (alloc_insn_link): Initialize it. + (distribute_links): Add a limit parameter. + (try_combine): Use the new param to limit distribute_links + when only i3 has changed. + +2025-04-07 Richard Sandiford <richard.sandiford@arm.com> + + PR testsuite/116398 + * combine.cc (distribute_links): Take an optional start point. + (try_combine): If only i3 has changed, only distribute i3's links, + not i2's. Start the search for the new use from i3 rather than + from the definition instruction. Likewise start the search for + the new use from i2 when distributing i2's links. + +2025-04-07 Richard Sandiford <richard.sandiford@arm.com> + + PR testsuite/116398 + * combine.cc (try_combine): Shortcut the split_i2i3 handling if + i2 is unchanged. + +2025-04-07 Richard Sandiford <richard.sandiford@arm.com> + Richard Biener <rguenther@suse.de> + + PR testsuite/116398 + * combine.cc (try_combine): Reallow 2->2 combinations. Detect when + only i3 has changed and restart from i3 in that case. + +2025-04-07 Richard Sandiford <richard.sandiford@arm.com> + + * simplify-rtx.cc (simplify_const_relational_operation): Generalize + the constant checks in the fold-via-minus path to match the + INTEGRAL_MODE_P condition. + +2025-04-06 Sandra Loosemore <sloosemore@baylibre.com> + + * doc/extend.texi (Boolean Type): Further clarify support for + _Bool in C23 and C++. + +2025-04-06 Sandra Loosemore <sloosemore@baylibre.com> + + PR middle-end/78874 + * doc/invoke.texi (Warning Options): Fix description of + -Wno-aggressive-loop-optimizations to reflect that this turns + off the warning, and the default is for it to be enabled. + +2025-04-06 Sandra Loosemore <sloosemore@baylibre.com> + + PR c/81831 + * doc/invoke.texi (Option Summary): Add -Wno-psabi. + (Warning Options): Document -Wpsabi separately from -Wabi. + Note it's enabled by default, not just implied by -Wabi. + Replace the detailed example for a GCC 4.4 change for x86 + (which is unlikely to be very interesting nowadays) with + just a list of all targets that presently diagnose these + warnings. + (RS/6000 and PowerPC Options): Add cross-references for + -Wno-psabi. + +2025-04-05 Sandra Loosemore <sloosemore@baylibre.com> + + PR middle-end/112589 + * common.opt (-fcf-protection): Add documentation string. + * doc/invoke.texi (Option Summary): Add entry for -fcf-protection + without argument. + (Instrumentation Options): Tidy the -fcf-protection entry and + and add documention for the form without an argument. + 2025-04-04 Jakub Jelinek <jakub@redhat.com> PR lto/119625 |