mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
Daily bump.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2026-02-27 Christophe Lyon <christophe.lyon@arm.com>
|
||||
|
||||
* .forgejo/workflows/sanity-checks.yaml: Rename testjob to
|
||||
format-checks. Rename file to ...
|
||||
* .forgejo/workflows/format-checks.yaml: ... this.
|
||||
|
||||
2026-02-18 Maciej W. Rozycki <macro@orcam.me.uk>
|
||||
|
||||
* configure.ac <amdgcn-*-*> (noconfigdirs): Add `ld' and `gas'.
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2026-03-02 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc-changelog/git_update_version.py (ignored_commits): Add
|
||||
9a7da540b63e7d77e747b5cdd6fdbbd3954e28c8.
|
||||
|
||||
2026-02-24 Piyush Raj <piyushraj92739@gmail.com>
|
||||
|
||||
* bpf-vmtest-tool/README: New file.
|
||||
|
||||
252
gcc/ChangeLog
252
gcc/ChangeLog
@@ -1,3 +1,255 @@
|
||||
2026-03-02 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/124294
|
||||
* config/i386/sse.md (avx512fp16_mov<mode>): Fix ordering of operands
|
||||
for -masm=intel for the avx10_2 alternative. Fix up indentation in
|
||||
the insn condition.
|
||||
(vec_set<mode>_0): Fix comment typo, higer -> higher.
|
||||
|
||||
2026-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR target/57261
|
||||
* configure.ac (gcc_cv_ld_as_needed) <i?86-*-solaris2* |
|
||||
x86_64-*-solaris2*>: Don't disable.
|
||||
* configure: Regenerate.
|
||||
|
||||
2026-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* configure.ac (solaris_ld): New check.
|
||||
Test solaris_ld instead of gnu_ld_flag.
|
||||
* configure: Regenerate.
|
||||
* config.in: Regenerate.
|
||||
* config/i386/sol2.h: Switch to HAVE_SOLARIS_LD.
|
||||
* config/sol2.h: Likewise.
|
||||
* config/sparc/sol2.h: Likewise.
|
||||
* config/sparc/sparc.md: Likewise.
|
||||
|
||||
2026-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* configure.ac (solaris_as): New check.
|
||||
* configure: Regenerate.
|
||||
* config.in: Regenerate.
|
||||
* config/i386/i386.cc: Switch to HAVE_SOLARIS_AS.
|
||||
* config/i386/sol2.h: Likewise.
|
||||
* config/sol2.h: Likewise.
|
||||
* config/sparc/sol2.h: Likewise.
|
||||
* config/sparc/sparc.cc: Likewise.
|
||||
* config/sparc/sparc.md: Likewise.
|
||||
|
||||
2026-02-28 Jeff Law <jeffrey.law@oss.qualcomm.com>
|
||||
|
||||
PR tree-optimization/90036
|
||||
* tree-ssa-dom.cc (back_propagate_equivalences): Accept new
|
||||
argument for available expression stack. Lookup equivalences
|
||||
in the expression hash table too. If an expression hash a
|
||||
known constant value, record it and recurse.
|
||||
(record_temporary_equivalences): Back propagate for a subset of
|
||||
edge equivalences.
|
||||
|
||||
2026-02-28 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR target/124094
|
||||
* config/aarch64/aarch64-generate-json-tuning-routines.py
|
||||
(generate_field_code): Add "ctxt, " arg to function call when
|
||||
operation is "parse".
|
||||
(generate_function): Add "gcc_json_context &ctxt, " param to
|
||||
function decl when operation is "parse".
|
||||
* config/aarch64/aarch64-json-tunings-parser-generated.inc:
|
||||
Regenerate, passing around a gcc_json_context &.
|
||||
* config/aarch64/aarch64-json-tunings-parser.cc: Include
|
||||
"json-diagnostic.h".
|
||||
(WARNING_OPT) New macro.
|
||||
(PARSE_INTEGER_FIELD): Add "ctxt" param and pass it around.
|
||||
(PARSE_UNSIGNED_INTEGER_FIELD): Likewise.
|
||||
(PARSE_BOOLEAN_FIELD): Likewise.
|
||||
(PARSE_STRING_FIELD): Likewise.
|
||||
(PARSE_OBJECT): Likewise.
|
||||
(PARSE_ARRAY_FIELD): Likewise.
|
||||
(PARSE_ENUM_FIELD): Likewise.
|
||||
(parse_func_type): Likewise.
|
||||
(parse_object_helper): Likewise. Use json_error rather than error.
|
||||
(inform_about_wrong_kind_of_json_value): New.
|
||||
(extract_string): Add "ctxt" param. Replace "warning" with a pair
|
||||
of calls to json_warning and
|
||||
inform_about_wrong_kind_of_json_value, tweaking wording
|
||||
accordingly.
|
||||
(extract_integer): Likewise.
|
||||
(extract_unsigned_integer): Likewise.
|
||||
(parse_enum_field): Likewise.
|
||||
(validate_and_traverse): Replace "warning" and "error" with
|
||||
"json_warning" and "json_error".
|
||||
(check_version_compatibility): Use WARNING_OPT. Add
|
||||
auto_diagnostic_group to group the error and note.
|
||||
(aarch64_load_tuning_params_from_json_string): Add "js_filename"
|
||||
param. Use gcc_json_context to capture location info. Use it
|
||||
when reporting errors to get file/line/column info. Replace check
|
||||
on root being non-null with assertion, as this is guaranteed if
|
||||
error is non-null. Replace warning with json_warning.
|
||||
(aarch64_load_tuning_params_from_json): Pass data_filename to
|
||||
aarch64_load_tuning_params_from_json_string for use when reporting
|
||||
diagnostics.
|
||||
(selftest::test_json_integers): Add a placeholder filename.
|
||||
(selftest::test_json_boolean): Likewise.
|
||||
(selftest::test_json_strings): Likewise.
|
||||
(selftest::test_json_enums): Likewise.
|
||||
|
||||
2026-02-28 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* Makefile.in (OBJS-libcommon): Add json-diagnostic.o.
|
||||
* diagnostics/client-data-hooks.h
|
||||
(class client_data_hooks_decorator): New.
|
||||
* diagnostics/context.cc (context::set_client_data_hooks): Return
|
||||
the old hooks.
|
||||
* diagnostics/context.h (context::set_client_data_hooks): Update
|
||||
decl likewise.
|
||||
* json-diagnostic.cc: New file.
|
||||
* json-diagnostic.h: New file.
|
||||
|
||||
2026-02-28 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* config/aarch64/aarch64-json-tunings-parser.cc: Define
|
||||
INCLUDE_MAP.
|
||||
* json-parsing.cc: Likewise.
|
||||
* json-parsing.h (class simple_location_map): New class, moved and
|
||||
renamed from...
|
||||
* libsarifreplay.cc (class replayer_location_map): ...here.
|
||||
(sarif_replayer::m_json_location_map): Update for renaming of
|
||||
class.
|
||||
|
||||
2026-02-28 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* Makefile.in (OBJS-libcommon):
|
||||
Add diagnostics/physical-location-maker.o.
|
||||
* diagnostics/physical-location-maker.cc: New file, adapted from
|
||||
material in libgdiagnostics.cc.
|
||||
* diagnostics/physical-location-maker.h: New file, adapted from
|
||||
material in libgdiagnostics.cc.
|
||||
* libgdiagnostics.cc: Include
|
||||
"diagnostics/physical-location-maker.h".
|
||||
(diagnostic_manager::diagnostic_manager): Initialize
|
||||
m_phys_loc_maker.
|
||||
(diagnostic_manager::new_location_from_file_and_line): Split out
|
||||
into physical_location_maker.
|
||||
(diagnostic_manager::new_location_from_file_line_column):
|
||||
Likewise.
|
||||
(diagnostic_manager::ensure_linemap_for_file_and_line): Likewise.
|
||||
(diagnostic_manager::m_phys_loc_maker): New field.
|
||||
|
||||
2026-02-28 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* diagnostics/html-sink.cc
|
||||
(html_builder::make_element_for_diagnostic): Update for logical
|
||||
location strings being returned as label_text rather than
|
||||
const char *.
|
||||
* diagnostics/logical-locations.h
|
||||
(logical_locations::manager::get_short_name): Return label_text
|
||||
rather than const char *.
|
||||
(logical_locations::manager::get_name_with_scope): Likewise.
|
||||
(logical_locations::manager::get_internal_name): Likewise.
|
||||
* diagnostics/sarif-sink.cc
|
||||
(sarif_builder::ensure_sarif_logical_location_for): Update for
|
||||
logical location strings being returned as label_text rather than
|
||||
const char *.
|
||||
(sarif_builder::make_minimal_sarif_logical_location): Likewise.
|
||||
* diagnostics/selftest-logical-locations.cc
|
||||
(test_manager::get_short_name): Likewise.
|
||||
(test_manager::get_name_with_scope): Likewise.
|
||||
(test_manager::get_internal_name): Likewise.
|
||||
(selftest_logical_locations_cc_tests): Likewise.
|
||||
* diagnostics/selftest-logical-locations.h
|
||||
(test_manager::get_short_name): Likewise.
|
||||
(test_manager::get_name_with_scope): Likewise.
|
||||
(test_manager::get_internal_name): Likewise.
|
||||
* diagnostics/state-graphs-to-dot.cc
|
||||
(state_diagram::on_node_in_table): Likewise.
|
||||
* libgdiagnostics.cc
|
||||
(impl_logical_location_manager::get_short_name): Likewise.
|
||||
(impl_logical_location_manager::get_name_with_scope): Likewise.
|
||||
(impl_logical_location_manager::get_internal_name): Likewise.
|
||||
* tree-logical-location.cc
|
||||
(tree_logical_location_manager::get_short_name): Likewise.
|
||||
(tree_logical_location_manager::get_name_with_scope): Likewise.
|
||||
(tree_logical_location_manager::get_internal_name): Likewise.
|
||||
* tree-logical-location.h
|
||||
(tree_logical_location_manager::get_short_name): Likewise.
|
||||
(tree_logical_location_manager::get_name_with_scope): Likewise.
|
||||
(tree_logical_location_manager::get_internal_name): Likewise.
|
||||
|
||||
2026-02-28 Sandra Loosemore <sloosemore@baylibre.com>
|
||||
|
||||
PR c/87591
|
||||
* doc/extend.texi (Attributes): Document __attribute keyword.
|
||||
(Attribute Syntax): Here too.
|
||||
|
||||
2026-02-28 Sandra Loosemore <sloosemore@baylibre.com>
|
||||
|
||||
* doc/extend.texi (Attributes): Rename the node "GNU Attribute
|
||||
Syntax" node back to "Attribute Syntax"; fix references. Add
|
||||
@anchor for sections recently merged away at the new location of
|
||||
the material they used to contain.
|
||||
|
||||
2026-02-28 Kwok Cheung Yeung <kcyeung@baylibre.com>
|
||||
|
||||
PR middle-end/113436
|
||||
* omp-low.cc (lower_omp_target): Merge branches for allocating memory
|
||||
for private clauses. Add handling for references when allocator
|
||||
clause not specified.
|
||||
|
||||
2026-02-27 Tamar Christina <tamar.christina@arm.com>
|
||||
|
||||
PR tree-optimization/124142
|
||||
* tree-vect-data-refs.cc (vect_analyze_early_break_dependences):
|
||||
For early break require masking when operation can trap.
|
||||
|
||||
2026-02-27 Jeff Law <jeffrey.law@oss.qualcomm.com>
|
||||
|
||||
PR tree-optimization/90036
|
||||
* tree-ssa-scopedtables.cc (avail_exprs_stack::record_cond): Always
|
||||
record the new hash table entry.
|
||||
|
||||
2026-02-27 Xi Ruoyao <xry111@xry111.site>
|
||||
|
||||
PR middle-end/124280
|
||||
* optabs.cc (expand_vector_broadcast): Allow broadcasting QImode
|
||||
to BImode vector.
|
||||
|
||||
2026-02-27 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR ipa/123229
|
||||
* ipa-prop.cc (update_indirect_edges_after_inlining): Reset parameter
|
||||
index associated with an indirect edge if the inlined edge does not
|
||||
have any jump functions.
|
||||
|
||||
2026-02-27 Soumya AR <soumyaa@nvidia.com>
|
||||
|
||||
* config/aarch64/aarch64-json-tunings-parser.cc (parse_object_helper):
|
||||
Zero-initialize objects that are NULL in the base tunings, if provided
|
||||
in JSON tunings.
|
||||
* config/aarch64/aarch64-protos.h (struct sve_vec_cost): Add default
|
||||
constructor.
|
||||
(struct aarch64_simd_vec_issue_info): Likewise.
|
||||
(struct aarch64_sve_vec_issue_info): Likewise.
|
||||
|
||||
2026-02-27 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR ipa/123629
|
||||
* ipa-polymorphic-call.cc
|
||||
(ipa_polymorphic_call_context::meet_with): When an outer context is
|
||||
NULL, call make_speculative on the other one.
|
||||
|
||||
2026-02-27 Tamar Christina <tamar.christina@arm.com>
|
||||
|
||||
PR target/124162
|
||||
* config/aarch64/aarch64-sve.md (cond_vec_cbranch_any,
|
||||
cond_vec_cbranch_all): Drop partial vectors support.
|
||||
|
||||
2026-02-27 Andrew Pinski <andrew.pinski@oss.qualcomm.com>
|
||||
|
||||
PR tree-optimization/117935
|
||||
* tree-ssa-phiopt.cc (contains_hot_cold_predict): New function.
|
||||
(match_simplify_replacement): Return early if early_p and one of
|
||||
the middle bb(s) have a hot/cold predict statement.
|
||||
|
||||
2026-02-26 Vladimir N. Makarov <vmakarov@redhat.com>
|
||||
|
||||
PR target/115042
|
||||
|
||||
@@ -1 +1 @@
|
||||
20260227
|
||||
20260302
|
||||
|
||||
@@ -1,3 +1,31 @@
|
||||
2026-02-28 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR ada/124285
|
||||
* gcc-interface/decl.cc (components_to_record): Force a packed
|
||||
layout for the innermost variant of an unchecked union type with
|
||||
fixed part and full representation clause.
|
||||
|
||||
2026-02-27 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR ada/124201
|
||||
PR ada/124282
|
||||
* exp_aggr.adb (Expand_Iterated_Component): Replace the iteration
|
||||
variable in the expression as well.
|
||||
* sem_aggr.adb (Resolve_Iterated_Component_Association): Preanalyze
|
||||
the expression directly as well.
|
||||
|
||||
2026-02-27 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR ada/123306
|
||||
* freeze.adb (Freeze_Entity): For a class-wide equivalent type of
|
||||
a non-interface root type, freeze the root type before it.
|
||||
* sem_ch3.adb (Derived_Type_Declaration): Minor tweak.
|
||||
* sem_ch12.adb (Analyze_One_Association): Revert latest change.
|
||||
* sem_ch13.adb (Analyze_Attribute_Definition_Clause) <Size>: When
|
||||
the prefix is a class-wide type, insert the declaration of the CW-
|
||||
equivalent type immediately after that of the root type, and the
|
||||
size check for the root type into its own freezing actions.
|
||||
|
||||
2026-02-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR ada/124201
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
2026-02-27 James Bohl <bohlj47@gmail.com>
|
||||
|
||||
* a68-low-prelude.cc (a68_lower_negate2): Annotate denotation
|
||||
as being negated.
|
||||
* a68-low-units.cc (a68_lower_denotation): Allow the full range
|
||||
of negative values if the denotation is negated.
|
||||
* a68-types.h (struct NODE_T): Add negated field.
|
||||
(NEGATED): Define.
|
||||
* a68-parser.cc (a68_new_node): Initialize NEGATED.
|
||||
|
||||
2026-02-26 James Bohl <bohlj47@gmail.com>
|
||||
|
||||
* a68-low-units.cc (a68_lower_denotation): Add error on
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2026-02-27 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR cobol/123238
|
||||
* lexio.cc: Remove <iostream> include.
|
||||
(cdftext::process_file): Remove if (false) gated use of
|
||||
iostream code.
|
||||
|
||||
2026-02-26 Robert Dubner <rdubner@symas.com>
|
||||
|
||||
* parse.y: BASECONVERT and TRIM take their type from their first
|
||||
|
||||
@@ -1,3 +1,21 @@
|
||||
2026-03-01 Nathaniel Shead <nathanieloshead@gmail.com>
|
||||
|
||||
* constexpr.cc (diagnose_failing_condition): Also decompose
|
||||
comparisons of reflections.
|
||||
|
||||
2026-03-01 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/123143
|
||||
* pt.cc (tsubst_expr) <case COMPONENT_REF>: Check identifier_p
|
||||
before doing lookup for a template function.
|
||||
|
||||
2026-03-01 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/123608
|
||||
* cp-tree.h (unevaluated_p): Include REFLECT_EXPR.
|
||||
* reflect.cc (check_out_of_consteval_use_r): Don't give up early
|
||||
on REFLECT_EXPR_P.
|
||||
|
||||
2026-02-26 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/124204
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2026-02-27 Harald Anlauf <anlauf@gmx.de>
|
||||
|
||||
PR fortran/78187
|
||||
* trans-decl.cc (gfc_trans_deferred_vars): An initialization block
|
||||
shall be generated for deferred-length character results even
|
||||
when -fno-automatic is given.
|
||||
|
||||
2026-02-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/88076
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2026-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* gospec.cc (lang_specific_driver): Switch to HAVE_SOLARIS_LD.
|
||||
|
||||
2026-01-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gccgo.texi: Bump @copyrights-go year.
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2026-02-27 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po,
|
||||
ja.po, ka.po, nl.po, ru.po, sr.po, sv.po, tr.po, uk.po, vi.po,
|
||||
zh_CN.po, zh_TW.po: Update.
|
||||
|
||||
2026-02-19 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* gcc.pot: Regenerate.
|
||||
|
||||
@@ -1,3 +1,308 @@
|
||||
2026-02-27 Islam-Imad <islamimad404@gmail.com>
|
||||
|
||||
* typecheck/rust-hir-type-check-struct.cc: enhance missing fields error message
|
||||
|
||||
2026-02-27 Owen Avery <powerboat9.gamer@gmail.com>
|
||||
|
||||
* ast/rust-ast.h (struct Crate): Make final.
|
||||
|
||||
2026-02-27 Owen Avery <powerboat9.gamer@gmail.com>
|
||||
|
||||
* Make-lang.in (GRS_OBJS): Remove entries.
|
||||
* ast/rust-ast.cc (DelimTokenTree::parse_to_meta_item): Handle
|
||||
changes to AttributeParser.
|
||||
(AttributeParser::AttributeParser): Change signature.
|
||||
* ast/rust-macro.h (AttributeParser::AttributeParser): Likewise.
|
||||
* expand/rust-macro-expand.cc
|
||||
(MacroExpander::expand_eager_invocations): Handle changes to
|
||||
MacroInvocLexer.
|
||||
(MacroExpander::parse_proc_macro_output): Use MacroInvocLexer
|
||||
instead of ProcMacroInvocLexer.
|
||||
* expand/rust-macro-expand.h: Remove inclusion of
|
||||
"rust-proc-macro-invoc-lexer.h".
|
||||
* expand/rust-macro-invoc-lexer.cc
|
||||
(MacroInvocLexer::peek_token): Handle changes to MacroInvocLexer
|
||||
internal representation.
|
||||
(MacroInvocLexer::get_token_slice): Likewise.
|
||||
(MacroInvocLexer::split_current_token): Likewise and fix
|
||||
iterator handling.
|
||||
* expand/rust-macro-invoc-lexer.h (class MacroInvocLexerBase):
|
||||
Remove and combine with...
|
||||
(class MacroInvocLexer): ...its now only derived class.
|
||||
* expand/rust-proc-macro-invoc-lexer.cc: Removed.
|
||||
* expand/rust-proc-macro-invoc-lexer.h: Removed.
|
||||
* parse/rust-parse-impl-proc-macro.cc: Removed.
|
||||
|
||||
2026-02-27 Harishankar <harishankarpp7@gmail.com>
|
||||
|
||||
* parse/rust-parse-impl-expr.hxx (null_denotation_path):
|
||||
Check for null struct and tuple expressions to prevent segmentation fault.
|
||||
|
||||
2026-02-27 Harishankar <harishankarpp7@gmail.com>
|
||||
|
||||
* parse/rust-parse-impl-expr.hxx (parse_arithmetic_or_logical_expr):
|
||||
Check for null left operand to prevent segmentation fault.
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* ast/rust-ast-builder.h (Builder::qualified_call): New method declaration.
|
||||
* ast/rust-ast-builder.cc (Builder::qualified_call): Implement new method.
|
||||
* expand/rust-derive-clone.cc (DeriveClone::clone_call): Use builder.qualified_call.
|
||||
|
||||
2026-02-27 jayant chauhan <0001jayant@gmail.com>
|
||||
|
||||
* parse/rust-parse-impl-expr.hxx (null_denotation_path): Check
|
||||
if macro invocation returns null and return error.
|
||||
|
||||
2026-02-27 Islam-Imad <islamimad404@gmail.com>
|
||||
|
||||
* lex/rust-lex.cc (is_whitespace): refactor if-else to switch
|
||||
* lex/rust-token.h: refactor if-else to switch
|
||||
* parse/rust-parse-impl.hxx: return nullptr when type is in invalid state
|
||||
|
||||
2026-02-27 jayant chauhan <0001jayant@gmail.com>
|
||||
|
||||
* util/rust-attributes.cc (check_deprecated_attribute): Guard against
|
||||
attributes without input.
|
||||
|
||||
2026-02-27 Owen Avery <powerboat9.gamer@gmail.com>
|
||||
|
||||
* ast/rust-ast-builder.cc (Builder::trait_bound): Replace copy
|
||||
with move.
|
||||
(Builder::trait_impl): Likewise.
|
||||
(Builder::new_const_param): Replace cloning with reconstruction.
|
||||
* ast/rust-path.h (TypePath::TypePath): Use TypeNoBounds copy
|
||||
constructor.
|
||||
(TypePath::operator=): Use TypeNoBounds copy assignment.
|
||||
* expand/rust-derive-clone.cc (DeriveClone::clone_impl): Produce
|
||||
trait bounds lazily.
|
||||
* expand/rust-derive-copy.cc (DeriveCopy::copy_impl): Likewise.
|
||||
* expand/rust-derive-debug.cc (DeriveDebug::stub_derive_impl):
|
||||
Likewise.
|
||||
* expand/rust-derive-default.cc (DeriveDefault::default_impl):
|
||||
Likewise.
|
||||
* expand/rust-derive-eq.cc (DeriveEq::eq_impls): Likewise.
|
||||
* expand/rust-derive-hash.cc (DeriveHash::hash_impl): Likewise.
|
||||
* expand/rust-derive-ord.cc (DeriveOrd::cmp_impl): Likewise.
|
||||
* expand/rust-derive-partial-eq.cc
|
||||
(DerivePartialEq::partialeq_impls): Likewise.
|
||||
* expand/rust-derive.cc (DeriveVisitor::setup_impl_generics):
|
||||
Likewise.
|
||||
* expand/rust-derive.h (DeriveVisitor::setup_impl_generics):
|
||||
Likewise.
|
||||
|
||||
2026-02-27 Harishankar <harishankarpp7@gmail.com>
|
||||
|
||||
* ast/rust-ast.cc (Module::process_file_path): Add fallback search
|
||||
for sibling modules when subdirectory search fails.
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* util/rust-attributes.cc (check_lint_attribute): New helper.
|
||||
(AttributeChecker::visit): Call helper for lint attributes on functions.
|
||||
|
||||
2026-02-27 Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
|
||||
|
||||
* ast/rust-ast.cc (Crate::inject_extern_crate): Add a function to
|
||||
inject an extern crate item to a crate.
|
||||
* ast/rust-ast.h: Add function prototype for inject_extern_crate.
|
||||
* rust-session-manager.cc (has_attribute): Add helper to determine if
|
||||
a crate has a given inner attribute.
|
||||
(Session::compile_crate): Add a step to inject the core extern crate
|
||||
when the no_core attribute is missing.
|
||||
* util/rust-attribute-values.h: Add the no_core attribute value.
|
||||
|
||||
2026-02-27 Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
|
||||
|
||||
* ast/rust-ast-collector.cc (TokenCollector::visit): Add colon and
|
||||
type param bound tokens when collecting a trait ast node.
|
||||
|
||||
2026-02-27 Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
|
||||
|
||||
* resolve/rust-forever-stack.hxx: Prevent iteration on parent ribs.
|
||||
|
||||
2026-02-27 Owen Avery <powerboat9.gamer@gmail.com>
|
||||
|
||||
* expand/rust-macro-expand.cc
|
||||
(MacroExpander::expand_decl_macro): Prevent excess errors.
|
||||
(MacroExpander::match_matcher): Detect duplicate metavariable
|
||||
names.
|
||||
* expand/rust-macro-expand.h (MacroExpander::MacroExpander):
|
||||
Initialize field had_duplicate_error.
|
||||
(MacroExpander::had_duplicate_error): New field.
|
||||
|
||||
2026-02-27 Yap Zhi Heng <yapzhhg@gmail.com>
|
||||
|
||||
* typecheck/rust-hir-type-check-pattern.cc (visit(StructPattern)): Implement
|
||||
type check case for HIR::StructPatternFieldTuplePat.
|
||||
* checks/errors/rust-hir-pattern-analysis.cc (lower_struct_pattern): Implement
|
||||
case for HIR::StructPatternField::ItemType::TUPLE_PAT.
|
||||
* backend/rust-compile-pattern.cc:
|
||||
* CompilePatternCheckExpr::visit (HIR::StructPattern): Implement code
|
||||
gen for HIR::StructPatternField::ItemType::TUPLE_PAT case.
|
||||
* CompilePatternBindings::handle_struct_pattern_tuple_pat: Implement
|
||||
bindings for HIR::StructPatternFieldTuplePat.
|
||||
* backend/rust-compile-pattern.h: Update function definition for
|
||||
handle_struct_pattern_tuple_pat.
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* expand/rust-derive-eq.cc (get_eq_trait_path): New helper.
|
||||
(DeriveEq::assert_param_is_eq): Use helper.
|
||||
(DeriveEq::eq_impls): Use helper.
|
||||
|
||||
2026-02-27 Mason Pike <m@sonpike.net>
|
||||
|
||||
* util/rust-attributes.cc: add attributes to the __outer_attributes set.
|
||||
This prevents some inconsistent behavior, like: https://godbolt.org/z/Eq1GE7xxY
|
||||
|
||||
2026-02-27 Mason Pike <m@sonpike.net>
|
||||
|
||||
* util/rust-attributes.cc: remove loop helper functions
|
||||
* util/rust-attributes.h: remove function defs
|
||||
|
||||
2026-02-27 Mason Pike <m@sonpike.net>
|
||||
|
||||
* util/rust-attributes.cc: factor out loops from
|
||||
several functions to prevent us from having to loop
|
||||
several times over the same attributes
|
||||
|
||||
2026-02-27 Mason Pike <m@sonpike.net>
|
||||
|
||||
* util/rust-attributes.cc: add new function to validate that an
|
||||
attribute is assigned to a valid item type
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* expand/rust-expand-visitor.h (expand_closure_params): Add documentation.
|
||||
(expand_fields): New private template helper.
|
||||
* expand/rust-expand-visitor.cc (expand_struct_fields): Use helper.
|
||||
(expand_tuple_fields): Use helper.
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* backend/rust-compile-asm.cc (chain_asm_operand): New helper.
|
||||
(CompileAsm::asm_construct_outputs): Use helper and remove dead code.
|
||||
(CompileAsm::asm_construct_inputs): Use helper and remove dead code.
|
||||
|
||||
2026-02-27 lenny.chiadmi-delage <lenny.chiadmi-delage@epita.fr>
|
||||
|
||||
* hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Replace
|
||||
unreachable with sorry_at.
|
||||
|
||||
2026-02-27 lenny.chiadmi-delage <lenny.chiadmi-delage@epita.fr>
|
||||
|
||||
* resolve/rust-late-name-resolver-2.0.cc (Late::visit): Visit
|
||||
else_expr if has_else_expr, not init_expr.
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* util/rust-attributes.cc (AttributeChecker::visit): Add check for
|
||||
export_name on static items.
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* util/rust-attributes.cc (check_export_name_attribute): New helper.
|
||||
(AttributeChecker::visit): Check export_name on functions.
|
||||
|
||||
2026-02-27 Arthur Cohen <arthur.cohen@embecosm.com>
|
||||
|
||||
* ast/rust-ast.h: Add Type::Kind.
|
||||
* ast/rust-macro.h: Use it.
|
||||
* ast/rust-path.h: Likewise.
|
||||
* ast/rust-type.h: Likewise.
|
||||
* resolve/rust-default-resolver.cc (is_lang_impl): New method.
|
||||
(DefaultResolver::visit): Collect lang item implementations in the
|
||||
prelude.
|
||||
* resolve/rust-forever-stack.h: Add new method for lang prelude injection.
|
||||
* resolve/rust-forever-stack.hxx: Define it.
|
||||
* resolve/rust-late-name-resolver-2.0.cc (Late::visit): Identifier patterns
|
||||
can resolve to empty structs or variants.
|
||||
* resolve/rust-name-resolution-context.h: Improve resolution.
|
||||
|
||||
2026-02-27 Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
|
||||
|
||||
* util/rust-attributes.cc (AttributeChecker::visit): Use const
|
||||
variable.
|
||||
|
||||
2026-02-27 Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
|
||||
|
||||
* backend/rust-compile-base.cc: Change the assembly name on functions
|
||||
with the export_name attribute. Do not mangle the name.
|
||||
* util/rust-attribute-values.h: Add export_name attribute value.
|
||||
* util/rust-attributes.cc: Add export_name attribute to builtin
|
||||
attribute list.
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* util/rust-attributes.cc (AttributeChecker::visit):
|
||||
Reject #[target_feature] on non-unsafe functions.
|
||||
|
||||
2026-02-27 Lucas Ly Ba <lucas.ly-ba@outlook.com>
|
||||
|
||||
* checks/lints/unused/rust-unused-checker.cc (is_snake_case):
|
||||
Add warning for variables, methods, functions,
|
||||
lifetime parameters and modules.
|
||||
(UnusedChecker::visit):
|
||||
New.
|
||||
* checks/lints/unused/rust-unused-checker.h:
|
||||
New.
|
||||
|
||||
2026-02-27 Lucas Ly Ba <lucas.ly-ba@outlook.com>
|
||||
|
||||
* checks/lints/unused/rust-unused-checker.cc (UnusedChecker::visit):
|
||||
Add warning for static variables.
|
||||
|
||||
2026-02-27 Arthur Cohen <arthur.cohen@embecosm.com>
|
||||
|
||||
* ast/rust-ast-full-decls.h (class GlobContainer): New.
|
||||
* ast/rust-ast.h (class GlobContainer): New.
|
||||
(struct Crate): Inherit from GlobContainer.
|
||||
* ast/rust-item.h (class Module): Likewise.
|
||||
(class Enum): Likewise.
|
||||
* resolve/rust-finalize-imports-2.0.cc (GlobbingVisitor::go): Handle crates.
|
||||
(GlobbingVisitor::visit_crate_container): New.
|
||||
(GlobbingVisitor::visit): Remove privacy check as it is wrong.
|
||||
* resolve/rust-finalize-imports-2.0.h: Declare new methods.
|
||||
* resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::go): Handle crates.
|
||||
(TopLevel::visit): Use new insert_glob_container API.
|
||||
* util/rust-hir-map.cc (Mappings::get_ast_crate_by_node_id_raw): New private method.
|
||||
(Mappings::get_ast_crate_by_node_id): Use it.
|
||||
(Mappings::insert_glob_container): New API.
|
||||
* util/rust-hir-map.h: Likewise.
|
||||
* resolve/rust-early-name-resolver-2.0.cc (Early::finalize_glob_import): Likewise.
|
||||
|
||||
2026-02-27 lenny.chiadmi-delage <lenny.chiadmi-delage@epita.fr>
|
||||
|
||||
* parse/rust-parse-impl-expr.hxx: Removes duplicate errors.
|
||||
* parse/rust-parse-impl.hxx: Detects when an expression without
|
||||
block is not properly terminated
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* util/rust-attributes.cc (AttributeChecker::check_attributes): Emit error for #[repr].
|
||||
|
||||
2026-02-27 Harishankar <harishankarpp7@gmail.com>
|
||||
|
||||
* typecheck/rust-typecheck-context.cc (insert_associated_trait_impl):
|
||||
Prevent ICE by checking for existing ID.
|
||||
* typecheck/rust-hir-type-check.h: Update declarations.
|
||||
|
||||
2026-02-27 Jayant Chauhan <0001jayant@gmail.com>
|
||||
|
||||
* util/rust-attributes.cc (check_link_section_attribute): New helper.
|
||||
(AttributeChecker::visit): Check link_section on functions and statics.
|
||||
|
||||
2026-02-27 Philip Herron <herron.philip@googlemail.com>
|
||||
|
||||
* typecheck/rust-tyty.cc (VariantDef::clone): revert
|
||||
(VariantDef::monomorphized_clone): likewise
|
||||
|
||||
2026-02-27 Philip Herron <herron.philip@googlemail.com>
|
||||
|
||||
* typecheck/rust-tyty.cc (VariantDef::clone): remove template param
|
||||
(VariantDef::monomorphized_clone): likewise
|
||||
|
||||
2026-02-06 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
|
||||
|
||||
PR middle-end/123892
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,9 @@
|
||||
2026-02-27 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* be.po, ca.po, da.po, de.po, el.po, eo.po, es.po, fi.po, fr.po,
|
||||
id.po, ja.po, ka.po, nl.po, pt_BR.po, ro.po, ru.po, sr.po, sv.po,
|
||||
tr.po, uk.po, vi.po, zh_CN.po, zh_TW.po: Update.
|
||||
|
||||
2026-02-19 Joseph Myers <josmyers@redhat.com>
|
||||
|
||||
* cpplib.pot: Regenerate.
|
||||
|
||||
@@ -1,3 +1,24 @@
|
||||
2026-03-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/124286
|
||||
* acinclude.m4: Remove LIBGFOR_CHECK_SANE_BUILTIN_CLZL.
|
||||
* caf/shmem/allocator.c (next_power_of_two): Use known sane
|
||||
builtin.
|
||||
* configure: Regenerate.
|
||||
* configure.ac: Remove use of LIBGFOR_CHECK_SANE_BUILTIN_CLZL.
|
||||
|
||||
2026-02-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* aclocal.m4: Regenerate.
|
||||
* configure: Regenerate.
|
||||
* Makefile.in: Regenerate.
|
||||
|
||||
2026-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/88076
|
||||
* caf/shmem/supervisor.c (supervisor_main_loop): Use fprintf
|
||||
instead of dprintf.
|
||||
|
||||
2026-02-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/88076
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
2026-02-28 Kwok Cheung Yeung <kcyeung@baylibre.com>
|
||||
|
||||
PR middle-end/113436
|
||||
* testsuite/libgomp.c++/pr113436-1.C (test_vla_by_ref): New.
|
||||
(main): Add call to test_vla_by_ref.
|
||||
* testsuite/libgomp.c++/pr113436-2.C (test_vla_by_ref): New.
|
||||
(main): Add call to test_vla_by_ref.
|
||||
|
||||
2026-02-23 Paul-Antoine Arras <parras@baylibre.com>
|
||||
|
||||
PR fortran/120505
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2026-02-28 Tomasz Kamiński <tkaminsk@redhat.com>
|
||||
|
||||
PR libstdc++/105580
|
||||
* testsuite/24_iterators/istreambuf_iterator/105580.cc: New test.
|
||||
|
||||
2026-02-26 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
|
||||
|
||||
* testsuite/29_atomics/atomic_ref/requirements_neg.cc: Add
|
||||
|
||||
Reference in New Issue
Block a user