Skip to content

Commit ebfd938

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent 9e6ce12 commit ebfd938

9 files changed

Lines changed: 471 additions & 1 deletion

File tree

gcc/ChangeLog

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,91 @@
1+
2026-06-16 H.J. Lu <hjl.tools@gmail.com>
2+
3+
PR c/125226
4+
* targhooks.cc (default_stack_protect_guard): If UINTPTR_TYPE
5+
isn't NULL, call unsigned_integer_tree_node_for_type with
6+
UINTPTR_TYPE to get unsigned integer type for uintptr_t.
7+
* tree.cc (unsigned_integer_tree_node_for_type): New function.
8+
(build_common_tree_nodes): Call unsigned_integer_tree_node with
9+
SIZE_TYPE to get unsigned integer type for size_t.
10+
* tree.h (unsigned_integer_tree_node_for_type): New prototype.
11+
12+
2026-06-16 Jakub Jelinek <jakub@redhat.com>
13+
14+
* doc/invoke.texi (-std=c++2d, -std=c++29, -std=gnu++2d,
15+
-std=gnu++29): Document.
16+
(-std=c++2c, -std=c++26, -std=gnu++2c, -std=gnu++26): Tweak so that
17+
26 comes first and is meant as the supported option.
18+
* doc/cpp.texi: Adjust expected __cplusplus value for -std=c++26,
19+
document value for -std=c++29.
20+
* dwarf2out.cc (highest_c_language): Handle C++29.
21+
(gen_compile_unit_die): Likewise. Adjust lversion for C++26.
22+
23+
2026-06-16 Robin Dapp <rdapp.gcc@gmail.com>
24+
25+
PR tree-optimization/125516
26+
* tree-vect-data-refs.cc (vect_gather_scatter_fn_p): Set
27+
supported_offset_vectype.
28+
* tree-vect-stmts.cc (vectorizable_store): Skip nop conversions
29+
when costing scatters.
30+
(vectorizable_load): Ditto for gathers.
31+
32+
2026-06-16 Abhishek Kaushik <abhishek.kaushik@arm.com>
33+
34+
* tree-ssa-loop-niter.cc (determine_value_range): Query ranger
35+
for integral expressions, not only SSA_NAMEs. Query ranges on the
36+
loop preheader edge.
37+
38+
2026-06-16 Kyrylo Tkachov <ktkachov@nvidia.com>
39+
40+
* tree-vect-data-refs.cc (vect_slp_analyze_data_ref_dependence):
41+
Return a three-way tree result (chrec_known when independent,
42+
chrec_dont_know when the affine test cannot analyze the pair, the
43+
dependence otherwise) instead of a bool.
44+
(vect_slp_analyze_store_dependences): Resort to the alias oracle on
45+
an unknown dependence as well as on a missing data reference; a
46+
store is being moved so do not use TBAA.
47+
(vect_slp_analyze_load_dependences): Likewise on the load-hoist
48+
paths, using TBAA as a load is being hoisted; also record that the
49+
ao_ref has been initialized in check_hoist.
50+
51+
2026-06-16 Robin Dapp <rdapp.gcc@gmail.com>
52+
53+
PR target/125670
54+
* config/riscv/autovec-opt.md: Use avl_type operand number.
55+
56+
2026-06-16 Richard Biener <rguenther@suse.de>
57+
58+
PR tree-optimization/125730
59+
* tree-ssa-loop-ivopts.cc (alloc_iv): Do not convert pointer
60+
IVs to unsigned before canonicalizing.
61+
62+
2026-06-16 Richard Biener <rguenther@suse.de>
63+
64+
* fold-const.cc (fold_plusminus_mult_expr): Use
65+
wide_int for the case of two INTEGER_CST multiplicands.
66+
67+
2026-06-16 Kyrylo Tkachov <ktkachov@nvidia.com>
68+
69+
PR target/125794
70+
* config/aarch64/aarch64.cc (aarch64_simd_valid_imm): Do not fall
71+
through to the replicating SVE immediate forms for a 128-bit
72+
Advanced SIMD constant whose high 64 bits are zero (output_width
73+
!= 0).
74+
75+
2026-06-16 Avinash Jayakar <avinashd@linux.ibm.com>
76+
77+
PR tree-optimization/59429
78+
* match.pd: New match patterns to recognize spaceship variants.
79+
* tree-ssa-math-opts.cc (gimple_spaceship): Match function declaration.
80+
(match_spaceship): New function to recognize spaceship given phi node.
81+
(math_opts_dom_walker::after_dom_children): Add match_spaceship check.
82+
83+
2026-06-16 H.J. Lu <hjl.tools@gmail.com>
84+
85+
PR target/125614
86+
* config/i386/i386-features.cc (replace_vector_const): Replace
87+
gen_rtx_SUBREG with gen_lowpart.
88+
189
2026-06-15 Roger Sayle <roger@nextmovesoftware.com>
290

391
* config/i386/i386.cc (ix86_insn_cost): Add a suitable penalty

gcc/DATESTAMP

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20260616
1+
20260617

gcc/algol68/ChangeLog

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2026-06-16 Jose E. Marchesi <jemarch@gnu.org>
2+
3+
* a68-imports.cc (a68_replace_equivalent_mode): Get a moif and
4+
check extracts.
5+
(a68_open_packet): Fix deduplication of in-moif modes and move
6+
extract replacement code to a68_replace_equivalent_mode.
7+
* a68-low-moids.cc (a68_lower_moids): Check that all known modes
8+
have an associated ctype as part of the sanity checks.
9+
10+
2026-06-16 Gerald Pfeifer <gerald@pfeifer.com>
11+
12+
* README: Avoid redirect for web link to Algol 68 Jargon File.
13+
* ga68-coding-guidelines.texi (Top): Ditto.
14+
115
2026-06-15 Jose E. Marchesi <jemarch@gnu.org>
216

317
* a68-parser-taxes.cc (attr_descr): New function.

gcc/c-family/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2026-06-16 Jakub Jelinek <jakub@redhat.com>
2+
3+
* c-common.h (enum cxx_dialect): Add cxx29.
4+
* c-opts.cc (set_std_cxx29): New function.
5+
(c_common_handle_option): Handle -std=c++2d, -std=c++29, -std=gnu++2d
6+
and -std=gnu++29.
7+
* c.opt (std=c++2d, std=c++29, std=gnu++2d, std=gnu++29): New.
8+
(std=c++2c, std=c++26, std=gnu++2c, std=gnu++26): Move Undocumented
9+
to the 2c cases, tweak description.
10+
111
2026-06-08 Zhou Qiankang <wszqkzqk@qq.com>
212

313
PR c++/125642

gcc/cobol/ChangeLog

Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,231 @@
1+
2026-06-16 Robert Dubner <rdubner@symas.com>
2+
3+
* compare.cc (numeric_alpha_compare): Use tree_type_from_refer().
4+
* genapi.cc (file_static_variable): Eliminate function.
5+
(psa_FldLiteralN): Use tree_type_from_field.
6+
(parser_accept_command_line): Eliminate file-static variables.
7+
(parser_accept_envar): Likewise.
8+
(parser_assign): Likewise.
9+
(parser_initialize_table): Likewise.
10+
(parser_see_stop_run): Likewise.
11+
(parser_file_write): Likewise.
12+
(parser_file_start): Likewise.
13+
(inspect_tally): Likewise.
14+
(inspect_replacing): Likewise.
15+
(field_increment): Likewise.
16+
(parser_match_exception): Likewise.
17+
* genapi.h (file_static_variable): Eliminate function.
18+
* genmath.cc (largest_binary_term): Use tree_type_from_refer().
19+
(fast_add): Likewise.
20+
(fast_subtract): Likewise.
21+
(fast_multiply): Likewise.
22+
(fast_divide): Likewise.
23+
(parser_divide): Likewise.
24+
* genutil.cc (tree_type_from_digits): Eliminate function.
25+
(get_integer_value): Eliminate file-static variables.
26+
(get_data_offset): Eliminate file-static variables.
27+
(get_binary_value_tree): Eliminate file-static variables.
28+
(tree_type_from_field): Updated function.
29+
(tree_type_from_refer): New function.
30+
(scale_by_power_of_ten): Eliminate file-static variables.
31+
(tree_type_from_size): Eliminate function.
32+
(copy_little_endian_into_place): Improve logic.
33+
(build_array_of_size_t): Eliminate file-static variables.
34+
(refer_refmod_length): Likewise.
35+
(refer_fill_depends): Likewise.
36+
(refer_size): Likewise.
37+
(refer_size_source): Likewise.
38+
* genutil.h (tree_type_from_digits): Eliminate function.
39+
(tree_type_from_size): Eliminate function.
40+
(tree_type_from_refer): New function.
41+
* lang.opt: Updated documentation.
42+
* lang.opt.urls: Updated documentation.
43+
* move.cc (digits_to_bytes): Eliminate function.
44+
(get_bytes_needed): Likewise.
45+
(mh_source_is_literalN): Eliminate file-static variables; use
46+
tree_type_from_refer().
47+
(mh_numeric_display): Likewise.
48+
(mh_little_endian): tree_type_from_refer().
49+
(mh_numdisp_to_packed): Use get_location() function.
50+
(mh_packed_to_packed): Likewise.
51+
(mh_packed_to_numdisp): Likewise.
52+
(move_helper): Likewise.
53+
54+
2026-06-16 James K. Lowden <jklowden@cobolworx.com>
55+
56+
* Make-lang.in: Report Bison version.
57+
* cbldiag.h (defined): Define possibly missing macros.
58+
(ATTRIBUTE_GCOBOL_DIAG): Define if missing.
59+
(ATTRIBUTE_PRINTF_1): Same.
60+
(ATTRIBUTE_PRINTF_3): Same.
61+
(yyerror): Remove.
62+
(struct YYLTYPE): Remove.
63+
(enum cbl_gcobol_feature_t): Relocate from symbols.h.
64+
(YYLTYPE_IS_DECLARED): Remove.
65+
(YYLTYPE_IS_TRIVIAL): Remove.
66+
(cobol_location): Relocate.
67+
(cobol_gcobol_feature_set): Declare.
68+
(struct YDFLTYPE): Remove.
69+
(enum cbl_call_convention_t): Relocate from symbols.h.
70+
(YDFLTYPE_IS_DECLARED): Remove.
71+
(YDFLTYPE_IS_TRIVIAL): Remove.
72+
(current_call_convention): Declare.
73+
(cdf_push): Declare.
74+
(cdf_push_call_convention): Declare.
75+
(cdf_push_current_tokens): Declare.
76+
(cdf_push_dictionary): Declare.
77+
(cdf_push_enabled_exceptions): Declare.
78+
(cdf_push_source_format): Declare.
79+
(cdf_pop): Declare.
80+
(cdf_pop_call_convention): Declare.
81+
(cdf_pop_current_tokens): Declare.
82+
(cdf_pop_dictionary): Declare.
83+
(cdf_pop_source_format): Declare.
84+
(cdf_pop_enabled_exceptions): Declare.
85+
(current_program_index): Declare.
86+
(struct cbl_loc_t): Derive from cbl_loc_base_t.
87+
(struct cbl_loc_base_t): Define.
88+
(cbl_err): Declare.
89+
(cbl_errx): Declare.
90+
(error_msg): Use cbl_loc_t.
91+
(warn_msg): Same.
92+
(cbl_unimplemented_at): Same.
93+
(gcc_location_set): Same.
94+
* cdf.y: Require Bison 3.8.2 and generate C++ in cdf namespace.
95+
* cdfval.h (struct YDFLTYPE): Remove.
96+
(struct cbl_loc_t): Forward declaration.
97+
(struct cdfval_base_t): User-defined conversion from derived.
98+
* copybook.h (gcc_assert): Use assert(3) within cdf.y.
99+
(gcc_unreachable): Declare within cdf.y.
100+
(class copybook_elem_t): Use cbl_loc_t.
101+
(CTOUPPER): Use toupper(3) in uppername_t helper.
102+
(TOUPPER): Same.
103+
(class copybook_t): Use cbl_loc_t.
104+
* exceptg.h (struct cbl_label_t): Declare cbl_label_t.
105+
* gcobc: Support -fno-ec.
106+
* gcobol.1: Reword -fsyntax-only slightly.
107+
* genapi.cc (parser_label_label): Use cobol_location().
108+
* lang.opt: Add comment in re lang.opt.urls.
109+
* lexio.cc (struct replacing_term_t): Use cbl_loc_t.
110+
(location_in): Same.
111+
(parse_copy_directive): Same.
112+
* lexio.h (struct filespan_t): Same.
113+
* messages.cc (cbl_message): Same.
114+
* parse.y: Same, and propagate location variously.
115+
* parse_ante.h (current_data_section_set): Use cbl_loc_t.
116+
(namcpy): Same.
117+
(reject_refmod): Same.
118+
(require_pointer): Same.
119+
(require_integer): Same.
120+
(ast_op): Same.
121+
(perform_tgt_set): Same.
122+
(label_add): Same.
123+
(paragraph_reference): Same.
124+
(tee_up_name): Same.
125+
(ast_inspect): Same.
126+
(ast_enter_section): Same.
127+
(ast_enter_paragraph): Same.
128+
(prototype_add): Same.
129+
(verify_args): Same.
130+
(subscript_dimension_error): Same.
131+
(literal_subscripts_valid): Same.
132+
(literal_refmod_valid): Same.
133+
(struct cbl_fieldloc_t): Remove.
134+
(intrinsic_call_1): Use cbl_loc_t.
135+
(symbol_find): Same.
136+
(valid_redefine): Same.
137+
(field_add): Same.
138+
(field_type_update): Same.
139+
(field_capacity_error): Same.
140+
(field_alloc): Same.
141+
(file_add): Same.
142+
(alphabet_add): Same.
143+
(set_real_from_capacity): Same.
144+
(procedure_division_ready): Same.
145+
(file_section_fd_set): Same.
146+
(ast_call): Same.
147+
(field_binary_usage): Same.
148+
(ast_end_program): Same.
149+
(cobol_location): Same.
150+
(location_set): Same.
151+
(statement_begin): Same.
152+
(ast_first_statement): Same.
153+
* scan.l: Qualify tokens with new cdf namespace.
154+
* scan_ante.h (ydfparse): Now static.
155+
(cdf_context): Declare.
156+
(ydfltype_of): Remove.
157+
(update_location): Use cbl_loc_t.
158+
(reset_location): Same.
159+
(YY_USER_INIT): Same.
160+
(class picture_t): Same.
161+
* scan_post.h (ydfparse): Wrapper for cdf_parser::parse() method.
162+
(ydfchar): Lookahead helper.
163+
(ydfdebug): Same.
164+
(run_cdf): Clearer debug messages.
165+
(struct pending_token_t): Renamed to recent_token_t.
166+
(struct recent_token_t): As above.
167+
(PENDING): Renames to RECENT.
168+
(RECENT): As above.
169+
(next_token): Removed.
170+
(recent_tokens_t): Capture abandoned lookahead tokens.
171+
(prelex): Use recent_tokens queue.
172+
(yylex): Drop normal parsing idea.
173+
* symbols.cc (symbol_field_location): Use cbl_loc_t.
174+
(symbol_alphabet): Same.
175+
(cbl_alphabet_t::cbl_alphabet_t): Same.
176+
(cbl_alphabet_t::assign): Same.
177+
(cbl_alphabet_t::also): Same.
178+
(symbol_temporary_location): Same.
179+
(cbl_field_t::encode): Same.
180+
* symbols.h (enum cbl_gcobol_feature_t): Remove.
181+
(cobol_gcobol_feature_set): Remove.
182+
(struct cbl_field_t): Use cbl_loc_t.
183+
(struct cbl_refer_t): Same.
184+
(struct cbl_alphabet_t): Same.
185+
(struct cbl_perform_tgt_t): Same.
186+
(struct cbl_nameloc_t): Same.
187+
(class name_queue_t): Same.
188+
(tee_up_name): Same.
189+
(symbol_field_location): Same.
190+
(enum cbl_call_convention_t): Remove
191+
(class current_tokens_t): Use cbl_loc_t.
192+
(current_call_convention): Same.
193+
(gcc_location_set): Same.
194+
* util.cc (class cdf_directives_t): Use cbl_loc_t.
195+
(cdf_unreachable): Define as gcc_unreachable.
196+
(cdf_literalize): Do not handle location.
197+
(cdf_file): New function.
198+
(cdf_file_index): Same.
199+
(cdf_file_name): Same.
200+
(cdf_add_field): Same.
201+
(cbl_field_t::encode_numeric): Remove unused parameter.
202+
(cbl_field_t::report_invalid_initial_value): Use cbl_loc_t.
203+
(match_proc): Namespace for local prototype-verification functions.
204+
(DUMP_PROCEDURE_CALLS): Guard macro for debug function.
205+
(procedure_calls_dump): New function to show uses of PERFORM.
206+
(gcc_location_set_impl): Use cbl_loc_t.
207+
(gcc_location_set): Same.
208+
(class temp_loc_t): Same.
209+
(error_msg): Same.
210+
(warn_msg): Same.
211+
(ydfdebug): Same.
212+
(cobol_set_debugging): Same.
213+
(cbl_unimplemented_at): Same.
214+
* util.h (cbl_err): Remove declaration.
215+
(cbl_errx): Same.
216+
(cdf_push): Same.
217+
(cdf_push_call_convention): Same.
218+
(cdf_push_current_tokens): Same.
219+
(cdf_push_dictionary): Same.
220+
(cdf_push_enabled_exceptions): Same.
221+
(cdf_push_source_format): Same.
222+
(cdf_pop): Same.
223+
(cdf_pop_call_convention): Same.
224+
(cdf_pop_current_tokens): Same.
225+
(cdf_pop_dictionary): Same.
226+
(cdf_pop_source_format): Same.
227+
(cdf_pop_enabled_exceptions): Same.
228+
1229
2026-06-14 Robert Dubner <rdubner@symas.com>
2230

3231
* move.cc (hex_of): Move the routine.

gcc/cp/ChangeLog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
2026-06-16 Marek Polacek <polacek@redhat.com>
2+
3+
PR c++/125770
4+
* decl2.cc (mark_used): Check complain & tf_error before giving
5+
an error.
6+
7+
2026-06-16 Marek Polacek <polacek@redhat.com>
8+
9+
PR c++/125539
10+
* cvt.cc (ocp_convert): In a template, always call
11+
perform_implicit_conversion. Pass flags to
12+
perform_implicit_conversion_flags.
13+
* decl.cc (check_initializer): Remove a call to
14+
build_implicit_conv_flags.
15+
116
2026-06-12 Jakub Jelinek <jakub@redhat.com>
217

318
PR c++/125674

0 commit comments

Comments
 (0)