Skip to content

Commit 5d69161

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent 487bd3b commit 5d69161

File tree

8 files changed

+467
-1
lines changed

8 files changed

+467
-1
lines changed

gcc/ChangeLog

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,202 @@
1+
2025-12-16 Iain Sandoe <[email protected]>
2+
3+
* config/aarch64/aarch64.cc
4+
(aarch64_function_abi): Use checking assert.
5+
(aarch64_fndecl_abi): Test for the availability of the
6+
machine content before trying to look up the cached PCS.
7+
Use a checking assert.
8+
9+
2025-12-16 Jose E. Marchesi <[email protected]>
10+
11+
* common.opt.urls: Regenerate.
12+
13+
2025-12-16 Takayuki 'January June' Suwa <[email protected]>
14+
15+
* config/xtensa/xtensa.cc (xtensa_expand_scc_SALT):
16+
New sub-function that emits the SALT/SALTU instructions.
17+
(xtensa_expand_scc): Change the part related to the SALT/SALTU
18+
instructions to a call to the above sub-function.
19+
20+
2025-12-16 Takayuki 'January June' Suwa <[email protected]>
21+
22+
* config/xtensa/xtensa.cc
23+
(xtensa_expand_block_set_libcall,
24+
xtensa_expand_block_set_unrolled_loop,
25+
xtensa_expand_block_set_small_loop, xtensa_call_tls_desc):
26+
Change the return statement to pass the return value of
27+
end_sequence() directly without going through a variable, and
28+
remove the definition of that variable.
29+
30+
2025-12-16 Claudiu Zissulescu <[email protected]>
31+
Indu Bhagat <[email protected]>
32+
33+
* config/aarch64/aarch64.md (addg): Update pattern to use
34+
addg/subg instructions.
35+
(stg): Update pattern.
36+
(st2g): New pattern.
37+
(tag_memory): Likewise.
38+
(compose_tag): Likewise.
39+
(irq): Update pattern to accept xzr register.
40+
(gmi): Likewise.
41+
(UNSPECV_TAG_SPACE): Define.
42+
* config/aarch64/aarch64.cc (AARCH64_MEMTAG_GRANULE_SIZE):
43+
Define.
44+
(AARCH64_MEMTAG_TAG_BITSIZE): Likewise.
45+
(aarch64_override_options_internal): Error out if MTE instructions
46+
are not available.
47+
(aarch64_post_cfi_startproc): Emit .cfi_mte_tagged_frame.
48+
(aarch64_can_tag_addresses): Add MEMTAG specific handling.
49+
(aarch64_memtag_tag_bitsize): New function
50+
(aarch64_memtag_granule_size): Likewise.
51+
(aarch64_memtag_insert_random_tag): Likwise.
52+
(aarch64_memtag_add_tag): Likewise.
53+
(aarch64_memtag_extract_tag): Likewise.
54+
(aarch64_granule16_memory_address_p): Likewise.
55+
(aarch64_emit_stxg_insn): Likewise.
56+
(aarch64_memtag_tag_memory_via_loop): New definition.
57+
(aarch64_expand_tag_memory): Likewise.
58+
(aarch64_check_memtag_ops): Likewise.
59+
(TARGET_MEMTAG_TAG_BITSIZE): Likewise.
60+
(TARGET_MEMTAG_GRANULE_SIZE): Likewise.
61+
(TARGET_MEMTAG_INSERT_RANDOM_TAG): Likewise.
62+
(TARGET_MEMTAG_ADD_TAG): Likewise.
63+
(TARGET_MEMTAG_EXTRACT_TAG): Likewise.
64+
* config/aarch64/aarch64-builtins.cc
65+
(aarch64_expand_builtin_memtag): Update set tag builtin logic.
66+
* config/aarch64/aarch64-linux.h: Pass memtag-stack sanitizer
67+
specific options to the linker.
68+
* config/aarch64/aarch64-protos.h
69+
(aarch64_granule16_memory_address_p): New prototype.
70+
(aarch64_check_memtag_ops): Likewise.
71+
(aarch64_expand_tag_memory): Likewise.
72+
* config/aarch64/constraints.md (Umg): New memory constraint.
73+
(Uag): New constraint.
74+
(Ung): Likewise.
75+
* config/aarch64/predicates.md (aarch64_memtag_tag_offset):
76+
Refactor it.
77+
(aarch64_granule16_imm6): Rename from aarch64_granule16_uimm6 and
78+
refactor it.
79+
(aarch64_granule16_memory_operand): New constraint.
80+
* config/aarch64/iterators.md (MTE_PP): New code iterator to be
81+
used for mte instructions.
82+
(stg_ops): New code attributes.
83+
(st2g_ops): Likewise.
84+
(mte_name): Likewise.
85+
* config/aarch64/aarch64.opt (aarch64-tag-memory-loop-threshold):
86+
New parameter.
87+
* doc/invoke.texi: Update documentation.
88+
89+
2025-12-16 Claudiu Zissulescu <[email protected]>
90+
Indu Bhagat <[email protected]>
91+
92+
* asan.cc (handle_builtin_stack_restore): Accommodate MEMTAG
93+
sanitizer.
94+
(handle_builtin_alloca): Expand differently if MEMTAG sanitizer.
95+
(get_mem_refs_of_builtin_call): Include MEMTAG along with
96+
HWASAN.
97+
(memtag_sanitize_stack_p): New definition.
98+
(memtag_sanitize_allocas_p): Likewise.
99+
(memtag_memintrin): Likewise.
100+
(hwassist_sanitize_p): Likewise.
101+
(hwassist_sanitize_stack_p): Likewise.
102+
(report_error_func): Include MEMTAG along with HWASAN.
103+
(build_check_stmt): Likewise.
104+
(instrument_derefs): MEMTAG too does not deal with globals yet.
105+
(instrument_builtin_call): Include MEMTAG along with HWASAN.
106+
(maybe_instrument_call): Likewise.
107+
(asan_expand_mark_ifn): Likewise.
108+
(asan_expand_check_ifn): Likewise.
109+
(asan_expand_poison_ifn): Expand differently if MEMTAG sanitizer.
110+
(asan_instrument): Include MEMTAG along with HWASAN.
111+
(hwasan_emit_prologue): Expand differently if MEMTAG sanitizer.
112+
(hwasan_emit_untag_frame): Likewise.
113+
* asan.h (memtag_sanitize_stack_p): New declaration.
114+
(memtag_sanitize_allocas_p): Likewise.
115+
(hwassist_sanitize_p): Likewise.
116+
(hwassist_sanitize_stack_p): Likewise.
117+
(asan_sanitize_use_after_scope): Include MEMTAG along with
118+
HWASAN.
119+
* cfgexpand.cc (align_local_variable): Likewise.
120+
(expand_one_stack_var_at): Likewise.
121+
(expand_stack_vars): Likewise.
122+
(expand_one_stack_var_1): Likewise.
123+
(init_vars_expansion): Likewise.
124+
(expand_used_vars): Likewise.
125+
(pass_expand::execute): Likewise.
126+
* gimplify.cc (asan_poison_variable): Likewise.
127+
* internal-fn.cc (expand_HWASAN_ALLOCA_POISON): New definition.
128+
(expand_HWASAN_ALLOCA_UNPOISON): Expand differently if MEMTAG
129+
sanitizer.
130+
(expand_HWASAN_MARK): Likewise.
131+
* internal-fn.def (HWASAN_ALLOCA_POISON): Define new.
132+
* params.opt: Document new param.
133+
* sanopt.cc (pass_sanopt::execute): Include MEMTAG along with
134+
HWASAN.
135+
* gcc.cc (sanitize_spec_function): Add check for memtag-stack.
136+
* doc/tm.texi: Regenerate.
137+
* target.def (extract_tag): Update documentation.
138+
(add_tag): Likewise.
139+
(insert_random_tag): Likewise.
140+
141+
2025-12-16 Indu Bhagat <[email protected]>
142+
Claudiu Zissulescu <[email protected]>
143+
144+
* builtins.def: Adjust the macro to include the new
145+
SANTIZIE_MEMTAG_STACK.
146+
* flag-types.h (enum sanitize_code): Add new enumerator for
147+
SANITIZE_MEMTAG and SANITIZE_MEMTAG_STACK.
148+
* opts.cc (finish_options): memtag-stack sanitizer conflicts with
149+
hwaddress and address sanitizers.
150+
(sanitizer_opts): Add new memtag-stack sanitizer.
151+
(parse_sanitizer_options): memtag-stack sanitizer cannot recover.
152+
* params.opt: Add new params for memtag-stack sanitizer.
153+
* doc/invoke.texi: Update documentation.
154+
155+
2025-12-16 Claudiu Zissulescu <[email protected]>
156+
157+
* target-insns.def (compose_tag): New target instruction.
158+
* doc/md.texi (compose_tag): Add documentation.
159+
160+
2025-12-16 Claudiu Zissulescu <[email protected]>
161+
162+
* target-insns.def (tag_memory): New target instruction.
163+
* doc/md.texi (tag_memory): Add documentation.
164+
165+
2025-12-16 Jennifer Schmitz <[email protected]>
166+
167+
* config/aarch64/aarch64.md: Include olympus.md.
168+
* config/aarch64/olympus.md: New file.
169+
* config/aarch64/tuning_models/olympus.h: Add dispatch
170+
constraints and enable dispatch scheduling.
171+
172+
2025-12-16 Maxim Kuvyrkov <[email protected]>
173+
174+
* haifa-sched.cc (choose_ready): Don't require dfa_lookahead <= 0
175+
to schedule SCHED_GROUP_P insns first.
176+
177+
2025-12-16 Richard Biener <[email protected]>
178+
179+
PR ipa/122456
180+
* cgraph.cc (cgraph_edge::resolve_speculation): Handle
181+
a NULL symtab_node::get (callee_decl).
182+
183+
2025-12-16 Andrew Pinski <[email protected]>
184+
185+
PR tree-optimization/123110
186+
* tree-cfgcleanup.cc (maybe_remove_forwarder_block): Add back
187+
check for eh landing pad or non-local dest on the dest.
188+
189+
2025-12-16 Andrew Pinski <[email protected]>
190+
191+
PR tree-optimization/123111
192+
* tree-cfg.cc (ifconvertable_edge): New function.
193+
(make_forwarders_with_degenerate_phis): Add skip_ifcvtable argument,
194+
check ifconvertable_edge if skip_ifcvtable is true.
195+
* tree-cfg.h (make_forwarders_with_degenerate_phis): New argument
196+
with default of false.
197+
* tree-cfgcleanup.cc (execute_cleanup_cfg_post_optimizing): Update
198+
argument to make_forwarders_with_degenerate_phis.
199+
1200
2025-12-15 Martin Jambor <[email protected]>
2201

3202
PR ipa/107666

gcc/DATESTAMP

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20251216
1+
20251217

gcc/algol68/ChangeLog

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
2025-12-16 Jose E. Marchesi <[email protected]>
2+
3+
* a68-parser-bottom-up.cc (reduce_prelude_packet): Do not support
4+
multiple module definitions per packet.
5+
6+
2025-12-16 Jose E. Marchesi <[email protected]>
7+
8+
* lang.opt.urls: Regenerate.
9+
10+
2025-12-16 Jose E. Marchesi <[email protected]>
11+
12+
* lang.opt (-fmodules-map): New option.
13+
(-fmodules-map-file): Likewise.
14+
* a68.h: Add prototype for a68_process_module_map.
15+
* a68-imports.cc (SKIP_WHITESPACES): Define.
16+
(PARSE_BASENAME): Likewise.
17+
(PARSE_INDICANT): Likewise.
18+
(a68_process_module_map): New function.
19+
* a68-lang.cc: (a68_init): Move initialization of
20+
A68_MODULE_FILES from there...
21+
(a68_init_options): to here.
22+
(a68_handle_option): Handle OPT_fmodules_map and
23+
OPT_fmodules_map_.
24+
* a68-parser-pragmat.cc (handle_access_in_pragmat): Normalize
25+
module indicants to upper case.
26+
* ga68.texi (Module search options): New section.
27+
28+
2025-12-16 Jose E. Marchesi <[email protected]>
29+
30+
* a68.h: Prototypes for a68_get_file_size and a68_file_read.
31+
* a68-parser-scanner.cc (a68_file_size): New function.
32+
(a68_file_read): Renamed from io_read.
33+
(get_source_size): Deleted function.
34+
(include_files): Use a68_file_size and a68_file_read.
35+
36+
2025-12-16 Mohammad-Reza Nabipoor <[email protected]>
37+
38+
* a68-imports.cc (dump_encoded_mode): Replace "basic" with
39+
"string".
40+
141
2025-12-15 Mohammad-Reza Nabipoor <[email protected]>
242

343
* ga68-exports.pk (ga68_text_reloc_64): Renamed and

gcc/analyzer/ChangeLog

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
2025-12-16 David Malcolm <[email protected]>
2+
3+
PR analyzer/123136
4+
* engine.cc
5+
(strongly_connected_components::strongly_connected_components):
6+
Consistently use size_t.
7+
(strongly_connected_components::dump): Likewise.
8+
(strongly_connected_components::to_json): Likewise.
9+
(exploded_graph::print_bar_charts): Likewise.
10+
(exploded_path::feasible_p): Remove unused locals.
11+
(exploded_graph_annotator::exploded_graph_annotator): Use size_t
12+
for iterator var.
13+
(impl_run_checkers): Drop logger param of engine ctor.
14+
* ops.cc (phis_for_edge_op::maybe_make): Drop unused param of
15+
phis_for_edge_op ctor.
16+
(phis_for_edge_op::phis_for_edge_op): Likewise.
17+
* ops.h (operation::~operation): Make virtual.
18+
(control_flow_op::dyn_cast_control_flow_op): Add "final override".
19+
(phis_for_edge_op::phis_for_edge_op): Drop unused param.
20+
(phis_for_edge_op::m_cfg_in_edge): Drop unused field.
21+
* region-model.cc (engine::engine): Drop unused "logger" param.
22+
* region-model.h (engine::engine): Likewise.
23+
* supergraph-fixup-locations.cc (location_fixer::location_fixer):
24+
Drop m_sg field.
25+
(location_fixer::m_sg): Drop unused field.
26+
(location_fixer::m_purge_map): Drop unused field.
27+
* supergraph-sorting.cc (class sorting_worklist): Drop unused
28+
m_worklist field.
29+
30+
2025-12-16 David Malcolm <[email protected]>
31+
32+
* supergraph.cc (supernode::dump_dot): Escape filename.
33+
34+
2025-12-16 David Malcolm <[email protected]>
35+
36+
PR analyzer/122003
37+
* checker-event.cc (return_event::get_program_state): New.
38+
* checker-event.h (return_event::get_program_state): New decl.
39+
140
2025-12-15 David Malcolm <[email protected]>
241

342
PR analyzer/123085

gcc/testsuite/ChangeLog

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,96 @@
1+
2025-12-16 Jose E. Marchesi <[email protected]>
2+
3+
PR algol68/123131
4+
* algol68/compile/modules/compile.exp: Pass module include path
5+
via extra_flags to algol68-dg-runtest.
6+
* algol68/execute/modules/execute.exp: Pass module include path
7+
via algol68_compile_args.
8+
* lib/algol68-dg.exp (MODULES_OPTIONS): Delete.
9+
(algol68-dg-runtest): Do not use MODULE_OPTIONS.
10+
* lib/algol68-torture.exp (BUILT_MODULES_DIR): Delete.
11+
(algol68-torture-execute): Do not use BUILT_MODULES_DIR.
12+
13+
2025-12-16 David Malcolm <[email protected]>
14+
15+
PR diagnostics/123142
16+
* gcc.dg/plugin/diagnostic-test-graphs-html.c: Add
17+
dg-require-dot directive.
18+
19+
2025-12-16 Jose E. Marchesi <[email protected]>
20+
21+
* algol68/compile/error-compile-unknown-tag-1.a68: Use a single
22+
module per packet.
23+
* algol68/compile/error-module-coercions-1.a68: Likewise.
24+
* algol68/compile/error-module-ranges-1.a68: Likewise.
25+
* algol68/compile/module-2.a68: Likewise.
26+
* algol68/compile/module-pub-mangling-1.a68: Likewise.
27+
* algol68/compile/module-pub-mangling-2.a68: Likewise.
28+
* algol68/compile/module-pub-mangling-3.a68: Likewise.
29+
* algol68/compile/module-pub-mangling-4.a68: Likewise.
30+
* algol68/compile/module-pub-mangling-5.a68: Likewise.
31+
* algol68/compile/module-pub-mangling-6.a68: Likewise.
32+
* algol68/compile/warning-module-hidding-1.a68: Likewise.
33+
34+
2025-12-16 Jose E. Marchesi <[email protected]>
35+
36+
* algol68/execute/modules/Modules20.map: New file.
37+
* algol68/execute/modules/module-bar.a68: New file.
38+
* algol68/execute/modules/module-foo.a68: New file.
39+
* algol68/execute/modules/program-19.a68: New file.
40+
* algol68/execute/modules/program-20.a68: New file.
41+
42+
2025-12-16 Richard Biener <[email protected]>
43+
44+
PR testsuite/123137
45+
* g++.dg/vect/pr64410.cc: Add -mfpmath=sse -msse on x86.
46+
47+
2025-12-16 Rainer Orth <[email protected]>
48+
49+
* gcc.target/i386/shift-gf2p8affine-2.c: Skip on Solaris
50+
without gas.
51+
52+
2025-12-16 Claudiu Zissulescu <[email protected]>
53+
Indu Bhagat <[email protected]>
54+
55+
* gcc.target/aarch64/memtag/alloca-1.c: New test.
56+
* gcc.target/aarch64/memtag/alloca-2.c: New test.
57+
* gcc.target/aarch64/memtag/alloca-3.c: New test.
58+
* gcc.target/aarch64/memtag/arguments-1.c: New test.
59+
* gcc.target/aarch64/memtag/arguments-2.c: New test.
60+
* gcc.target/aarch64/memtag/arguments-3.c: New test.
61+
* gcc.target/aarch64/memtag/arguments-4.c: New test.
62+
* gcc.target/aarch64/memtag/arguments.c: New test.
63+
* gcc.target/aarch64/memtag/basic-1.c: New test.
64+
* gcc.target/aarch64/memtag/basic-3.c: New test.
65+
* gcc.target/aarch64/memtag/basic-struct.c: New test.
66+
* gcc.target/aarch64/memtag/large-array.c: New test.
67+
* gcc.target/aarch64/memtag/local-no-escape.c: New test.
68+
* gcc.target/aarch64/memtag/memtag.exp: New file.
69+
* gcc.target/aarch64/memtag/no-sanitize-attribute.c: New test.
70+
* gcc.target/aarch64/memtag/value-init.c: New test.
71+
* gcc.target/aarch64/memtag/vararray-gimple.c: New test.
72+
* gcc.target/aarch64/memtag/vararray.c: New test.
73+
* gcc.target/aarch64/memtag/zero-init.c: New test.
74+
* gcc.target/aarch64/memtag/texec-1.c: New test.
75+
* gcc.target/aarch64/memtag/texec-2.c: New test.
76+
* gcc.target/aarch64/memtag/texec-3.c: New test.
77+
* gcc.target/aarch64/memtag/vla-1.c: New test.
78+
* gcc.target/aarch64/memtag/vla-2.c: New test.
79+
* lib/target-supports.exp (check_effective_target_aarch64_mte):
80+
New function.
81+
* gcc.target/aarch64/memtag/cfi-mte-memtag-frame-1.c: New file.
82+
* gcc.target/aarch64/memtag/mte-sig.h: New file.
83+
84+
2025-12-16 Claudiu Zissulescu <[email protected]>
85+
Indu Bhagat <[email protected]>
86+
87+
* gcc.target/aarch64/acle/memtag_1.c: Update test.
88+
89+
2025-12-16 Andrew Pinski <[email protected]>
90+
91+
PR tree-optimization/123110
92+
* gcc.dg/pr123110-1.c: New test.
93+
194
2025-12-15 Martin Jambor <[email protected]>
295

396
* gcc.dg/lto/fnptr-from-rec-1_0.c: New test.

libga68/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025-12-16 Pietro Monteiro <[email protected]>
2+
3+
* ga68-unistr.c (_libga68_u32_cmp): Add `static' specifier.
4+
* ga68.h (_libga68_u32_cmp): Remove prototype.
5+
16
2025-11-30 Jose E. Marchesi <[email protected]>
27

38
* Makefile.am: New file.

0 commit comments

Comments
 (0)