This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from ecc863e85ef tree-optimization/108868 - new testcase new 7e7a9588044 gccrs: Fix missing dead code analysis ICE on local enum definition new 70808544618 gccrs: visibility: Rename get_public_vis_type -> get_vis_type new 1e8eb102200 gccrs: dump: Emit visibility when dumping items new 543ba35905b gccrs: Add catch for recusive type queries new d072b4a5164 gccrs: testing: try loop in const function new 980bd25e256 gccrs: ast: dump assignment and compound assignment expr new aeed747093c gccrs: ast: dump If expressions new 00e0684a78a gccrs: builtins: Move implementation into source file new 79434fabf76 gccrs: Track DefId on ADT variants new 31b77593edb gccrs: Ensure uniqueness on Path probe's new a5d3586a9b1 gccrs: Support looking up super traits for trait items new 8d02ef57a69 gccrs: ast: dump: add emit_generic_params helper new 4c807ef70db gccrs: ast: dump: add format_{tuple,struct}_field helpers new 0a762d20498 gccrs: ast: dump structs, enums and unions new ab6d8ad3f59 gccrs: intrinsics: Add data prefetching intrinsics new 570415e75c4 gccrs: fix ICE on missing closing paren new a08f265625e gccrs: mappings: Add MacroInvocation -> MacroRulesDef mappings new 295cd265088 gccrs: rust-ast-resolve-item: Add note about resolving glob uses new 2f1035fc91c gccrs: ast: Add accept_vis() method to `GenericArg` new 52219746917 gccrs: early-name-resolver: Add simple macro name resolution new 13556413e38 gccrs: Support type resolution on super traits on dyn objects new f49e2528241 gccrs: Add mappings for fn_once lang item new 2d7661e76e1 gccrs: Add ABI mappings for rust-call to map to ABI::RUST new 59bee4d4663 gccrs: Method resolution must support multiple candidates new b1510ce0fc7 gccrs: ast: dump: fix extra newline in block without tail new 0a9114c151b gccrs: ast: dump: minor fixups to IfExpr formatting new c091fd5f4a2 gccrs: ast: dump: ComparisonExpr and LazyBooleanExpr new f26e9ca3e9a gccrs: ast: dump: ArrayExpr new d1db46191ea gccrs: ast: dump: various simple Exprs new 173f98ae49d gccrs: ast: dump: RangeExprs new 74065c000e3 gccrs: Refactor TraitResolver to not require a visitor new acbaadfa46d gccrs: ast: dump TypeAlias new 8f0b1526e04 gccrs: Support outer attribute handling on trait items just [...] new 421494b5929 gccrs: dump: Emit visibility when dumping items new 31150a6366d gccrs: dump: Dump items within modules new 2f16df1b443 gccrs: dump: Fix module dumping new e535b7b3e38 gccrs: ast: Module: unloaded module and inner attributes new ec28fdb6aad gccrs: dump: Dump macro rules definition new 643ec1c253d gccrs: Add check for recursive trait cycles new e2647e5e5ad gccrs: ast: Refactor ASTFragment -> Fragment class new 68e743090df gccrs: rust: Replace uses of ASTFragment -> Fragment new b326cced19e gccrs: ast: Improve Fragment API new ed75e142a70 gccrs: Add missing fn_once_output langitem new 870dd9d5d3c gccrs: Refactor expression hir lowering into cc file new 9e19f329e52 gccrs: Formatting cleanup in HIR lowering pattern new 977e0e5227d gccrs: Add name resolution for closures new 4d021d9e019 gccrs: Refactor method call type checking new 898240946ca gccrs: Add closures to lints and error checking new 740a1997228 gccrs: Initial Type resolution for closures new 699e7e86276 gccrs: Closure support at CallExpr new 12e94515f89 gccrs: Add missing name resolution to Function type-path segments new 875f722de5e gccrs: Add missing hir lowering to function type-path segments new 51d180fcd7e gccrs: Add missing type resolution for function type segments new 21d19d2cf60 gccrs: Support Closure calls as generic trait bounds new a8531cd9a82 gccrs: Implement the inline visitor new 6ef1089ec27 gccrs: rust: Allow gccrs to build on x86_64-apple-darwin wi [...] new 4d39d3912ff gccrs: builtins: Rename all bang macro handlers new 782e070374a gccrs: intrinsics: Add `sorry_handler` intrinsic handler new 514284ecd97 gccrs: constexpr: Add `rust_sorry_at` in places relying on [...] new a7c8f7ee343 gccrs: intrinsics: Add early implementation for atomic_stor [...] new 1c586a1d1c1 gccrs: intrinsics: Add unchecked operation intrinsics new cb2cf21cf33 gccrs: intrinsics: Use lambdas for wrapping_<op> intrinsics new f4c818c623c gccrs: intrinsics: Cleanup error handling around atomic_store_* new 5b5a0ca7717 gccrs: intrinsics: Implement atomic_load intrinsics new aedd97a537c gccrs: ast: visitor pattern -> overload syntax compatibility layer new 3b5fb3f89b0 gccrs: ast: transform helper methods to visits and add meth [...] new a56faba9636 gccrs: ast: refer correctly to arguments in docs-strings new 04a16c58e34 gccrs: ast: Dump unit struct new 2fc01303604 gccrs: add lang item "phantom_data" new b84222899ca gccrs: add Location to AST::Visibility new 85f69a9b6ab gccrs: typecheck: Fix overzealous `delete` call new 907d11194ed gccrs: ast: add visit overload for references new bd2240d30f8 gccrs: ast: Dump where clause and recursively needed nodes new 59fb0747cc2 gccrs: ast: Dump slice type new 140a2aed7e1 gccrs: ast: Dump array type new 971d16cbfad gccrs: ast: Dump raw pointer type new c4c859bff8d gccrs: ast: Dump never type new 91409d27d5c gccrs: ast: Dump tuple type new ee0166fa1b8 gccrs: ast: Dump inferred type new ae1f6b3a96d gccrs: ast: Dump bare function type new ca06115eac1 gccrs: ast: Dump impl trait type one bound new 638f65b2083 gccrs: ast: Dump impl trait type new 7ed4a0ebc1d gccrs: ast: Dump trait object type new e311e9b7c59 gccrs: ast: Dump parenthesised type new 0bb33cb5741 gccrs: ast: Dump trait object type one bound new 1acb7e02ed8 gccrs: ast: Dump type param type new b8863414eda gccrs: ast: Dump generic parameters new ce13edd879d gccrs: ast: Remove unused include in rust-ast-dump.cc new 0e44abb1b50 gccrs: ast: Dump remove /* stmp */ comment to not clutter the dump new 567494f7030 gccrs: ast: Dump no comma after self in fn params if it is [...] new 78c70a50f74 gccrs: Remove default location. Add visibility location to [...] new 0ef795c3278 gccrs: Improve lexer dump new 01af669357c gccrs: Get rid of make builtin macro new 32a4659c5e4 gccrs: Refactor name resolver to take a Rib::ItemType new f7c258b2911 gccrs: Add closure binding's tracking to name resolution new eb1202224f8 gccrs: Add capture tracking to the type info for closures new 92389b46a96 gccrs: Add initial support for argument capture of closures new e7a69d4533a gccrs: Fix undefined behaviour issues on macos new 03df9a040c9 gccrs: Skip this debug test case which is failing on the la [...] new 9f455ed820c gccrs: Cleanup unused parameters to fix the bootstrap build new b9203d82ad2 gccrs: Repair 'gcc/rust/lang.opt' comment new 064bbd0fe10 gccrs: const evaluator: Remove get_nth_callarg new ecb409b23b8 gccrs: add math intrinsics
The 103 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 | 5 + gcc/rust/ast/rust-ast-dump.cc | 1462 +++++++++++++++----- gcc/rust/ast/rust-ast-dump.h | 75 +- gcc/rust/ast/rust-ast-fragment.cc | 171 +++ gcc/rust/ast/rust-ast-fragment.h | 118 ++ gcc/rust/ast/rust-ast-full-test.cc | 2 +- gcc/rust/ast/rust-ast.h | 134 +- gcc/rust/ast/rust-expr.h | 9 +- gcc/rust/ast/rust-item.h | 48 +- gcc/rust/ast/rust-macro.h | 19 +- gcc/rust/ast/rust-path.h | 19 + gcc/rust/ast/rust-type.h | 24 +- gcc/rust/backend/rust-builtins.cc | 305 ++++ gcc/rust/backend/rust-builtins.h | 120 +- gcc/rust/backend/rust-compile-block.h | 6 +- gcc/rust/backend/rust-compile-context.cc | 47 + gcc/rust/backend/rust-compile-context.h | 40 + gcc/rust/backend/rust-compile-expr.cc | 350 ++++- gcc/rust/backend/rust-compile-expr.h | 16 +- gcc/rust/backend/rust-compile-intrinsic.cc | 401 +++++- gcc/rust/backend/rust-compile-resolve-path.cc | 16 +- gcc/rust/backend/rust-compile-type.cc | 47 +- gcc/rust/backend/rust-compile.cc | 2 + gcc/rust/backend/rust-constexpr.cc | 121 +- gcc/rust/backend/rust-mangle.cc | 6 + gcc/rust/backend/rust-tree.cc | 38 +- gcc/rust/backend/rust-tree.h | 5 + .../checks/errors/privacy/rust-privacy-reporter.cc | 64 +- .../checks/errors/privacy/rust-privacy-reporter.h | 3 +- .../checks/errors/privacy/rust-reachability.cc | 4 +- .../errors/privacy/rust-visibility-resolver.cc | 8 +- gcc/rust/checks/errors/rust-const-checker.cc | 142 +- gcc/rust/checks/errors/rust-const-checker.h | 3 +- gcc/rust/checks/errors/rust-unsafe-checker.cc | 152 +- gcc/rust/checks/errors/rust-unsafe-checker.h | 3 +- gcc/rust/checks/lints/rust-lint-marklive.cc | 9 +- gcc/rust/checks/lints/rust-lint-marklive.h | 5 + gcc/rust/checks/lints/rust-lint-unused-var.cc | 2 +- gcc/rust/expand/rust-attribute-visitor.cc | 10 - gcc/rust/expand/rust-attribute-visitor.h | 4 +- gcc/rust/expand/rust-macro-builtins.cc | 118 +- gcc/rust/expand/rust-macro-builtins.h | 51 +- gcc/rust/expand/rust-macro-expand.cc | 70 +- gcc/rust/expand/rust-macro-expand.h | 27 +- gcc/rust/hir/rust-ast-lower-base.cc | 469 +++---- gcc/rust/hir/rust-ast-lower-base.h | 32 +- gcc/rust/hir/rust-ast-lower-expr.cc | 810 +++++++++++ gcc/rust/hir/rust-ast-lower-expr.h | 746 +--------- gcc/rust/hir/rust-ast-lower-implitem.h | 14 +- gcc/rust/hir/rust-ast-lower-pattern.cc | 18 + gcc/rust/hir/rust-ast-lower-pattern.h | 24 +- gcc/rust/hir/rust-ast-lower-type.cc | 232 ++++ gcc/rust/hir/rust-ast-lower-type.h | 63 +- gcc/rust/hir/rust-ast-lower.cc | 28 +- gcc/rust/hir/rust-hir-dump.cc | 10 +- gcc/rust/hir/rust-hir-dump.h | 3 +- gcc/rust/hir/tree/rust-hir-expr.h | 216 ++- gcc/rust/hir/tree/rust-hir-full-decls.h | 4 +- gcc/rust/hir/tree/rust-hir-full-test.cc | 39 +- gcc/rust/hir/tree/rust-hir-item.h | 12 +- gcc/rust/hir/tree/rust-hir-path.h | 105 +- gcc/rust/hir/tree/rust-hir-visitor.h | 9 +- gcc/rust/hir/tree/rust-hir.h | 5 +- gcc/rust/lang.opt | 4 +- gcc/rust/lex/rust-lex.cc | 53 +- gcc/rust/lex/rust-lex.h | 14 +- gcc/rust/metadata/rust-export-metadata.cc | 24 +- gcc/rust/parse/rust-parse-impl.h | 67 +- gcc/rust/parse/rust-parse.h | 2 - gcc/rust/resolve/rust-ast-resolve-expr.cc | 85 +- gcc/rust/resolve/rust-ast-resolve-expr.h | 48 +- gcc/rust/resolve/rust-ast-resolve-implitem.h | 12 +- gcc/rust/resolve/rust-ast-resolve-item.cc | 27 +- gcc/rust/resolve/rust-ast-resolve-pattern.cc | 2 +- gcc/rust/resolve/rust-ast-resolve-pattern.h | 12 +- gcc/rust/resolve/rust-ast-resolve-stmt.h | 19 +- gcc/rust/resolve/rust-ast-resolve-toplevel.h | 21 +- gcc/rust/resolve/rust-ast-resolve-type.cc | 21 +- gcc/rust/resolve/rust-ast-resolve-type.h | 2 +- gcc/rust/resolve/rust-ast-verify-assignee.h | 8 +- gcc/rust/resolve/rust-early-name-resolver.cc | 1087 +++++++++++++++ .../rust-early-name-resolver.h} | 141 +- gcc/rust/resolve/rust-name-resolver.cc | 261 +++- gcc/rust/resolve/rust-name-resolver.h | 55 +- gcc/rust/rust-session-manager.cc | 45 +- gcc/rust/typecheck/rust-autoderef.cc | 12 +- gcc/rust/typecheck/rust-hir-dot-operator.cc | 80 +- gcc/rust/typecheck/rust-hir-dot-operator.h | 16 +- .../typecheck/rust-hir-inherent-impl-overlap.h | 5 +- gcc/rust/typecheck/rust-hir-path-probe.h | 108 +- gcc/rust/typecheck/rust-hir-trait-ref.h | 43 + gcc/rust/typecheck/rust-hir-trait-resolve.cc | 65 +- gcc/rust/typecheck/rust-hir-trait-resolve.h | 10 +- gcc/rust/typecheck/rust-hir-type-check-base.cc | 10 + gcc/rust/typecheck/rust-hir-type-check-enumitem.cc | 4 + gcc/rust/typecheck/rust-hir-type-check-expr.cc | 357 ++++- gcc/rust/typecheck/rust-hir-type-check-expr.h | 42 +- gcc/rust/typecheck/rust-hir-type-check-item.cc | 9 +- gcc/rust/typecheck/rust-hir-type-check-item.h | 4 +- gcc/rust/typecheck/rust-hir-type-check-path.cc | 7 +- gcc/rust/typecheck/rust-hir-type-check-pattern.cc | 10 +- gcc/rust/typecheck/rust-hir-type-check-type.cc | 2 +- gcc/rust/typecheck/rust-hir-type-check.h | 43 + gcc/rust/typecheck/rust-tyctx.cc | 32 + gcc/rust/typecheck/rust-tyty-bounds.cc | 74 +- gcc/rust/typecheck/rust-tyty-call.cc | 99 +- gcc/rust/typecheck/rust-tyty-call.h | 79 +- gcc/rust/typecheck/rust-tyty-cmp.h | 37 +- gcc/rust/typecheck/rust-tyty-rules.h | 88 +- gcc/rust/typecheck/rust-tyty.cc | 116 +- gcc/rust/typecheck/rust-tyty.h | 76 +- gcc/rust/util/rust-abi.cc | 2 + gcc/rust/util/rust-attributes.cc | 312 ++--- gcc/rust/util/rust-hir-map.cc | 72 +- gcc/rust/util/rust-hir-map.h | 9 + gcc/rust/util/rust-inline-visitor.h | 92 ++ gcc/rust/util/rust-lang-item.h | 25 + gcc/rust/util/rust-optional.h | 1 + gcc/testsuite/rust/compile/const9.rs | 18 + gcc/testsuite/rust/compile/generics7.rs | 6 +- gcc/testsuite/rust/compile/issue-1272.rs | 8 + gcc/testsuite/rust/compile/issue-1589.rs | 5 + .../rust/compile/missing_closing_paren.rs | 3 + gcc/testsuite/rust/compile/torture/intrinsics-3.rs | 7 + gcc/testsuite/rust/compile/torture/intrinsics-4.rs | 20 + gcc/testsuite/rust/compile/torture/intrinsics-5.rs | 35 + gcc/testsuite/rust/compile/torture/intrinsics-6.rs | 21 + gcc/testsuite/rust/compile/torture/intrinsics-7.rs | 10 + .../rust/compile/torture/intrinsics-math.rs | 173 +++ .../trait13.rs => compile/torture/issue-1555.rs} | 32 +- gcc/testsuite/rust/compile/torture/phantom_data.rs | 11 + gcc/testsuite/rust/debug/chartype.rs | 15 +- gcc/testsuite/rust/execute/torture/atomic_load.rs | 31 + gcc/testsuite/rust/execute/torture/atomic_store.rs | 32 + gcc/testsuite/rust/execute/torture/closure1.rs | 18 + gcc/testsuite/rust/execute/torture/closure2.rs | 32 + gcc/testsuite/rust/execute/torture/closure3.rs | 33 + .../rust/execute/torture/operator_overload_9.rs | 2 +- .../rust/execute/torture/prefetch_data.rs | 17 + 139 files changed, 8325 insertions(+), 3275 deletions(-) create mode 100644 gcc/rust/ast/rust-ast-fragment.cc create mode 100644 gcc/rust/ast/rust-ast-fragment.h create mode 100644 gcc/rust/backend/rust-builtins.cc create mode 100644 gcc/rust/hir/rust-ast-lower-expr.cc create mode 100644 gcc/rust/hir/rust-ast-lower-type.cc create mode 100644 gcc/rust/resolve/rust-early-name-resolver.cc copy gcc/rust/{hir/rust-ast-lower-base.h => resolve/rust-early-name-resolver.h} (69%) create mode 100644 gcc/rust/util/rust-inline-visitor.h create mode 100644 gcc/testsuite/rust/compile/const9.rs create mode 100644 gcc/testsuite/rust/compile/issue-1272.rs create mode 100644 gcc/testsuite/rust/compile/issue-1589.rs create mode 100644 gcc/testsuite/rust/compile/missing_closing_paren.rs create mode 100644 gcc/testsuite/rust/compile/torture/intrinsics-3.rs create mode 100644 gcc/testsuite/rust/compile/torture/intrinsics-4.rs create mode 100644 gcc/testsuite/rust/compile/torture/intrinsics-5.rs create mode 100644 gcc/testsuite/rust/compile/torture/intrinsics-6.rs create mode 100644 gcc/testsuite/rust/compile/torture/intrinsics-7.rs create mode 100644 gcc/testsuite/rust/compile/torture/intrinsics-math.rs copy gcc/testsuite/rust/{execute/torture/trait13.rs => compile/torture/issue-1555. [...] create mode 100644 gcc/testsuite/rust/compile/torture/phantom_data.rs create mode 100644 gcc/testsuite/rust/execute/torture/atomic_load.rs create mode 100644 gcc/testsuite/rust/execute/torture/atomic_store.rs create mode 100644 gcc/testsuite/rust/execute/torture/closure1.rs create mode 100644 gcc/testsuite/rust/execute/torture/closure2.rs create mode 100644 gcc/testsuite/rust/execute/torture/closure3.rs create mode 100644 gcc/testsuite/rust/execute/torture/prefetch_data.rs