This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 32e678b2ed7 c++/coroutines: only defer expanding co_{await,return,yield [...] new d403dd2c909 gccrs: session-manager: Dump name resolution pass. new debb0c76ec8 gccrs: session manager: Init Immutable name resolver. new 2b91f4b9d64 gccrs: nr2.0: Add lookup of resolved nodes. new e476d323446 gccrs: typecheck: Start using nr2.0 properly new 786bc62f957 gccrs: backend: Use new name resolver where necessary new 53c74beb3a1 gccrs: nr2.0: Start using newtype pattern for Usage and Dec [...] new c47cae71d32 gccrs: late: Setup builtin types properly, change Rib API new d61973e4dd4 gccrs: Fix duplicate detection new a3b96f6b747 gccrs: Emit error on identical use declarations new 97402694f71 gccrs: Change error message on unresolved import new 36ce08b23ed gccrs: Prevent error emission on resolver reentry new 1a7e904a7f0 gccrs: late: Add bool builtin type new 06ce1b34fc0 gccrs: Add modules to type namespace new 8c331e24575 gccrs: Add name resolution for on globbing use decl new d284cf6fe20 gccrs: Shape up name resolver for normal direct calls new f9ad1c29376 gccrs: Add call to globbing visitor new 16e00f3b14c gccrs: Make globbing definition shadowable by default new f085a67ebb0 gccrs: Add support for ambiguous use declarations new d9d7f79a422 gccrs: Add tuple struct constructor to value namespace new 54d806b3f11 gccrs: Change error message to match test new 73e6a3b5d6a gccrs: Visit function return type in default resolver new f120362d022 gccrs: Visit constant item type in default resolver new e206ac4f73c gccrs: Raw pointer type visitor didn't require overload new f5da3438541 gccrs: Values shall be inserted in the value namespace new 97539b7c20e gccrs: Unit struct constructor shall be resolved new 70f235ed8e3 gccrs: Add tuple struct to the type namespace new d5b9dc2354b gccrs: Change enum namespace from value to type new e47d270c0d5 gccrs: Struct are types, not values new 7f0763069f9 gccrs: Add constant identifiers to the value namespace new 4f17f2dd454 gccrs: Remove extern block scoping new 3b47d8a369b gccrs: Remove unsafe block empty visit function new f1b91d0a2bc gccrs: Use new name resolver to compile constant items new 5540afbd013 gccrs: Reinject Self parameter in new resolver new b87c06fd351 gccrs: Update assignment operator with cratenum new 215139e7e81 gccrs: Prevent getting immutable context with classic nr new 24216cde628 gccrs: Fix quoted string format new e126c71b36b gccrs: Add mappings for struct base and struct fields new c083906944b gccrs: Fix use rebind name resolution. new a20cc967f87 gccrs: compile: resolve-path-ref: properly resolve nodeId w [...] new 325bf274de2 gccrs: nr2.0: Add new test cases. new b8ab88d12de gccrs: Add globbing name resolution 2.0 test new 957b4ff94ed gccrs: Change dfs function return type to support gcc 4.8 new 3435f4e92b0 gccrs: Improve parsing of raw byte string literals new cde7407ec09 gccrs: Recognize rustc_deprecated as a builtin attribute new 90ce6ea184f gccrs: Recognize unstable as a builtin attribute new d3acfa7c7e4 gccrs: Avoid parsing const unsafe/extern functions as async new 6ea7ffe427c gccrs: Improve parsing of raw string literals new 4f3cab560f0 gccrs: raw-strings: Remove dg-excess-error directive new 3041332880c gccrs: unify: Always coerce `!` to the target type. new 1dd52452e64 gccrs: borrowck: Use rust-system.h new 01f57f4247d gccrs: borrowck: Unify BIR terminilogy (node->statement) new deca20fa566 gccrs: borrowck: BIR: use callable API new 42195d3706f gccrs: borrowck: BIR: Place tree traverse API new e2bf973ebe0 gccrs: borrowck: BIR: scope handling new cb36a8eb4aa gccrs: borrowck: BIR: emit moves new f93ee7c6d57 gccrs: borrowck: BIR: make BIR visitor const new 6bd9daea31d gccrs: borrowck: Polonius FFI new 2cfd6f98495 gccrs: borrowck: Free region representation new 8b0ce9e75a0 gccrs: borrowck: extract regions from types using VA new b4c24a11c81 gccrs: borrowck: Regions in BIR new 3c530f45a9c gccrs: borrowck: Fact collector new ab8bd1ac5e9 gccrs: borrowck: Remove block braces to satisfy GNU style new 1b6f101ad3b gccrs: borrowck: Bump copyright notice new 89ba071d8df gccrs: Visit type during resolution of inherent impl new 8d0a6e905ea gccrs: Add a test for inherent impl type name resolve new 7e88a1a34aa testsuite: Add filters for default_packed targets [PR116155]
The 66 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/backend/rust-compile-base.cc | 1 + gcc/rust/backend/rust-compile-context.h | 1 + gcc/rust/backend/rust-compile-expr.cc | 22 +- gcc/rust/backend/rust-compile-item.cc | 67 +- gcc/rust/backend/rust-compile-resolve-path.cc | 112 +-- gcc/rust/backend/rust-compile-resolve-path.h | 6 + .../checks/errors/borrowck/bir-design-notes.md | 13 +- .../checks/errors/borrowck/ffi-polonius/Cargo.toml | 11 + .../errors/borrowck/ffi-polonius/src/gccrs_ffi.rs | 61 ++ .../ffi-polonius/src/gccrs_ffi_generated.rs | 50 ++ .../checks/errors/borrowck/ffi-polonius/src/lib.rs | 133 ++++ .../errors/borrowck/polonius/rust-polonius-ffi.h | 109 +++ .../errors/borrowck/polonius/rust-polonius.h | 232 ++++++ .../errors/borrowck/rust-bir-builder-expr-stmt.cc | 143 ++-- .../errors/borrowck/rust-bir-builder-expr-stmt.h | 7 +- .../errors/borrowck/rust-bir-builder-internal.h | 324 +++++--- .../borrowck/rust-bir-builder-lazyboolexpr.h | 2 +- .../errors/borrowck/rust-bir-builder-pattern.h | 154 ++-- gcc/rust/checks/errors/borrowck/rust-bir-builder.h | 122 ++- gcc/rust/checks/errors/borrowck/rust-bir-dump.cc | 205 ++--- gcc/rust/checks/errors/borrowck/rust-bir-dump.h | 24 +- .../errors/borrowck/rust-bir-fact-collector.h | 862 +++++++++++++++++++++ .../checks/errors/borrowck/rust-bir-free-region.h | 117 +++ gcc/rust/checks/errors/borrowck/rust-bir-place.h | 301 +++++-- gcc/rust/checks/errors/borrowck/rust-bir-visitor.h | 20 +- gcc/rust/checks/errors/borrowck/rust-bir.h | 137 +++- .../checks/errors/borrowck/rust-borrow-checker.cc | 9 +- .../errors/borrowck/rust-function-collector.h | 7 +- gcc/rust/checks/lints/rust-lint-marklive.cc | 23 +- gcc/rust/lex/rust-lex.cc | 44 +- gcc/rust/parse/rust-parse-impl.h | 4 +- gcc/rust/resolve/rust-default-resolver.cc | 29 +- gcc/rust/resolve/rust-default-resolver.h | 3 - gcc/rust/resolve/rust-early-name-resolver-2.0.cc | 18 +- gcc/rust/resolve/rust-forever-stack.h | 33 +- gcc/rust/resolve/rust-forever-stack.hxx | 71 +- gcc/rust/resolve/rust-late-name-resolver-2.0.cc | 131 +++- gcc/rust/resolve/rust-late-name-resolver-2.0.h | 2 + gcc/rust/resolve/rust-name-resolution-context.cc | 34 +- gcc/rust/resolve/rust-name-resolution-context.h | 33 +- gcc/rust/resolve/rust-rib.cc | 95 ++- gcc/rust/resolve/rust-rib.h | 47 +- .../resolve/rust-toplevel-name-resolver-2.0.cc | 405 ++++++++-- gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h | 32 +- gcc/rust/rust-session-manager.cc | 34 +- gcc/rust/rust-session-manager.h | 1 + gcc/rust/rust-system.h | 3 + gcc/rust/typecheck/rust-hir-type-check-item.cc | 93 ++- gcc/rust/typecheck/rust-hir-type-check-path.cc | 20 +- gcc/rust/typecheck/rust-hir-type-check-type.cc | 21 +- gcc/rust/typecheck/rust-hir-type-check.h | 3 +- gcc/rust/typecheck/rust-tyty-subst.cc | 2 +- gcc/rust/typecheck/rust-tyty-subst.h | 3 +- .../rust-tyty-variance-analysis-private.h | 41 + gcc/rust/typecheck/rust-tyty-variance-analysis.cc | 87 ++- gcc/rust/typecheck/rust-tyty-variance-analysis.h | 31 +- gcc/rust/typecheck/rust-tyty.h | 3 +- gcc/rust/typecheck/rust-unify.cc | 36 +- gcc/rust/util/rust-attribute-values.h | 2 + gcc/rust/util/rust-attributes.cc | 4 +- gcc/rust/util/rust-canonical-path.h | 1 + gcc/rust/util/rust-hir-map.cc | 19 + gcc/rust/util/rust-hir-map.h | 3 + gcc/testsuite/g++.dg/abi/nsdmi-aggr1a.C | 2 +- gcc/testsuite/g++.dg/abi/nullptr-align2.C | 2 +- gcc/testsuite/g++.dg/cpp1z/aligned-new9.C | 2 +- gcc/testsuite/g++.dg/cpp2a/bit-cast5.C | 6 +- gcc/testsuite/g++.dg/pr53037-1.C | 4 +- gcc/testsuite/g++.dg/warn/Wpadded-1.C | 2 +- gcc/testsuite/rust/compile/deprecated-fn.rs | 4 + gcc/testsuite/rust/compile/func-const-unsafe.rs | 1 + gcc/testsuite/rust/compile/match-never-ltype.rs | 17 + gcc/testsuite/rust/compile/match-never-rtype.rs | 17 + gcc/testsuite/rust/compile/name_resolution13.rs | 6 +- gcc/testsuite/rust/compile/name_resolution14.rs | 15 + gcc/testsuite/rust/compile/name_resolution15.rs | 20 + gcc/testsuite/rust/compile/name_resolution16.rs | 18 + gcc/testsuite/rust/compile/name_resolution17.rs | 10 + gcc/testsuite/rust/compile/name_resolution18.rs | 15 + gcc/testsuite/rust/compile/name_resolution19.rs | 20 + gcc/testsuite/rust/compile/name_resolution20.rs | 11 + gcc/testsuite/rust/compile/name_resolution21.rs | 12 + gcc/testsuite/rust/compile/name_resolution22.rs | 5 + gcc/testsuite/rust/compile/name_resolution23.rs | 19 + gcc/testsuite/rust/compile/name_resolution24.rs | 15 + gcc/testsuite/rust/compile/name_resolution25.rs | 5 + gcc/testsuite/rust/compile/raw-byte-string-loc.rs | 6 + gcc/testsuite/rust/compile/raw-string-loc.rs | 6 + gcc/testsuite/rust/compile/unstable-fn.rs | 2 + 89 files changed, 4080 insertions(+), 825 deletions(-) create mode 100644 gcc/rust/checks/errors/borrowck/ffi-polonius/Cargo.toml create mode 100644 gcc/rust/checks/errors/borrowck/ffi-polonius/src/gccrs_ffi.rs create mode 100644 gcc/rust/checks/errors/borrowck/ffi-polonius/src/gccrs_ffi_gene [...] create mode 100644 gcc/rust/checks/errors/borrowck/ffi-polonius/src/lib.rs create mode 100644 gcc/rust/checks/errors/borrowck/polonius/rust-polonius-ffi.h create mode 100644 gcc/rust/checks/errors/borrowck/polonius/rust-polonius.h create mode 100644 gcc/rust/checks/errors/borrowck/rust-bir-fact-collector.h create mode 100644 gcc/rust/checks/errors/borrowck/rust-bir-free-region.h create mode 100644 gcc/testsuite/rust/compile/deprecated-fn.rs create mode 100644 gcc/testsuite/rust/compile/func-const-unsafe.rs create mode 100644 gcc/testsuite/rust/compile/match-never-ltype.rs create mode 100644 gcc/testsuite/rust/compile/match-never-rtype.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution14.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution15.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution16.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution17.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution18.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution19.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution20.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution21.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution22.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution23.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution24.rs create mode 100644 gcc/testsuite/rust/compile/name_resolution25.rs create mode 100644 gcc/testsuite/rust/compile/raw-byte-string-loc.rs create mode 100644 gcc/testsuite/rust/compile/raw-string-loc.rs create mode 100644 gcc/testsuite/rust/compile/unstable-fn.rs