mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-21 19:35:28 -05:00
Daily bump.
This commit is contained in:
145
gcc/ChangeLog
145
gcc/ChangeLog
@@ -1,3 +1,148 @@
|
||||
2025-09-18 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* diagnostics/client-data-hooks.h (client_data_hooks::dump): New.
|
||||
* diagnostics/context.cc (context::dump): Dump
|
||||
m_client_data_hooks.
|
||||
(client_data_hooks::dump): New.
|
||||
* diagnostics/logical-locations.h
|
||||
(logical_locations::manager::dump): New.
|
||||
* diagnostics/selftest-logical-locations.cc: Include
|
||||
"diagnostics/dumping.h".
|
||||
(test_manager::dump): New.
|
||||
* diagnostics/selftest-logical-locations.h (test_manager::dump):
|
||||
New decl.
|
||||
* libgdiagnostics.cc: Include "diagnostics/dumping.h".
|
||||
(impl_logical_location_manager::dump): New.
|
||||
* tree-logical-location.cc: Include "diagnostics/dumping.h".
|
||||
(tree_logical_location_manager::dump): New.
|
||||
* tree-logical-location.h (tree_logical_location_manager::dump):
|
||||
New decl.
|
||||
|
||||
2025-09-18 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* diagnostics/paths-output.cc: Update for conversion of
|
||||
location_aspect to enum class.
|
||||
* diagnostics/source-printing.cc: Likewise.
|
||||
* input.cc: Likewise.
|
||||
* input.h: Likewise.
|
||||
|
||||
2025-09-18 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* diagnostics/buffering.cc: Drop include of "diagnostic.h".
|
||||
* diagnostics/buffering.h: Likewise.
|
||||
* diagnostics/context.h (diagnostics::metadata): Add forward decl.
|
||||
* diagnostics/html-sink.cc: Drop include of "diagnostic.h".
|
||||
* diagnostics/lazy-paths.cc: Likewise.
|
||||
* diagnostics/macro-unwinding.cc: Likewise.
|
||||
* diagnostics/macro-unwinding.h (diagnostics:diagnostic_info): Add
|
||||
forward decl.
|
||||
* diagnostics/option-classifier.h: Include
|
||||
"diagnostics/option-id.h" and "diagnostics/kinds.h".
|
||||
(diagnostics:diagnostic_info): Add forward decl.
|
||||
* diagnostics/output-spec.cc: Drop include of "diagnostic.h".
|
||||
* diagnostics/paths-output.cc: Likewise.
|
||||
* diagnostics/paths.cc: Likewise.
|
||||
* diagnostics/sarif-sink.cc: Likewise.
|
||||
* diagnostics/selftest-context.cc: Likewise.
|
||||
* diagnostics/selftest-paths.cc: Likewise.
|
||||
* diagnostics/source-printing-options.h: Include
|
||||
"rich-location.h".
|
||||
* diagnostics/text-sink.cc: Drop include of "diagnostic.h".
|
||||
|
||||
2025-09-18 Qing Zhao <qing.zhao@oracle.com>
|
||||
|
||||
PR tree-optimization/121894
|
||||
* tree-sra.cc (scan_function): Set grp_assignment_write to 1 when
|
||||
specially handle call to .DEFERRED_INIT.
|
||||
|
||||
2025-09-18 Zhongyao Chen <chenzhongyao.hit@gmail.com>
|
||||
|
||||
PR target/121910
|
||||
* config/riscv/riscv-vector-costs.cc (compute_estimated_lmul):
|
||||
Return RVV_M8 when estimated lmul is too large.
|
||||
|
||||
2025-09-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/121977
|
||||
* omp-low.cc (lower_omp_regimplify_operands_p): If maybe_lookup_decl
|
||||
returns NULL, use maybe_lookup_decl_in_outer_ctx as fallback.
|
||||
|
||||
2025-09-18 Karl Meakin <karl.meakin@arm.com>
|
||||
|
||||
* config/aarch64/aarch64-sme.md (@aarch64_sme_write_zt<SVE_FULL:mode>): New insn.
|
||||
(aarch64_sme_lut_zt): Likewise.
|
||||
* config/aarch64/aarch64-sve-builtins-shapes.cc (parse_type): New type format "%T".
|
||||
(struct luti_lane_zt_base): New function shape.
|
||||
(SHAPE): Likewise.
|
||||
(struct write_zt_def): Likewise.
|
||||
(struct write_lane_zt_def): Likewise.
|
||||
* config/aarch64/aarch64-sve-builtins-shapes.h: New function shape.
|
||||
* config/aarch64/aarch64-sve-builtins-sme.cc (class svluti_zt_impl): New function expander.
|
||||
(class svwrite_zt_impl): Likewise.
|
||||
(class svwrite_lane_zt_impl): Likewise.
|
||||
(FUNCTION): Likewise
|
||||
* config/aarch64/aarch64-sve-builtins-sme.def (svwrite_zt): New function shape.
|
||||
(svwrite_lane_zt): Likewise.
|
||||
(svluti4_zt): Likewise.
|
||||
* config/aarch64/aarch64-sve-builtins-sme.h: New function base.
|
||||
* config/aarch64/aarch64-sve-builtins.h: Mention the arrays of function_group_info by name.
|
||||
|
||||
2025-09-18 Karl Meakin <karl.meakin@arm.com>
|
||||
|
||||
* config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): Conditonally define
|
||||
`__ARM_FEATURE_SME_LUTv2" macro.
|
||||
* config/aarch64/aarch64-option-extensions.def (AARCH64_OPT_EXTENSION("sme-lutv2")): New
|
||||
optional architecture extension.
|
||||
* config/aarch64/aarch64.h (TARGET_SME_LUTv2): New macro.
|
||||
* doc/invoke.texi: Document `+sme-lutv2` flag.
|
||||
|
||||
2025-09-18 Pan Li <pan2.li@intel.com>
|
||||
|
||||
* match.pd: Add pattern for SAT_MUL form 5.
|
||||
* tree-ssa-math-opts.cc (math_opts_dom_walker::after_dom_children):
|
||||
Try match pattern for IOR.
|
||||
|
||||
2025-09-18 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* ipa-cp.cc (update_counts_for_self_gen_clones): Do not update
|
||||
call frequency for local profiles.
|
||||
|
||||
2025-09-18 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/87615
|
||||
* tree-ssa-sccvn.cc (vn_nary_op_insert_into): When inserting
|
||||
a new predicate or location into an existing predicate list
|
||||
make sure to not exceed 8 locations. Avoid copying things
|
||||
when we later eventually throw them away.
|
||||
(vn_nary_op_insert_pieces_predicated): Avoid expensive check
|
||||
when not checking.
|
||||
(dominated_by_p_w_unex): Apply the limit on a single successors
|
||||
predecessor count consistently.
|
||||
|
||||
2025-09-18 Tobias Burnus <tburnus@baylibre.com>
|
||||
Sandra Loosemore <sloosemore@baylibre.com>
|
||||
|
||||
PR middle-end/121922
|
||||
* omp-general.cc (omp_dynamic_cond): Use 'unshare_expr' for
|
||||
the user condition.
|
||||
|
||||
2025-09-18 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/121720
|
||||
* tree-ssa-pre.cc (bitmap_set_subtract_expressions): Add
|
||||
flag to tell whether we should copy instead of prune the
|
||||
value set.
|
||||
(compute_antic_aux): Remove intersection of ANTIC_IN with
|
||||
the old solution. When subtracting TMP_GEN from
|
||||
ANTIC_OUT do not prune the value set when MAX was involved
|
||||
in the ANTIC_OUT computation.
|
||||
|
||||
2025-09-18 hongtao.liu <hongtao.liu@intel.com>
|
||||
|
||||
* config/i386/x86-tune.def (X86_TUNE_AVX512_MOVE_BY_PIECES):
|
||||
Remove SPR/GNR/DMR.
|
||||
(X86_TUNE_AVX512_STORE_BY_PIECES): Ditto.
|
||||
|
||||
2025-09-17 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* sarif-replay.cc (set_defaults): Initialize
|
||||
|
||||
@@ -1 +1 @@
|
||||
20250918
|
||||
20250919
|
||||
|
||||
@@ -1,3 +1,31 @@
|
||||
2025-09-18 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* constexpr.cc (cxx_eval_component_reference): Clarify diagnostic.
|
||||
|
||||
2025-09-18 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* init.cc (build_new_1): Clobber classes.
|
||||
|
||||
2025-09-18 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* constexpr.cc (get_or_insert_ctor_field): -2 means don't insert.
|
||||
(cxx_eval_component_reference): Handle finding void_node.
|
||||
(cxx_eval_store_expression): Don't represent initial clobber
|
||||
unless we need to activate a union member.
|
||||
(cxx_eval_statement_list): Don't ask for a void prvalue.
|
||||
(cxx_eval_loop_expr): The expr is discarded-value.
|
||||
(cxx_eval_constant_expression): A loose clobber is non-constant.
|
||||
Handle getting void_node instead of a real result.
|
||||
(potential_constant_expression_1): A local temp is
|
||||
potentially-constant.
|
||||
* init.cc (build_new_1): Don't clobber empty types or
|
||||
in a template.
|
||||
(build_vec_init): Fix clobber handling.
|
||||
|
||||
2025-09-18 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* init.cc (build_new_1): Append alloc_node to checking COND_EXPR.
|
||||
|
||||
2025-09-17 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR c++/121966
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
2025-09-18 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/114815
|
||||
* decl.cc (gfc_get_pdt_instance): Copy the contents of 'tb' and
|
||||
not the pointer.
|
||||
* primary.cc (gfc_match_rvalue): If there is only one actual
|
||||
argument list, use if for the type spec parameter values. If
|
||||
this fails try the default type specification values and use
|
||||
the actual arguments for the component values.
|
||||
* resolve.cc (build_init_assign): Don't initialize implicit PDT
|
||||
function results.
|
||||
|
||||
2025-09-17 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
* frontend-passes.cc (optimize_namespace): Handle
|
||||
|
||||
@@ -1,3 +1,92 @@
|
||||
2025-09-18 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* gcc.dg/c2y-anon-init-1.c, gcc.dg/c2y-incomplete-2.c:
|
||||
gcc.dg/c2y-linkage-1.c, gcc.dg/c2y-linkage-2.c,
|
||||
gcc.dg/c2y-linkage-3.c, gcc.dg/c2y-linkage-4.c,
|
||||
gcc.dg/c2y-static-assert-1.c: New tests.
|
||||
* gcc.dg/c2y-linkage-1.c: New file.
|
||||
* gcc.dg/c2y-linkage-2.c: New file.
|
||||
* gcc.dg/c2y-linkage-3.c: New file.
|
||||
* gcc.dg/c2y-linkage-4.c: New file.
|
||||
* gcc.dg/c2y-static-assert-1.c: New file.
|
||||
|
||||
2025-09-18 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* g++.dg/cpp2a/constexpr-98122.C: Adjust diagnostic.
|
||||
* g++.dg/cpp26/constexpr-new6a.C: New test.
|
||||
|
||||
2025-09-18 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* g++.dg/analyzer/pr97116.C: Adjust diagnostic.
|
||||
* g++.dg/warn/Warray-bounds-20.C: Likewise.
|
||||
|
||||
2025-09-18 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* g++.dg/init/pr25811.C: Tweak diagnostic.
|
||||
* g++.dg/warn/Warray-bounds-12.C: Likewise.
|
||||
* g++.dg/warn/Warray-bounds-13.C: Likewise.
|
||||
* g++.dg/cpp26/constexpr-new6.C: New test.
|
||||
|
||||
2025-09-18 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* g++.dg/warn/Wmismatched-new-delete-2.C: Remove xfail.
|
||||
|
||||
2025-09-18 Qing Zhao <qing.zhao@oracle.com>
|
||||
|
||||
PR tree-optimization/121894
|
||||
* g++.dg/opt/auto-init-sra-pr121894.C: New test.
|
||||
|
||||
2025-09-18 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/114815
|
||||
* gfortran.dg/pdt_3.f03: Add missing deallocation of 'matrix'.
|
||||
* gfortran.dg/pdt_17.f03: Change dg-error text.
|
||||
* gfortran.dg/pdt_47.f03: New test.
|
||||
|
||||
2025-09-18 Zhongyao Chen <chenzhongyao.hit@gmail.com>
|
||||
|
||||
PR target/121910
|
||||
* gcc.target/riscv/rvv/autovec/pr121910.c: New file.
|
||||
|
||||
2025-09-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/121977
|
||||
* g++.dg/gomp/pr121977.C: New test.
|
||||
|
||||
2025-09-18 Karl Meakin <karl.meakin@arm.com>
|
||||
|
||||
* gcc.target/aarch64/sme2/acle-asm/svluti4_zt_1.c: New test.
|
||||
* gcc.target/aarch64/sme2/acle-asm/svwrite_lane_zt_1.c: New test.
|
||||
* gcc.target/aarch64/sme2/acle-asm/svwrite_zt_1.c: New test.
|
||||
* gcc.target/aarch64/sve/acle/general-c/svluti4_zt_1.c: New test.
|
||||
* gcc.target/aarch64/sve/acle/general-c/svwrite_lane_zt_1.c: New test.
|
||||
* gcc.target/aarch64/sve/acle/general-c/svwrite_zt_1.c: New test.
|
||||
|
||||
2025-09-18 Pan Li <pan2.li@intel.com>
|
||||
|
||||
* gcc.target/riscv/sat/sat_arith.h: Add test helper macros.
|
||||
* gcc.target/riscv/sat/sat_u_mul-6-u16-from-u128.c: New test.
|
||||
* gcc.target/riscv/sat/sat_u_mul-6-u32-from-u128.c: New test.
|
||||
* gcc.target/riscv/sat/sat_u_mul-6-u64-from-u128.c: New test.
|
||||
* gcc.target/riscv/sat/sat_u_mul-6-u8-from-u128.c: New test.
|
||||
* gcc.target/riscv/sat/sat_u_mul-run-6-u16-from-u128.c: New test.
|
||||
* gcc.target/riscv/sat/sat_u_mul-run-6-u32-from-u128.c: New test.
|
||||
* gcc.target/riscv/sat/sat_u_mul-run-6-u64-from-u128.c: New test.
|
||||
* gcc.target/riscv/sat/sat_u_mul-run-6-u8-from-u128.c: New test.
|
||||
|
||||
2025-09-18 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/121720
|
||||
* gcc.dg/tree-ssa/ssa-pre-36.c: New testcase.
|
||||
|
||||
2025-09-18 hongtao.liu <hongtao.liu@intel.com>
|
||||
|
||||
* gcc.target/i386/pieces-memcpy-18.c: Use -mtune=znver5
|
||||
instead of -mtune=sapphirerapids.
|
||||
* gcc.target/i386/pieces-memcpy-21.c: Ditto.
|
||||
* gcc.target/i386/pieces-memset-46.c: Ditto.
|
||||
* gcc.target/i386/pieces-memset-49.c: Ditto.
|
||||
|
||||
2025-09-17 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* g++.dg/analyzer/unique_ptr-1.C: Rename to...
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2025-09-18 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* include/line-map.h (enum location_aspect): Convert to...
|
||||
(enum class location_aspect): ...this.
|
||||
* line-map.cc: Update for conversion of location_aspect to enum
|
||||
class.
|
||||
|
||||
2025-09-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* macro.cc: Implement C2Y N3457 - The __COUNTER__ predefined macro.
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2025-09-18 Tobias Burnus <tburnus@baylibre.com>
|
||||
Sandra Loosemore <sloosemore@baylibre.com>
|
||||
|
||||
PR middle-end/121922
|
||||
* testsuite/libgomp.c-c++-common/declare-variant-1.c: New test.
|
||||
|
||||
2025-09-17 Tobias Burnus <tburnus@baylibre.com>
|
||||
|
||||
PR libgomp/119857
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
2025-09-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/106658
|
||||
* include/bits/version.def: Implement C++23 P2590R2 - Explicit
|
||||
lifetime management.
|
||||
(start_lifetime_as): New.
|
||||
* include/bits/version.h: Regenerate.
|
||||
* include/std/memory (std::start_lifetime_as,
|
||||
std::start_lifetime_as_array): New function templates.
|
||||
* src/c++23/std.cc.in (std::start_lifetime_as,
|
||||
std::start_lifetime_as_array): Export.
|
||||
* testsuite/std/memory/start_lifetime_as/start_lifetime_as.cc: New test.
|
||||
|
||||
2025-09-17 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR libstdc++/111861
|
||||
|
||||
Reference in New Issue
Block a user