This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 4c2169d2f40 tree-optimization/113659 - early exit vectorization and mis [...] new ceed844b528 gccrs: Add visibility to trait item new bf47346052c gccrs: Add a test to highlight public trait type parsing new ca16a3ee232 gccrs: Fix error emission for self pointers new 3e450ae1bb9 gccrs: Report self parameter parsing error kind new 08999fb0354 gccrs: Add new test for parsing errors on self pointers new c5925f34923 gccrs: ast: Change *Path nodes API new f7d8356a6ea gccrs: rib: Add Namespace enum new 446ab9b2655 gccrs: forever-stack: Fix basic get logic new eec00ae2752 gccrs: foreverstack: Specialize `get` for Namespace::Labels new 5fd3de11508 gccrs: forever stack: Fix resolve_path signature new 66e8a1614e4 gccrs: forever stack: Improve resolve_path implementation new 12b2dcb0881 gccrs: foreverstack: Add `to_canonical_path` method new 232f94af30d gccrs: foreverstack: Add `to_rib` method new cbd0a9ce03c gccrs: resolve: Format if properly new 478ac287e75 gccrs: forever stack: Remove development debug info new b1b744fc467 gccrs: Reject auto traits with generic parameters new 3e0e74f3e9c gccrs: Add regression test for generic auto traits new d8c1a756c42 gccrs: Reject auto traits with super trait new 84e06bb6314 gccrs: Add a regression test for super trait on auto trait new 685491f2324 gccrs: Add check for associated items on auto traits new 162137fd260 gccrs: Emit an error on variadic non extern functions new 4f45c715b83 gccrs: Add a test regular variadic functions errors new 72792563e60 gccrs: Add ast validation check on union variant number new 7f6319671e3 gccrs: Replace TOK suffix with KW new c23db3e0c2e gccrs: Add edition separation for keywords new 3b853501e7b gccrs: Treat underscore as a keyword new ad2ff326cce gccrs: Add await keyword new f1c7ce7e185 gccrs: Replace some keyword raw values new 2fe5baf3dc1 gccrs: Add a list of weak keyword new 28652f21e55 gccrs: Replace some weak keyword raw value with constexpr new 2c843a047dd gccrs: Introduce a proper keyword list new d5c582396c6 gccrs: Added support to Parse ASYNC function new d9b7a3d0f4e gccrs: ctx: Add Labels ForeverStack to the resolver. new f726875f978 gccrs: nr2.0: Add base for late name resolution new 1ee01fd1572 gccrs: toplevel: Use DefaultResolver for Function new cb3a12f3ee2 gccrs: nr2.0: Store mappings in NameResolutionContext new df6eadda5ef gccrs: late: Start setting up builtin types new 0f0ec052b4a gccrs: late: Start storing mappings properly in the resolver new 53d979f361f gccrs: early: Resolve paths properly new 0a5cc7a4cb2 gccrs: toplevel: Add comment about running the collector twice new 1133c1c671d gccrs: ast: Add NodeId to UseTree base class new 17da301e2ae gccrs: early: Move `use` declaration resolving to TopLevel new 8fa748692cf gccrs: toplevel: Resolve `use` declarations new b71668068b1 gccrs: Create base class for TupleStructItems and TuplePatt [...] new 7a4c2f8e43f gccrs: Add unsafety member to modules new d6a0d96559b gccrs: Parse module safety new 5959f32d28f gccrs: Emit an error on unsafe modules new 088e3b0b7af gccrs: Add a regression test for unsafe module validation new b4fc851e3a0 gccrs: Remove backend dependancy on resolution rib information new f84e5642439 gccrs: Remove class AST::InherentImplItem new 12844c82dec gccrs: Split async and const function qualifiers new 68990dbeadc gccrs: Allow const and async specifiers in functions new 04b3089a47c gccrs: Add async const function ast validation pass new ac501a75b26 gccrs: Add a regression test for async const functions new 9279483f6e8 gccrs: Add AST validation check for const in trait new ab257dcd66c gccrs: Add regression test for const fn in trait new 9f6d3010047 gccrs: Make feature gate visitor inherit from default one new 1761af6b2a3 gccrs: Change the attribute checker visitor to default one new 4cd0315aa91 gccrs: Make early name resolver inherit from default one new a3f4152a312 gccrs: Add multiple regression test in name resolution new f5e04e40490 gccrs: Add execution test for name resolution 2.0 new 7a989394795 gccrs: Make function bodies truly optional new 04fd5a043b0 gccrs: Add validation for functions without body new a7991de39ff gccrs: Add a regression test for function body check new f48f9a9ac6f gccrs: Generate error for const trait functions new d7b2d6704f3 gccrs: Renamed `WIN64` to `WIN_64` new bdbc24c36ca gccrs: Allow enabling lang_items and no_core features new b3b5115533c gccrs: Make default resolver inherit from default visitor new 65fb288e0da gccrs: Make expand visitor inherit from default visitor new 5ee51aa3e5a gccrs: Change cfg stripper to use default visitor new 5bcfcfe9855 gccrs: refactor builtins initialization and attributes new cc9465332eb gccrs: HIR: add missing getters new ed198edc9bf gccrs: TyTy: Fix missed nodiscard new 35d5f82eaea gccrs: BIR: Fix missed nodiscard new 7eaef4f5b19 gccrs: TyTy: refactor to new API
The 75 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/rust/Make-lang.in | 2 + gcc/rust/ast/rust-ast-builder.cc | 2 +- gcc/rust/ast/rust-ast-collector.cc | 74 +-- gcc/rust/ast/rust-ast-full-decls.h | 1 - gcc/rust/ast/rust-ast-visitor.cc | 33 +- gcc/rust/ast/rust-ast.cc | 49 +- gcc/rust/ast/rust-ast.h | 288 ++++---- gcc/rust/ast/rust-item.h | 81 ++- gcc/rust/ast/rust-macro.h | 2 +- gcc/rust/ast/rust-path.h | 9 + gcc/rust/backend/rust-builtins.cc | 524 ++++++++------- gcc/rust/backend/rust-builtins.h | 118 +++- gcc/rust/backend/rust-compile-base.cc | 53 +- gcc/rust/backend/rust-compile-base.h | 3 - gcc/rust/backend/rust-compile-block.cc | 13 +- gcc/rust/backend/rust-compile-expr.cc | 5 +- gcc/rust/backend/rust-compile-intrinsic.cc | 68 +- gcc/rust/backend/rust-compile-stmt.cc | 16 +- gcc/rust/backend/rust-compile-var-decl.h | 69 +- .../errors/borrowck/rust-bir-builder-internal.h | 4 +- gcc/rust/checks/errors/borrowck/rust-bir-place.h | 6 +- gcc/rust/checks/errors/rust-ast-validation.cc | 79 +++ gcc/rust/checks/errors/rust-ast-validation.h | 5 + gcc/rust/checks/errors/rust-feature-gate.cc | 37 +- gcc/rust/checks/errors/rust-feature-gate.h | 7 +- gcc/rust/checks/errors/rust-feature.cc | 2 + gcc/rust/checks/errors/rust-feature.h | 2 + gcc/rust/expand/rust-cfg-strip.cc | 730 ++++++--------------- gcc/rust/expand/rust-cfg-strip.h | 52 +- gcc/rust/expand/rust-expand-visitor.cc | 502 +------------- gcc/rust/expand/rust-expand-visitor.h | 82 +-- gcc/rust/hir/rust-ast-lower-base.cc | 3 +- gcc/rust/hir/rust-ast-lower-implitem.h | 2 +- gcc/rust/hir/rust-ast-lower-item.cc | 2 +- gcc/rust/hir/tree/rust-hir-item.h | 16 +- gcc/rust/hir/tree/rust-hir-path.h | 4 + gcc/rust/hir/tree/rust-hir-pattern.h | 47 +- gcc/rust/hir/tree/rust-hir.cc | 25 +- gcc/rust/hir/tree/rust-hir.h | 7 +- gcc/rust/lex/rust-lex.cc | 4 +- gcc/rust/lex/rust-token.cc | 24 +- gcc/rust/lex/rust-token.h | 120 ++-- gcc/rust/parse/rust-parse-impl.h | 526 ++++++++------- gcc/rust/parse/rust-parse.cc | 18 +- gcc/rust/parse/rust-parse.h | 21 +- gcc/rust/resolve/rust-ast-resolve-item.cc | 4 +- gcc/rust/resolve/rust-ast-resolve-path.cc | 6 +- gcc/rust/resolve/rust-ast-resolve-stmt.h | 2 +- gcc/rust/resolve/rust-default-resolver.cc | 243 +------ gcc/rust/resolve/rust-default-resolver.h | 44 +- gcc/rust/resolve/rust-early-name-resolver-2.0.cc | 54 +- gcc/rust/resolve/rust-early-name-resolver-2.0.h | 15 +- gcc/rust/resolve/rust-early-name-resolver.cc | 683 +------------------ gcc/rust/resolve/rust-early-name-resolver.h | 94 +-- gcc/rust/resolve/rust-forever-stack.h | 49 +- gcc/rust/resolve/rust-forever-stack.hxx | 185 +++++- gcc/rust/resolve/rust-late-name-resolver-2.0.cc | 170 +++++ gcc/rust/resolve/rust-late-name-resolver-2.0.h | 60 ++ gcc/rust/resolve/rust-name-resolution-context.cc | 13 + gcc/rust/resolve/rust-name-resolution-context.h | 14 +- gcc/rust/resolve/rust-rib.h | 25 + .../resolve/rust-toplevel-name-resolver-2.0.cc | 200 +++++- gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h | 11 + gcc/rust/rust-attribs.cc | 370 +++++++++++ gcc/rust/rust-gcc.cc | 8 +- gcc/rust/rust-lang.cc | 6 + gcc/rust/typecheck/rust-hir-type-check-type.cc | 11 +- gcc/rust/typecheck/rust-tyty.h | 2 +- gcc/rust/util/rust-abi.cc | 4 +- gcc/rust/util/rust-abi.h | 2 +- gcc/rust/util/rust-attributes.cc | 26 +- gcc/rust/util/rust-attributes.h | 319 ++++----- gcc/rust/util/rust-common.h | 16 +- gcc/rust/util/rust-keyword-values.cc | 19 +- gcc/rust/util/rust-keyword-values.h | 33 +- gcc/rust/util/rust-token-converter.cc | 18 +- gcc/testsuite/rust/compile/auto_trait_invalid.rs | 5 +- .../rust/compile/auto_trait_super_trait.rs | 4 + gcc/testsuite/rust/compile/const_async_function.rs | 3 + gcc/testsuite/rust/compile/const_generics_8.rs | 7 +- gcc/testsuite/rust/compile/const_trait_fn.rs | 4 + gcc/testsuite/rust/compile/empty_union.rs | 2 + .../rust/compile/functions_without_body.rs | 21 + gcc/testsuite/rust/compile/generic_auto_trait.rs | 2 + gcc/testsuite/rust/compile/issue-2040.rs | 12 + gcc/testsuite/rust/compile/issue-2650-1.rs | 5 + gcc/testsuite/rust/compile/issue-2650-2.rs | 5 + gcc/testsuite/rust/compile/name_resolution11.rs | 7 + gcc/testsuite/rust/compile/name_resolution12.rs | 10 + gcc/testsuite/rust/compile/name_resolution13.rs | 9 + .../rust/compile/non_foreign_variadic_function.rs | 4 + gcc/testsuite/rust/compile/self_const_ptr.rs | 8 + gcc/testsuite/rust/compile/self_mut_ptr.rs | 8 + gcc/testsuite/rust/compile/self_ptr.rs | 8 + gcc/testsuite/rust/compile/sized-stub.rs | 6 + .../rust/compile/torture/builtin_abort.rs | 18 + gcc/testsuite/rust/compile/torture/intrinsics-1.rs | 22 - gcc/testsuite/rust/compile/torture/intrinsics-4.rs | 2 +- .../rust/compile/torture/intrinsics-math.rs | 80 +-- .../compile/{issue-2665.rs => trait_pub_type.rs} | 4 +- gcc/testsuite/rust/compile/unsafe_module.rs | 2 + gcc/testsuite/rust/execute/torture/atomic_load.rs | 4 +- gcc/testsuite/rust/execute/torture/atomic_store.rs | 4 +- .../rust/execute/torture/builtin_abort.rs | 14 + .../rust/execute/torture/name_resolution.rs | 24 + 105 files changed, 3208 insertions(+), 3539 deletions(-) create mode 100644 gcc/rust/resolve/rust-late-name-resolver-2.0.cc create mode 100644 gcc/rust/resolve/rust-late-name-resolver-2.0.h create mode 100644 gcc/rust/rust-attribs.cc create mode 100644 gcc/testsuite/rust/compile/auto_trait_super_trait.rs create mode 100644 gcc/testsuite/rust/compile/const_async_function.rs create mode 100644 gcc/testsuite/rust/compile/const_trait_fn.rs create mode 100644 gcc/testsuite/rust/compile/empty_union.rs create mode 100644 gcc/testsuite/rust/compile/functions_without_body.rs create mode 100644 gcc/testsuite/rust/compile/generic_auto_trait.rs create mode 100644 gcc/testsuite/rust/compile/issue-2040.rs create mode 100644 gcc/testsuite/rust/compile/issue-2650-1.rs create mode 100644 gcc/testsuite/rust/compile/issue-2650-2.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution11.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution12.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution13.rs create mode 100644 gcc/testsuite/rust/compile/non_foreign_variadic_function.rs create mode 100644 gcc/testsuite/rust/compile/self_const_ptr.rs create mode 100644 gcc/testsuite/rust/compile/self_mut_ptr.rs create mode 100644 gcc/testsuite/rust/compile/self_ptr.rs create mode 100644 gcc/testsuite/rust/compile/sized-stub.rs create mode 100644 gcc/testsuite/rust/compile/torture/builtin_abort.rs delete mode 100644 gcc/testsuite/rust/compile/torture/intrinsics-1.rs copy gcc/testsuite/rust/compile/{issue-2665.rs => trait_pub_type.rs} (53%) create mode 100644 gcc/testsuite/rust/compile/unsafe_module.rs create mode 100644 gcc/testsuite/rust/execute/torture/builtin_abort.rs create mode 100644 gcc/testsuite/rust/execute/torture/name_resolution.rs