Skip to content

Commit ea7fa6b

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent 4da48d6 commit ea7fa6b

File tree

13 files changed

+868
-1
lines changed

13 files changed

+868
-1
lines changed

ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2025-10-09 Prathamesh Kulkarni <prathameshk@nvidia.com>
2+
Matthew Malcolmson <mmalcolmson@nvidia.com>
3+
4+
PR driver/81358
5+
* Makefile.def: Add no_atomic=true for libraries that don't depend on
6+
libatomic.
7+
* Makefile.tpl: Export TARGET_CONFIGDIRS and create rule to
8+
add dependencies for libatomic.
9+
* configure.ac: Add libatomic to bootstrap_target_libs.
10+
* Makefile.in: Regenerate.
11+
* configure: Regenerate.
12+
113
2025-10-02 H.J. Lu <hjl.tools@gmail.com>
214

315
* Makefile.in: Regenerated.

gcc/ChangeLog

Lines changed: 423 additions & 0 deletions
Large diffs are not rendered by default.

gcc/DATESTAMP

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20251009
1+
20251010

gcc/analyzer/ChangeLog

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,121 @@
1+
2025-10-09 David Malcolm <dmalcolm@redhat.com>
2+
3+
* access-diagram.cc: Update for renaming of fields of binding_key.
4+
* ana-state-to-diagnostic-state.cc: Likewise.
5+
* bounds-checking.cc: Likewise. Add store_manager param.
6+
* call-summary.cc: Likewise.
7+
* diagnostic-manager.cc: Drop includes of "basic-block.h" and
8+
"gimple.h".
9+
* engine.cc: Likewise.
10+
* infinite-recursion.cc: Update for renaming of fields of
11+
binding_key.
12+
* kf.cc: Pass store_manager to mark_as_escaped.
13+
* program-state.cc: Update for renaming of fields of binding_key.
14+
* region-model-asm.cc: Pass store manager to
15+
get_or_create_cluster.
16+
* region-model-reachability.cc: Likewise. Update for renaming of
17+
fields of binding_key.
18+
* region-model.cc: Likewise.
19+
(struct bad_pointer_finder): Drop.
20+
(region_model::poison_any_pointers_to_descendents): Implement
21+
iteration directly, rather than using store::for_each_binding.
22+
Drop return value.
23+
(selftest::test_struct): Set field in order y then x. Verify
24+
that iteration yields bindings in order x then y.
25+
* region-model.h
26+
(region_model::poison_any_pointers_to_descendents): Drop return
27+
value.
28+
* region.cc: Pass store manager to get_or_create_cluster.
29+
* store.cc (binding_map::const_iterator::operator==): New.
30+
(binding_map::const_iterator::operator++): New.
31+
(binding_map::const_iterator::operator*): New.
32+
(binding_map::iterator::operator==): New.
33+
(binding_map::iterator::operator++): New.
34+
(binding_map::iterator::operator*): New.
35+
(binding_map::binding_map): Reimplement.
36+
(binding_map::operator=): Reimplement.
37+
(binding_map::operator==): Reimplement.
38+
(binding_map::hash): Reimplement.
39+
(binding_map::get): Reimplement.
40+
(binding_map::put): Reimplement.
41+
(binding_map::overwrite): New.
42+
(binding_map::remove): New.
43+
(binding_map::begin): New.
44+
(binding_map::end): New.
45+
(binding_map::elements): New.
46+
(binding_map::dump_to_pp): Reimplement.
47+
(binding_map::to_json): Iterate over *this directly; drop sort.
48+
(binding_map::add_to_tree_widget): Likewise.
49+
(binding_map::cmp): Reimplement.
50+
(binding_map::get_overlapping_bindings): Update for field
51+
renamings.
52+
(binding_cluster::binding_cluster): Add store_mgr param.
53+
(binding_cluster::validate): Update for field renamings.
54+
(binding_cluster::bind_compound_sval): Likewise.
55+
(binding_cluster::purge_state_involving): Likewise.
56+
(binding_cluster::maybe_get_compound_binding): Likewise. Add
57+
store_mgr param.
58+
(binding_cluster::can_merge_p): Likewise. Update for new
59+
implementation.
60+
(binding_cluster::make_unknown_relative_to): Likewise.
61+
(binding_cluster::on_unknown_fncall): Likewise.
62+
(binding_cluster::on_asm): Likewise.
63+
(binding_cluster::get_representative_path_vars): Likewise.
64+
(store::set_value): Likewise.
65+
(store::on_maybe_live_values): Pass around store_manager.
66+
(store::fill_region): Likewise.
67+
(store::mark_region_as_unknown): Likewise.
68+
(store::get_or_create_cluster): Likewise.
69+
(store::can_merge_p): Likewise.
70+
(store::mark_as_escaped): Likewise.
71+
(store::canonicalize): Update for field renamings.
72+
(store::loop_replay_fixup): Likewise. Pass around store_manager.
73+
(store::replay_call_summary_cluster): Likewise.
74+
(selftest::test_binding_map_ops): New.
75+
(selftest::analyzer_store_cc_tests): Call it.
76+
* store.h (class binding_map): Reimplement.
77+
(binding_map::map_t): Drop.
78+
(struct binding_map::symbolic_binding): New.
79+
(binding_map::concrete_bindings_t): New.
80+
(binding_map::symbolic_bindings_t): New.
81+
(struct binding_map::bindings_pair): New.
82+
(class binding_map::const_iterator): New.
83+
(class binding_map::iterator): New.
84+
(binding_map::get): Reimplement.
85+
(binding_map::overwrite): New decl.
86+
(binding_map::remove): Reimplement.
87+
(binding_map::clear): Reimplement.
88+
(binding_map::put): Reimplement.
89+
(binding_map::empty_p): Reimplement.
90+
(binding_map::begin): Reimplement.
91+
(binding_map::end): Reimplement.
92+
(binding_map::elements): Reimplement.
93+
(binding_map::m_map): Drop field.
94+
(binding_map::m_store_mgr): New field.
95+
(binding_map::m_concrete): New field.
96+
(binding_map::m_symbolic): New field.
97+
(BindingVisitor): Drop.
98+
(binding_cluster::map_t): Drop.
99+
(binding_cluster::iterator_t): Reimplement.
100+
(binding_cluster::const_iterator_t): New.
101+
(binding_cluster::binding_cluster): Add store_mgr param.
102+
(binding_cluster::for_each_value): Reimplement.
103+
(binding_cluster::empty_p): Reimplement.
104+
(binding_cluster::for_each_binding): Drop.
105+
(binding_cluster::begin): Split into const/non-const overloads.
106+
(binding_cluster::get_map): Add non-const overload.
107+
(store::get_or_create_cluster): Add store_mgr param.
108+
(store::mark_as_escaped): Likewise.
109+
(store::for_each_binding): Drop.
110+
(store::on_maybe_live_values): Add store_mgr param.
111+
* svalue.cc (compound_svalue::compound_svalue): Reimplement.
112+
(compound_svalue::accept): Likewise.
113+
(compound_svalue::calc_complexity): Likewise.
114+
(compound_svalue::maybe_fold_bits_within): Likewise.
115+
* svalue.h (compound_svalue::const_iterator_t): New.
116+
(compound_svalue::begin): Split into const/non-const overloads.
117+
(compound_svalue::end): Likewise.
118+
1119
2025-10-03 David Malcolm <dmalcolm@redhat.com>
2120

3121
Revert:

gcc/c-family/ChangeLog

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
2025-10-09 David Faust <david.faust@oracle.com>
2+
3+
* c-attribs.cc (c_common_attribute_table): Add btf_decl_tag and
4+
btf_type_tag attributes.
5+
(handle_btf_decl_tag_attribute): New handler for btf_decl_tag.
6+
(hanlde_btf_type_tag_attribute): New handler for btf_type_tag.
7+
(btf_tag_args_ok): Helper for new attribute handlers.
8+
9+
2025-10-09 Jakub Jelinek <jakub@redhat.com>
10+
11+
* c-common.h (D_CXX26): Define.
12+
* c-common.cc (c_common_resword): Add D_CXX26 to
13+
__builtin_c23_va_start flags, mention D_CXX26 in comment.
14+
15+
2025-10-09 Jakub Jelinek <jakub@redhat.com>
16+
17+
PR c/122188
18+
* c-gimplify.cc (c_gimplify_expr): Also gimplify the second operand
19+
before the COND_EXPR and use in COND_EXPR result of gimplification.
20+
21+
2025-10-09 David Malcolm <dmalcolm@redhat.com>
22+
23+
* c-opts.cc: Define INCLUDE_VECTOR.
24+
125
2025-10-08 Jakub Jelinek <jakub@redhat.com>
226

327
PR c/122188

gcc/cp/ChangeLog

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
2025-10-09 Jakub Jelinek <jakub@redhat.com>
2+
3+
* cp-tree.h (cp_build_function_type): Declare.
4+
* lex.cc: Implement va_start changes from P3348R4 - C++26 should
5+
refer to C23 not C17 paper.
6+
(init_reswords): Set D_CXX26 in mask for C++23 and older.
7+
* parser.cc (cp_parser_primary_expression): Handle RID_C23_VA_START.
8+
(cp_parser_builtin_c23_va_start): New function.
9+
* cp-objcp-common.cc (names_builtin_p): Likewise.
10+
* decl.cc (grokfndecl, check_function_type): Pass
11+
TYPE_NO_NAMED_ARGS_STDARG_P as last arg to build_function_type.
12+
(grokdeclarator, static_fn_type): Use cp_build_function_type instead
13+
of build_function_type.
14+
* typeck.cc (merge_types): Likewise.
15+
(structural_comptypes): Return false for TYPE_NO_NAMED_ARGS_STDARG_P
16+
differences.
17+
* lambda.cc (maybe_add_lambda_conv_op): Use cp_build_function_type
18+
instead of build_function_type.
19+
* tree.cc (cp_build_function_type): New function.
20+
(strip_typedefs): Pass TYPE_NO_NAMED_ARGS_STDARG_P as last arg to
21+
build_function_type.
22+
* name-lookup.cc (push_local_extern_decl_alias): Likewise.
23+
* module.cc (trees_in::tree_node): Use cp_build_function_type instead
24+
of build_function_type.
25+
* pt.cc (copy_default_args_to_explicit_spec,
26+
rebuild_function_or_method_type, build_deduction_guide): Likewise.
27+
(alias_ctad_tweaks): Pass TYPE_NO_NAMED_ARGS_STDARG_P as last arg to
28+
build_function_type.
29+
* decl2.cc (change_return_type, cp_reconstruct_complex_type):
30+
Likewise.
31+
32+
2025-10-09 Egas Ribeiro <egas.g.ribeiro@tecnico.ulisboa.pt>
33+
34+
PR c++/116477
35+
* semantics.cc (finish_call_expr): Move concept_check_p diagnostic
36+
before processing_template_decl check to catch errors earlier.
37+
38+
2025-10-09 David Malcolm <dmalcolm@redhat.com>
39+
40+
* error.cc: Define INCLUDE_VECTOR.
41+
142
2025-10-08 Jason Merrill <jason@redhat.com>
243

344
* init.cc (build_new_1): Also clobber for non-placement new.

gcc/fortran/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2025-10-09 Harald Anlauf <anlauf@gmx.de>
2+
3+
PR fortran/122206
4+
* trans-types.cc (gfc_get_function_type): Do not clobber an
5+
existing procedure interface.
6+
7+
2025-10-09 David Malcolm <dmalcolm@redhat.com>
8+
9+
* error.cc: Define INCLUDE_VECTOR.
10+
111
2025-10-08 Harald Anlauf <anlauf@gmx.de>
212

313
PR fortran/49111

gcc/testsuite/ChangeLog

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,167 @@
1+
2025-10-10 YunQiang Su <yunqiang@isrc.iscas.ac.cn>
2+
3+
Revert:
4+
2025-10-10 Jie Mei <jie.mei@oss.cipunited.com>
5+
6+
* gcc.target/mips/mips16e2-cache.c: Use isa_rev>=2 instead of
7+
-mips32r2 and remove -mips16 option.
8+
* gcc.target/mips/mips16e2-cmov.c: Add isa_rev>=2 and remove
9+
-mips16 option.
10+
* gcc.target/mips/mips16e2-gp.c: Same as above.
11+
* gcc.target/mips/mips16e2.c: Same as above.
12+
13+
2025-10-10 YunQiang Su <yunqiang@isrc.iscas.ac.cn>
14+
15+
Revert:
16+
2025-09-27 YunQiang Su <syq@gcc.gnu.org>
17+
18+
* gcc.target/mips/mips16e2.c: Use isa_rev=2 instead of >=2.
19+
* gcc.target/mips/mips16e2-cache.c: Ditto.
20+
* gcc.target/mips/mips16e2-cmov.c: Ditto.
21+
* gcc.target/mips/mips16e2-gp.c: Ditto.
22+
23+
2025-10-09 David Faust <david.faust@oracle.com>
24+
25+
* gcc.target/bpf/core-btf-tag-1.c: New test.
26+
* gcc.target/bpf/core-btf-tag-2.c: New test.
27+
28+
2025-10-09 David Faust <david.faust@oracle.com>
29+
30+
* gcc.dg/debug/btf/btf-decl-tag-1.c: New test.
31+
* gcc.dg/debug/btf/btf-decl-tag-2.c: New test.
32+
* gcc.dg/debug/btf/btf-decl-tag-3.c: New test.
33+
* gcc.dg/debug/btf/btf-decl-tag-4.c: New test.
34+
* gcc.dg/debug/btf/btf-type-tag-1.c: New test.
35+
* gcc.dg/debug/btf/btf-type-tag-2.c: New test.
36+
* gcc.dg/debug/btf/btf-type-tag-3.c: New test.
37+
* gcc.dg/debug/btf/btf-type-tag-4.c: New test.
38+
* gcc.dg/debug/btf/btf-type-tag-c2x-1.c: New test.
39+
40+
2025-10-09 David Faust <david.faust@oracle.com>
41+
42+
* gcc.dg/debug/ctf/ctf-decl-tag-1.c: New test.
43+
* gcc.dg/debug/ctf/ctf-type-tag-1.c: New test.
44+
45+
2025-10-09 David Faust <david.faust@oracle.com>
46+
47+
* gcc.dg/debug/dwarf2/dwarf-btf-decl-tag-1.c: New test.
48+
* gcc.dg/debug/dwarf2/dwarf-btf-decl-tag-2.c: New test.
49+
* gcc.dg/debug/dwarf2/dwarf-btf-decl-tag-3.c: New test.
50+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-1.c: New test.
51+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-2.c: New test.
52+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-3.c: New test.
53+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-4.c: New test.
54+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-5.c: New test.
55+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-6.c: New test.
56+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-7.c: New test.
57+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-8.c: New test.
58+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-9.c: New test.
59+
* gcc.dg/debug/dwarf2/dwarf-btf-type-tag-10.c: New test.
60+
61+
2025-10-09 David Faust <david.faust@oracle.com>
62+
63+
* gcc.dg/attr-btf-decl-tag-1.c: New test.
64+
* gcc.dg/attr-btf-decl-tag-2.c: New test.
65+
* gcc.dg/attr-btf-type-tag-1.c: New test.
66+
* gcc.dg/attr-btf-type-tag-2.c: New test.
67+
* gcc.dg/attr-btf-type-tag-3.c: New test.
68+
69+
2025-10-09 Jakub Jelinek <jakub@redhat.com>
70+
71+
* c-c++-common/cpp/has-builtin-4.c: Expect
72+
__has_builtin (__builtin_c23_va_start) == 1 also for C++26.
73+
* c-c++-common/Wvarargs.c (foo3): Don't expect undefined behavior
74+
warning for C++26.
75+
* g++.dg/cpp26/stdarg1.C: New test.
76+
* g++.dg/cpp26/stdarg2.C: New test.
77+
* g++.dg/cpp26/stdarg3.C: New test.
78+
* g++.dg/cpp26/stdarg4.C: New test.
79+
* g++.dg/cpp26/stdarg5.C: New test.
80+
* g++.dg/cpp26/stdarg6.C: New test.
81+
* g++.dg/cpp26/stdarg7.C: New test.
82+
* g++.dg/cpp26/stdarg8.C: New test.
83+
* g++.dg/cpp26/stdarg9.C: New test.
84+
* g++.dg/opt/pr60849.C (foo): Add explicit cast.
85+
86+
2025-10-09 Egas Ribeiro <egas.g.ribeiro@tecnico.ulisboa.pt>
87+
88+
PR c++/116477
89+
* g++.dg/cpp2a/concepts-pr116477.C: New test.
90+
91+
2025-10-09 Georg-Johann Lay <avr@gjlay.de>
92+
93+
PR target/122222
94+
* gcc.target/avr/pr122222-sitod.c: New test.
95+
96+
2025-10-09 Georg-Johann Lay <avr@gjlay.de>
97+
98+
PR target/122220
99+
* gcc.target/avr/pr122220.c: New test.
100+
101+
2025-10-09 David Malcolm <dmalcolm@redhat.com>
102+
103+
* gcc.dg/plugin/analyzer_cpython_plugin.cc: Replace INCLUDE_
104+
defines with include of include "analyzer/common.h". Update
105+
for changes to binding_pair.
106+
* gcc.dg/plugin/analyzer_kernel_plugin.cc: Likewise.
107+
* gcc.dg/plugin/analyzer_known_fns_plugin.cc: Likewise.
108+
109+
2025-10-09 Dimitar Dimitrov <dimitar@dinux.eu>
110+
111+
* gcc.dg/tree-ssa/cselim-2.c: Pass -ftree-cselim option.
112+
113+
2025-10-09 Harald Anlauf <anlauf@gmx.de>
114+
115+
PR fortran/122206
116+
* gfortran.dg/interface_abstract_6.f90: New test.
117+
118+
2025-10-09 Jakub Jelinek <jakub@redhat.com>
119+
120+
PR c/122188
121+
* gcc.dg/torture/pr122188.c: New test.
122+
123+
2025-10-09 David Malcolm <dmalcolm@redhat.com>
124+
125+
* gcc.dg/plugin/diagnostic_group_plugin.cc: Define INCLUDE_VECTOR.
126+
* gcc.dg/plugin/diagnostic_plugin_test_show_locus.cc: Likewise.
127+
* gcc.dg/plugin/location_overflow_plugin.cc: Likewise.
128+
129+
2025-10-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
130+
131+
* gcc.target/xtensa/constsynth_2insns.c,
132+
gcc.target/xtensa/constsynth_3insns.c,
133+
gcc.target/xtensa/constsynth_double.c: Remove due to outdated.
134+
* gcc.target/xtensa/constsynthV2_O2_costs0.c,
135+
gcc.target/xtensa/constsynthV2_O2_costs5.c,
136+
gcc.target/xtensa/constsynthV2_Os.c: New.
137+
138+
2025-10-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
139+
140+
* gcc.target/xtensa/BGEUI-BLTUI-32k-64k.c:
141+
Disable optimizations and modify to also verify RTL dump in the
142+
"expand" pass.
143+
144+
2025-10-09 Richard Biener <rguenther@suse.de>
145+
146+
PR tree-optimization/122212
147+
* gcc.dg/torture/pr122212.c: New testcase.
148+
149+
2025-10-09 Georg-Johann Lay <avr@gjlay.de>
150+
151+
PR target/122210
152+
* gcc.target/avr/dtofx.c: New test.
153+
154+
2025-10-09 Georg-Johann Lay <avr@gjlay.de>
155+
156+
PR target/122210
157+
* gcc.target/avr/fxtod.c: New test.
158+
159+
2025-10-09 Kito Cheng <kito.cheng@sifive.com>
160+
161+
* gcc.target/riscv/rvv/vls-type-rvv-max-lmul.c: New test.
162+
* gcc.target/riscv/rvv/vls-type-rvv-max-lmul-autovec.c: New
163+
test.
164+
1165
2025-10-08 Joseph Myers <josmyers@redhat.com>
2166

3167
* gcc.dg/c11-generic-4.c, gcc.dg/c23-generic-5.c,

0 commit comments

Comments
 (0)