https://gcc.gnu.org/g:ec1cf232403a6da004f10d292409216317036d89
commit ec1cf232403a6da004f10d292409216317036d89
Author: Arthur Cohen
Date: Sat Dec 21 22:53:50 2024 +
ast: Add new constructors for PathInExpression
This commit adds two new constructors for AST::PathInExpression:
https://gcc.gnu.org/g:62058776ed9efe98b1c3677383bc82db04aa4608
commit 62058776ed9efe98b1c3677383bc82db04aa4608
Author: Arthur Cohen
Date: Sat Dec 21 22:52:57 2024 +
ast-builder: Add more methods
This commit adds new methods for building pattern nodes, match expressions
and mo
https://gcc.gnu.org/g:5ab3543b1b0753f48ba364f4b6ea29c5a3f80ffa
commit 5ab3543b1b0753f48ba364f4b6ea29c5a3f80ffa
Author: Arthur Cohen
Date: Wed Dec 25 11:03:44 2024 +
resolve: Name resolve trait bounds properly
gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-type
https://gcc.gnu.org/g:af5fdeebdcde53bded8145c6eb4cca9ca1ad047b
commit af5fdeebdcde53bded8145c6eb4cca9ca1ad047b
Author: Arthur Cohen
Date: Fri Dec 20 11:29:32 2024 +
typecheck-path: Fix typo (reciever -> receiver)
gcc/rust/ChangeLog:
* typecheck/rust-hir-path-p
https://gcc.gnu.org/g:198d3ee34fbeec1749c184e30cc13b3d323f90dc
commit 198d3ee34fbeec1749c184e30cc13b3d323f90dc
Author: Liam Naddell
Date: Tue Dec 17 11:48:03 2024 -0500
Fix NR2.0 compiler ICE caused by Generics in Enums
gcc/rust/ChangeLog:
* resolve/rust-late-name-reso
https://gcc.gnu.org/g:daf98a1495d274dd12eba238229741c80899bdcc
commit daf98a1495d274dd12eba238229741c80899bdcc
Author: Arthur Cohen
Date: Thu Jan 2 18:31:54 2025 +
ast: Add EnumItem::Kind
gcc/rust/ChangeLog:
* ast/rust-item.h: Add EnumItem::Kind for differenti
https://gcc.gnu.org/g:9a07804e4d950331a63eac23615ab99b41388b0a
commit 9a07804e4d950331a63eac23615ab99b41388b0a
Author: Arthur Cohen
Date: Wed Dec 18 12:20:27 2024 +0100
lang-items: Collect trait functions that are lang items
gcc/rust/ChangeLog:
* ast/rust-collect-
https://gcc.gnu.org/g:43369f262c5a3dc63ae6a14c679f25d06256084d
commit 43369f262c5a3dc63ae6a14c679f25d06256084d
Author: Owen Avery
Date: Thu Jan 2 05:29:03 2025 -0500
nr2.0: Resolve type aliases inside trait definitions
gcc/rust/ChangeLog:
* resolve/rust-toplevel-n
https://gcc.gnu.org/g:26d3103c2d65741221920a0239d9f02ac5e61e6d
commit 26d3103c2d65741221920a0239d9f02ac5e61e6d
Author: Arthur Cohen
Date: Sat Dec 21 22:56:52 2024 +
ast: Add new Kind enums for more precise downcasting
This commit adds things like Item::Kind, Expr::Kind, etc, a
https://gcc.gnu.org/g:fa6747f326dfbf883292d5599c7d926cbf6c62e3
commit fa6747f326dfbf883292d5599c7d926cbf6c62e3
Author: Owen Avery
Date: Thu Jan 2 05:55:38 2025 -0500
nr2.0: Improve default, top-level, and late resolvers
gcc/rust/ChangeLog:
* resolve/rust-default-r
https://gcc.gnu.org/g:a62630f99093b253bf499d0c2da4765e197a5608
commit a62630f99093b253bf499d0c2da4765e197a5608
Author: Prajwal S N
Date: Mon Dec 16 13:29:46 2024 +0530
gccrs: use StackedContexts for block context
Replaces the DIY vector stack with a StackedContexts object for bloc
https://gcc.gnu.org/g:31d3f550bad1d8fe8d9f0d08252412a8d106d860
commit 31d3f550bad1d8fe8d9f0d08252412a8d106d860
Author: Arthur Cohen
Date: Wed Dec 25 17:55:09 2024 +
lower: Correctly lower parenthesized types
This is useful for handling multiple trait bounds, and required for b
https://gcc.gnu.org/g:9de42352bb28dc20752fa81ca26cf9929936a48a
commit 9de42352bb28dc20752fa81ca26cf9929936a48a
Author: Arthur Cohen
Date: Wed Dec 25 18:13:43 2024 +
tychk: Add more support for additional trait bounds in functions
This commit correctly lowers and typechecks par
https://gcc.gnu.org/g:48aa71c3a7f5b8d9eb634c53e389c74dc29f7fe2
commit 48aa71c3a7f5b8d9eb634c53e389c74dc29f7fe2
Author: Philip Herron
Date: Mon Jan 6 11:02:51 2025 +
gccrs: fix ICE during HIR dump
These hir nodes have optional expressions which need guarded
gcc/rust/Ch
https://gcc.gnu.org/g:f3b1216cc6b8f1341ca635f679e7987c454e263d
commit f3b1216cc6b8f1341ca635f679e7987c454e263d
Author: Jason Merrill
Date: Tue Sep 17 17:38:35 2024 -0400
build: update bootstrap req to C++14
We moved to a bootstrap requirement of C++11 in GCC 11, 8 years after
https://gcc.gnu.org/g:533abf7e53c6edb699d67418a84b662bd41cf381
commit 533abf7e53c6edb699d67418a84b662bd41cf381
Author: Arthur Cohen
Date: Thu Dec 26 10:57:07 2024 +
derive(Clone): Mark PhantomData as a lang item
gcc/testsuite/ChangeLog:
* rust/compile/derive_m
https://gcc.gnu.org/g:b8eb6cd44753940f312db3d42ba7c2e6a0a57dbd
commit b8eb6cd44753940f312db3d42ba7c2e6a0a57dbd
Author: Arthur Cohen
Date: Tue Dec 31 17:36:50 2024 +
ast-collector: Adapt to lang item type path segments
gcc/rust/ChangeLog:
* ast/rust-ast-collect
https://gcc.gnu.org/g:d970cf081f7528938470e66c3dc5ee9940d1645f
commit d970cf081f7528938470e66c3dc5ee9940d1645f
Author: Arthur Cohen
Date: Thu Dec 26 10:50:13 2024 +
derive(Clone): Manually generate AssertParamIsCopy struct for unions
gcc/rust/ChangeLog:
* expa
https://gcc.gnu.org/g:3351befe04d041e57f345075727346573c78560e
commit 3351befe04d041e57f345075727346573c78560e
Author: Arthur Cohen
Date: Fri Jan 3 15:46:33 2025 +
lang-items: Mark Clone trait as a lang item in testsuite
gcc/testsuite/ChangeLog:
* rust/compile
https://gcc.gnu.org/g:1a0ec0ec4c8045772603f667abd306266f824ea2
commit 1a0ec0ec4c8045772603f667abd306266f824ea2
Author: Arthur Cohen
Date: Thu Dec 26 22:09:11 2024 +
derive(Copy): Use copy lang item when deriving Copy.
gcc/rust/ChangeLog:
* expand/rust-derive-c
https://gcc.gnu.org/g:aacecbae35bec0f9fbbc53f9db1c46fa6ba70ecc
commit aacecbae35bec0f9fbbc53f9db1c46fa6ba70ecc
Author: Arthur Cohen
Date: Fri Jan 3 14:28:07 2025 +
ast-collector: Fix tuple struct pattern collection
gcc/rust/ChangeLog:
* ast/rust-ast-collector.
https://gcc.gnu.org/g:40574e5eb02fb0d607267f39e338dcbd53f650da
commit 40574e5eb02fb0d607267f39e338dcbd53f650da
Author: Arthur Cohen
Date: Fri Jan 3 14:27:52 2025 +
derive(Clone): Implement clone for enum tuple variants
gcc/rust/ChangeLog:
* expand/rust-derive-
https://gcc.gnu.org/g:43747f4062a81e3b3f0e10b8ff2573eab9acca35
commit 43747f4062a81e3b3f0e10b8ff2573eab9acca35
Author: Arthur Cohen
Date: Thu Jan 2 10:59:33 2025 +
derive(Clone): Add deriving of simple enum variants
gcc/rust/ChangeLog:
* expand/rust-derive-clo
https://gcc.gnu.org/g:0722d35b69aa281622be416417a242a1fa698890
commit 0722d35b69aa281622be416417a242a1fa698890
Author: Arthur Cohen
Date: Thu Jan 2 11:00:21 2025 +
derive(Clone): Improve existing testcase
gcc/testsuite/ChangeLog:
* rust/compile/derive_macro4.r
https://gcc.gnu.org/g:9c6e09e2f73c056ad30382a5d000d938e1dfd473
commit 9c6e09e2f73c056ad30382a5d000d938e1dfd473
Author: Arthur Cohen
Date: Wed Jan 15 11:55:54 2025 +
nr2.0: late: Better format PathInExpression resolution
gcc/rust/ChangeLog:
* resolve/rust-late-
https://gcc.gnu.org/g:1c47dbe119b33765ab151d54a1992fe3ff44fbe8
commit 1c47dbe119b33765ab151d54a1992fe3ff44fbe8
Author: Arthur Cohen
Date: Wed Jan 15 10:41:28 2025 +
derive(Clone): Add lang item typepaths failure testcases to nr2 exclude
gcc/testsuite/ChangeLog:
https://gcc.gnu.org/g:e8d3ccf05dce82d682649865a8e5fc61b92fc2d4
commit e8d3ccf05dce82d682649865a8e5fc61b92fc2d4
Author: Arthur Cohen
Date: Thu Dec 26 23:01:32 2024 +
derive(Clone): Use lang item for PhantomData in Clone
gcc/rust/ChangeLog:
* expand/rust-derive-
https://gcc.gnu.org/g:0c52c4c271dbde15541f495977ae9f9b14c49ef9
commit 0c52c4c271dbde15541f495977ae9f9b14c49ef9
Author: Arthur Cohen
Date: Thu Jan 2 10:56:11 2025 +
derive(Clone): Add note about Clone::clone()
gcc/rust/ChangeLog:
* expand/rust-derive-clone.cc (
https://gcc.gnu.org/g:4b3588023ed829338da66d69f86df361dbf93066
commit 4b3588023ed829338da66d69f86df361dbf93066
Author: Arthur Cohen
Date: Thu Dec 26 22:09:46 2024 +
ast-builder: Add new methods around type paths.
gcc/rust/ChangeLog:
* ast/rust-ast-builder.cc:
https://gcc.gnu.org/g:c84c92ac0fa33bb8bc2f01aa74d0fd15302913a1
commit c84c92ac0fa33bb8bc2f01aa74d0fd15302913a1
Author: Arthur Cohen
Date: Wed Jan 15 12:58:53 2025 +
hir-dump: Improve handling of typepathsegments that are lang items.
gcc/rust/ChangeLog:
* hir/r
https://gcc.gnu.org/g:1f39e0f2cbe23d46b805f976db0807e5aa27d362
commit 1f39e0f2cbe23d46b805f976db0807e5aa27d362
Author: Arthur Cohen
Date: Mon Jan 20 11:36:53 2025 +
derive(Clone): Use lang item bounds on AssertParamIsCopy
gcc/rust/ChangeLog:
* expand/rust-deri
https://gcc.gnu.org/g:2d76d473f7b1f699ae939e6fa5cb821eebcd3881
commit 2d76d473f7b1f699ae939e6fa5cb821eebcd3881
Author: Arthur Cohen
Date: Wed Jan 15 13:00:45 2025 +
derive(Clone): Add Clone bound on generated impl blocks
gcc/rust/ChangeLog:
* expand/rust-deriv
https://gcc.gnu.org/g:490c70374d9e98d8f9b761afe1be1a36a8ed41d0
commit 490c70374d9e98d8f9b761afe1be1a36a8ed41d0
Author: Arthur Cohen
Date: Thu Jan 16 14:46:06 2025 +0100
derive(Copy): Improve bounds when deriving Copy
gcc/rust/ChangeLog:
* expand/rust-derive-copy.c
https://gcc.gnu.org/g:53dfc6acf966284a86826141c8f364c1732d3d3d
commit 53dfc6acf966284a86826141c8f364c1732d3d3d
Author: Arthur Cohen
Date: Thu Jan 16 17:10:02 2025 +0100
typecheck: Add basic handling for applying auto trait bounds
gcc/rust/ChangeLog:
* hir/rust-ast
https://gcc.gnu.org/g:289bf52597fbe4cd85c0dca2bcb0404a960ad588
commit 289bf52597fbe4cd85c0dca2bcb0404a960ad588
Author: Pierre-Emmanuel Patry
Date: Mon Nov 25 18:04:06 2024 +0100
Fix rust breakage with nr2
Nr2 did not emit the correct error message for break identifier "rust".
https://gcc.gnu.org/g:8a50054579daceca97cc83d02db949d85c7fdfba
commit 8a50054579daceca97cc83d02db949d85c7fdfba
Author: lishin
Date: Mon Jan 20 17:53:18 2025 +
lang-item:Add LangItem::Kind::RECEIVER
Add and implement a lang item (receiver) in source code.
gcc/rust/Chan
https://gcc.gnu.org/g:f027f0a605b58b495878fde922a5b2eab08d6124
commit f027f0a605b58b495878fde922a5b2eab08d6124
Author: Arthur Cohen
Date: Fri Jan 3 15:14:45 2025 +
derive(Clone): Implement derive clone for enum struct variants
gcc/rust/ChangeLog:
* expand/rust
https://gcc.gnu.org/g:a7d273ca770382b941453a00f579abdf3e606f4a
commit a7d273ca770382b941453a00f579abdf3e606f4a
Author: Arthur Cohen
Date: Wed Jan 22 12:36:59 2025 +
hir: Adapt visitors to lang item PathInExpressions
gcc/rust/ChangeLog:
* backend/rust-compile-r
https://gcc.gnu.org/g:e6a2ce133f88bb5ba9a8a146170a9bbd3e9d77ed
commit e6a2ce133f88bb5ba9a8a146170a9bbd3e9d77ed
Author: Arthur Cohen
Date: Wed Jan 22 12:37:58 2025 +
mappings: Improve error message for get_lang_item_node
gcc/rust/ChangeLog:
* util/rust-hir-map.
https://gcc.gnu.org/g:2b473162d33e0f3fe31a7f098c745cb388a01aa4
commit 2b473162d33e0f3fe31a7f098c745cb388a01aa4
Author: Pierre-Emmanuel Patry
Date: Mon Jan 20 13:49:25 2025 +0100
Add environment capture to NR2
The compiler was still relying on NR1 for closure captures when using nr
https://gcc.gnu.org/g:a3e147802e38ec7fc027d4b4116e110ac0a0d7b8
commit a3e147802e38ec7fc027d4b4116e110ac0a0d7b8
Author: Dylan Gardner
Date: Thu Aug 29 04:43:42 2024 -0700
Infer crate name after file opening
Fixes #3129.
gcc/rust/ChangeLog:
* rust-session-m
https://gcc.gnu.org/g:33d901d12755e16ee70ace5c9afc07e9aac0c4af
commit 33d901d12755e16ee70ace5c9afc07e9aac0c4af
Author: Arthur Cohen
Date: Mon Dec 23 10:27:13 2024 +
lang-items: Collect enum variants as lang items
gcc/rust/ChangeLog:
* ast/rust-collect-lang-ite
https://gcc.gnu.org/g:dd750c98ceab1d511587edbceb78dbc5b7cfb15c
commit dd750c98ceab1d511587edbceb78dbc5b7cfb15c
Author: Owen Avery
Date: Thu Jan 23 12:34:01 2025 -0500
Update upload-artifact to v4
ChangeLog:
* .github/workflows/ccpp.yml: Update actions/upload-artif
https://gcc.gnu.org/g:60e0d0453fbddef7cf8495f896f9ac189f4d7e17
commit 60e0d0453fbddef7cf8495f896f9ac189f4d7e17
Author: Philip Herron
Date: Tue Jan 21 17:19:13 2025 +
gccrs: catch missing guard for optional result
When we lookup here it returns an optional which can lead to a c
https://gcc.gnu.org/g:98d89d58d7c6b25fc6e29735c3b6d051fd45ae8a
commit 98d89d58d7c6b25fc6e29735c3b6d051fd45ae8a
Author: Pierre-Emmanuel Patry
Date: Fri Jan 24 16:02:10 2025 +0100
Add captures for ClosureExprInnerTyped with nr2
Captures were only processed for regular ClosureExprInn
https://gcc.gnu.org/g:9f2c6de83509ae6ca1679a66b0b1be158386fc4e
commit 9f2c6de83509ae6ca1679a66b0b1be158386fc4e
Author: Arthur Cohen
Date: Wed Jan 22 16:52:26 2025 +
ast: Add Path::is_lang_item()
gcc/rust/ChangeLog:
* ast/rust-path.h: New function.
Diff:
---
https://gcc.gnu.org/g:6a2346279bb49a8c8cd81496186c6c98764614e7
commit 6a2346279bb49a8c8cd81496186c6c98764614e7
Author: Arthur Cohen
Date: Fri Jan 24 10:42:54 2025 +0100
backend: Improve handling of lang-item PathInExpressions
gcc/rust/ChangeLog:
* backend/rust-com
https://gcc.gnu.org/g:068e33b4f8724c76c9515e890ec064dd49faa0f1
commit 068e33b4f8724c76c9515e890ec064dd49faa0f1
Author: Arthur Cohen
Date: Mon Dec 16 13:01:13 2024 +0100
hir: Add LangItem paths to PathPattern class
gcc/rust/ChangeLog:
* hir/tree/rust-hir-path.h: Ad
https://gcc.gnu.org/g:e9659126e74d003fb704e23c01120e23d484bddb
commit e9659126e74d003fb704e23c01120e23d484bddb
Author: Pierre-Emmanuel Patry
Date: Thu Dec 12 13:16:14 2024 +0100
Remove query mode on CompileItem
Query mode was a hack to catch up some compile errors early, it was
https://gcc.gnu.org/g:05348933bd4708a91bfce94720890f7d6fac615f
commit 05348933bd4708a91bfce94720890f7d6fac615f
Author: Pierre-Emmanuel Patry
Date: Mon Jan 6 15:55:53 2025 +0100
Resolved item type shall be differentiated later
We need to query all namespaces and error out at a late
https://gcc.gnu.org/g:a7419e6998ca7db4b87a479ad2376c4b1b34d4be
commit a7419e6998ca7db4b87a479ad2376c4b1b34d4be
Author: Pierre-Emmanuel Patry
Date: Wed Dec 11 15:12:00 2024 +0100
Add unit struct to name namespace in old resolver
We missed the name namespace for unit struct in the o
https://gcc.gnu.org/g:88fa2ca42f90be216f53fceaa5b008113a64991b
commit 88fa2ca42f90be216f53fceaa5b008113a64991b
Author: Pierre-Emmanuel Patry
Date: Thu Dec 12 14:39:12 2024 +0100
Remove some tests from nr2 exclusion file
Those test are now passing.
gcc/testsuite/ChangeLog:
https://gcc.gnu.org/g:55c047ebe117ec97c8d9040035d73113ae0d6fd2
commit 55c047ebe117ec97c8d9040035d73113ae0d6fd2
Author: Pierre-Emmanuel Patry
Date: Wed Dec 11 14:19:44 2024 +0100
Add debug dump to old name resolver
It might be necessary to compare both name resolution' internal sta
https://gcc.gnu.org/g:761d424d2a7af38aacad9ffd5b5132fcf286ac2e
commit 761d424d2a7af38aacad9ffd5b5132fcf286ac2e
Author: Liam Naddell
Date: Thu Jan 30 20:51:21 2025 -0500
Add option_env! support
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-utility.cc: Add macro expan
https://gcc.gnu.org/g:51a2da3d567dfbc70e9407276dfabc0b963ad420
commit 51a2da3d567dfbc70e9407276dfabc0b963ad420
Author: Arthur Cohen
Date: Thu Jan 23 11:43:31 2025 +
ast: Add new Expr::Kinds
Collapses all of the OperatorExprs into Expr instead of first having to
check for Oper
https://gcc.gnu.org/g:8a768c72cc077a8d62a7966a7c95727fa760c291
commit 8a768c72cc077a8d62a7966a7c95727fa760c291
Author: Arthur Cohen
Date: Thu Jan 30 10:50:30 2025 +0100
derive-visitor: Add method for setting up derived impl generics
gcc/rust/ChangeLog:
* expand/ru
https://gcc.gnu.org/g:ad46f0871d80966a1dd1adf7bf444c99f094d42a
commit ad46f0871d80966a1dd1adf7bf444c99f094d42a
Author: Philip Herron
Date: Tue Jan 21 17:20:06 2025 +
gccrs: add support for ref literal patterns
Fixes Rust-GCC#3174
gcc/rust/ChangeLog:
*
https://gcc.gnu.org/g:47fd13da4f825706f59ffd039ce8c6cf9d4767d5
commit 47fd13da4f825706f59ffd039ce8c6cf9d4767d5
Author: Pierre-Emmanuel Patry
Date: Mon Jan 6 15:53:31 2025 +0100
Make foreverstack debug string const
Those function should not change anything within the foreverstack,
https://gcc.gnu.org/g:adf6afb8205de374e95d8fb08573428630289547
commit adf6afb8205de374e95d8fb08573428630289547
Author: Arthur Cohen
Date: Fri Jan 31 12:26:21 2025 +
nr2.0: late: Add proper handling for lang item PathInExpressions
gcc/rust/ChangeLog:
* resolve/
https://gcc.gnu.org/g:9d6bd59e86946aeea41551f8ab227f3954235029
commit 9d6bd59e86946aeea41551f8ab227f3954235029
Author: Arthur Cohen
Date: Thu Jan 30 14:19:03 2025 +0100
lang-items: Add structural_{peq, teq}
These lang items are used when deriving Eq and PartialEq, and will be
che
https://gcc.gnu.org/g:e42c64242b8f25dcf30aee35ee059bdd8873561f
commit e42c64242b8f25dcf30aee35ee059bdd8873561f
Author: Arthur Cohen
Date: Thu Jan 30 13:08:33 2025 +0100
scan-deadcode: Do not warn unused fields if they start with '_'
gcc/rust/ChangeLog:
* checks/li
https://gcc.gnu.org/g:84bca6f2712a04eb8c0f951c16cafd11202ba950
commit 84bca6f2712a04eb8c0f951c16cafd11202ba950
Author: Pierre-Emmanuel Patry
Date: Sat Jan 11 22:35:08 2025 +0100
Remove some passing test from exclude file
Those tests are now passing.
gcc/testsuite/ChangeLo
https://gcc.gnu.org/g:7ba77d01d77e58ed707fbc6ff6bd9f23e6dfeb22
commit 7ba77d01d77e58ed707fbc6ff6bd9f23e6dfeb22
Author: Pierre-Emmanuel Patry
Date: Mon Jan 13 18:26:37 2025 +0100
Compile unit struct with constructor
gcc/rust/ChangeLog:
* backend/rust-compile-resolv
https://gcc.gnu.org/g:218df42d73bb853c3ee080ffaafb12f6522fc31c
commit 218df42d73bb853c3ee080ffaafb12f6522fc31c
Author: Philip Herron
Date: Mon Feb 3 15:15:40 2025 +
gccrs: Fix ICE during path probe
It is valid for the query to fail here so its valid to not assert here.
https://gcc.gnu.org/g:b33f6348b7bfd7d9060f0614d54af2fb98d8bc2a
commit b33f6348b7bfd7d9060f0614d54af2fb98d8bc2a
Author: Arthur Cohen
Date: Wed Dec 25 17:02:38 2024 +
parser: Add testcases for multiline strings
Regression checks for Rust-GCC#1399
gcc/testsuite/ChangeLog
https://gcc.gnu.org/g:5c647947f411cdb00e753a31b101bcfef4aea134
commit 5c647947f411cdb00e753a31b101bcfef4aea134
Author: Arthur Cohen
Date: Wed Dec 25 11:08:25 2024 +
lang-item: Add Sync trait
gcc/rust/ChangeLog:
* util/rust-lang-item.h: Add Sync marker trait.
https://gcc.gnu.org/g:4a053730c5c880984be1a7f8b6cfb19b62aa3331
commit 4a053730c5c880984be1a7f8b6cfb19b62aa3331
Author: Arthur Cohen
Date: Thu Jan 23 11:42:38 2025 +
ast: builder: Add Return expression builder
gcc/rust/ChangeLog:
* ast/rust-ast-builder.h: Decla
https://gcc.gnu.org/g:a4a3183322dc195b3f235618d28ddca3e320a5fa
commit a4a3183322dc195b3f235618d28ddca3e320a5fa
Author: Owen Avery
Date: Mon Oct 21 18:02:48 2024 -0400
nr2.0: Remove accidental copies of resolver
gcc/rust/ChangeLog:
* backend/rust-compile-expr.cc
https://gcc.gnu.org/g:668c3bf7b7b45f8cea7a09515b6420cece877881
commit 668c3bf7b7b45f8cea7a09515b6420cece877881
Author: Owen Avery
Date: Sat Jan 4 14:59:54 2025 -0500
Fix bug in type resolution of paths
gcc/rust/ChangeLog:
* resolve/rust-early-name-resolver-2.0.cc
https://gcc.gnu.org/g:b57ab7aaa7a9472ec7204a5d5c539f05c93e121f
commit b57ab7aaa7a9472ec7204a5d5c539f05c93e121f
Author: Arthur Cohen
Date: Wed Jan 29 18:11:28 2025 +
ast-builder: Add new functions to create type paths.
gcc/rust/ChangeLog:
* ast/rust-ast-builder
https://gcc.gnu.org/g:842c1cf95d6e731e72449b36539d85624fa77161
commit 842c1cf95d6e731e72449b36539d85624fa77161
Author: Philip Herron
Date: Mon Feb 3 15:14:48 2025 +
gccrs: Fix crash in privay reporter for placeholder types
This guards against a crash but i think this should ac
https://gcc.gnu.org/g:0d4b15cb70f2ab20e9b8a533f592cbb6fc8efe87
commit 0d4b15cb70f2ab20e9b8a533f592cbb6fc8efe87
Author: Arthur Cohen
Date: Sun Dec 22 15:59:27 2024 +
ast: Add DesugarForLoop class
gcc/rust/ChangeLog:
* ast/rust-desugar-for-loops.cc: New file.
https://gcc.gnu.org/g:df1a65d6d275e097f73bb0c6652061e4dca240ab
commit df1a65d6d275e097f73bb0c6652061e4dca240ab
Author: Arthur Cohen
Date: Wed Jan 29 18:10:01 2025 +
derive(Debug): Add stub implementation.
gcc/rust/ChangeLog:
* expand/rust-derive-debug.cc: New
https://gcc.gnu.org/g:f2164b70405cff91154e9e661021b859b089434b
commit f2164b70405cff91154e9e661021b859b089434b
Author: Arthur Cohen
Date: Thu Jan 30 13:10:51 2025 +0100
derive(Default): Add implementation
gcc/rust/ChangeLog:
* expand/rust-derive.cc (DeriveVisitor:
https://gcc.gnu.org/g:262040ea6606e09c8d7a7b2e526ee8203a4fe4d3
commit 262040ea6606e09c8d7a7b2e526ee8203a4fe4d3
Author: Philip Herron
Date: Tue Feb 11 17:42:24 2025 +
gccrs: add variant_count intrinsic
Addresses Rust-GCC#3348
gcc/rust/ChangeLog:
* back
https://gcc.gnu.org/g:3fd738ca7b346343853344a749d22815740fa114
commit 3fd738ca7b346343853344a749d22815740fa114
Author: Philip Herron
Date: Mon Feb 10 16:28:30 2025 +
gccrs: add discriminant value intrinsic
This is pretty nasty piece of rust in my opinion the return type of thi
https://gcc.gnu.org/g:af234dd6a9dcb71498d16a8fb65ad53bc5d62ef4
commit af234dd6a9dcb71498d16a8fb65ad53bc5d62ef4
Author: GS-GOAT <86884129+gs-g...@users.noreply.github.com>
Date: Sat Feb 8 12:03:18 2025 +0530
Get rid of duplicate interface #3396
gcc/rust/ChangeLog:
*
https://gcc.gnu.org/g:dbb51c03abbac3947a375e7fa51ec545c8a8b63b
commit dbb51c03abbac3947a375e7fa51ec545c8a8b63b
Author: Philip Herron
Date: Tue Feb 11 17:51:22 2025 +
gccrs: enum type layout needs to respect the enum repr type
Addresses Rust-GCC#3352
gcc/rust/ChangeLog
https://gcc.gnu.org/g:28a87acaff74a87953d80df542b3d6e2e26daf62
commit 28a87acaff74a87953d80df542b3d6e2e26daf62
Author: Arthur Cohen
Date: Wed Jan 22 14:07:05 2025 +
ast: builder: Fix arguments of Builder::let
gcc/rust/ChangeLog:
* ast/rust-ast-builder.h: Mark
https://gcc.gnu.org/g:9e876359e38d6849c64b7352dc560e0264a7300c
commit 9e876359e38d6849c64b7352dc560e0264a7300c
Author: Arthur Cohen
Date: Thu Jan 16 16:55:56 2025 +0100
typecheck: Separate assemble_builtin_candidate in two
This paves the way for adding trait bounds that aren't nec
https://gcc.gnu.org/g:f85babd713a141b850eed3b595725ef8d63f3aeb
commit f85babd713a141b850eed3b595725ef8d63f3aeb
Author: Arthur Cohen
Date: Thu Jan 30 14:56:37 2025 +0100
ast-builder: Improve function generation.
gcc/rust/ChangeLog:
* ast/rust-ast-builder.cc (Builde
https://gcc.gnu.org/g:5db9ab5426ab234ed9cda01ceebc444c90631f6a
commit 5db9ab5426ab234ed9cda01ceebc444c90631f6a
Author: CohenArthur
Date: Fri Jan 10 15:26:39 2025 +0100
Revert "gcc/rust/ChangeLog:"
This reverts commit 600fd806b8821ea24103ea0f31d666077245c6b7.
Diff:
---
gcc/rust/a
https://gcc.gnu.org/g:7691105e19b0437c83d104f53ec34f8279b79c84
commit 7691105e19b0437c83d104f53ec34f8279b79c84
Author: Philip Herron
Date: Tue Feb 4 17:15:15 2025 +
gccrs: remove bad type checking diagnostic
This was a bad diagnostic added when I was working on slices and iter
https://gcc.gnu.org/g:ca227ed872e9a7b8ab9a170a2a8bbe4dc8dfd31e
commit ca227ed872e9a7b8ab9a170a2a8bbe4dc8dfd31e
Author: Owen Avery
Date: Wed Jan 22 20:12:46 2025 -0500
nr2.0: Resolve instances of TypePath more accurately
gcc/rust/ChangeLog:
* util/rust-unwrap-segme
https://gcc.gnu.org/g:de8606fc7272c75e71976730b9a9c08ef52a7d36
commit de8606fc7272c75e71976730b9a9c08ef52a7d36
Author: Owen Avery
Date: Wed Dec 4 15:23:07 2024 -0500
Remove Rust::make_unique
Since our bootstrap requirement has been bumped to C++14, we don't need
a custom imple
https://gcc.gnu.org/g:78d4fe9d2505636c9db207cfa0fccd000dbceab7
commit 78d4fe9d2505636c9db207cfa0fccd000dbceab7
Author: Arthur Cohen
Date: Fri Jan 3 14:27:38 2025 +
ast-builder: Add new methods for building structs
gcc/rust/ChangeLog:
* ast/rust-ast-builder.cc:
https://gcc.gnu.org/g:e7306a931281ab3d61504a99a46d1b82bda197f8
commit e7306a931281ab3d61504a99a46d1b82bda197f8
Author: Arthur Cohen
Date: Wed Jan 29 14:41:19 2025 +
inline-asm: Fix some warnings
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-asm.cc (strip_do
https://gcc.gnu.org/g:3d5355f06c998f204d56d7cdf82811a4cd1259b3
commit 3d5355f06c998f204d56d7cdf82811a4cd1259b3
Author: Arthur Cohen
Date: Thu Jan 30 11:01:33 2025 +0100
derive(Clone, Copy): Cleanup using new method from DeriveVisitor
gcc/rust/ChangeLog:
* expand/r
https://gcc.gnu.org/g:cc2445cd799fb5a88011ce9945afcdb9d2ca3219
commit cc2445cd799fb5a88011ce9945afcdb9d2ca3219
Author: Philip Herron
Date: Thu Dec 12 14:56:14 2024 +
gccrs: fix bad not expression in rust
Fixes Rust-GCC#3229
gcc/rust/ChangeLog:
* rust-
https://gcc.gnu.org/g:c957f18575fbe8208e01674cd446652323a7eb1b
commit c957f18575fbe8208e01674cd446652323a7eb1b
Author: Philip Herron
Date: Mon Dec 16 14:51:17 2024 +
gccrs: improve mutability checks
This ensures that we handle var decls readonly checks much better
Add
https://gcc.gnu.org/g:f68fbff016d4faacd54de63549d43255e1193688
commit f68fbff016d4faacd54de63549d43255e1193688
Author: Owen Avery
Date: Sat Dec 28 15:58:41 2024 -0500
Visit the trait paths of trait implementations
gcc/rust/ChangeLog:
* ast/rust-ast-visitor.cc
https://gcc.gnu.org/g:077bd4618b627c8ce177b267bf971d0b1861645b
commit 077bd4618b627c8ce177b267bf971d0b1861645b
Author: liushuyu
Date: Sat Sep 9 14:19:06 2023 -0600
rust/intrinsic: add try intrinsic and panic strategy options
gcc/rust/ChangeLog:
* backend/rust-compile-i
https://gcc.gnu.org/g:db118253448a54968b8df5c848fafe319eab9c56
commit db118253448a54968b8df5c848fafe319eab9c56
Author: Owen Avery
Date: Tue Dec 24 16:02:40 2024 -0500
nr2.0: Handle "Self" properly in trait definitions
gcc/rust/ChangeLog:
* ast/rust-ast-visitor.cc
https://gcc.gnu.org/g:5bccf14d99253f3f39f12701b8a0066ed95f2e59
commit 5bccf14d99253f3f39f12701b8a0066ed95f2e59
Author: Philip Herron
Date: Tue Jan 7 12:32:43 2025 +
gccrs: fix ICE in borrows to invalid expressions
We need to check if the borrowed value is valid before creating
https://gcc.gnu.org/g:b4a525ce39716cd1e9355b8503c78f3dd0fdbbb3
commit b4a525ce39716cd1e9355b8503c78f3dd0fdbbb3
Author: Philip Herron
Date: Thu Jan 9 16:47:47 2025 +
gccrs: match arms are a LUB
Unify rules are not the same as coercion rules. The coercion of ! is
allowed to
https://gcc.gnu.org/g:e891887bf6ab7b4601f22cfa0e19f206a1d52d51
commit e891887bf6ab7b4601f22cfa0e19f206a1d52d51
Author: Philip Herron
Date: Thu Dec 19 16:43:49 2024 +
gccrs: add support for lang_item eq and PartialEq trait
The Eq and Partial Ord are very similar to the operator
https://gcc.gnu.org/g:d2f6b128890ad9d886d4e857778d092709d42dc4
commit d2f6b128890ad9d886d4e857778d092709d42dc4
Author: Arthur Cohen
Date: Fri Jan 31 13:24:02 2025 +
ast-builder: Add new methods for creating operator expressions
gcc/rust/ChangeLog:
* ast/rust-a
https://gcc.gnu.org/g:9e6d06e93df566046225afc541511893bbeab845
commit 9e6d06e93df566046225afc541511893bbeab845
Author: Arthur Cohen
Date: Thu Jan 23 11:46:09 2025 +
session-manager: Call into DesugarQuestionMark
gcc/rust/ChangeLog:
* rust-session-manager.cc (S
https://gcc.gnu.org/g:e4ebd02d4528ac3fbfc70ee1abcd95fcbd44d66e
commit e4ebd02d4528ac3fbfc70ee1abcd95fcbd44d66e
Author: Owen Avery
Date: Tue Feb 18 21:20:45 2025 -0500
nr2.0: Implement macro_use for modules
gcc/rust/ChangeLog:
* resolve/rust-early-name-resolver-2.0
https://gcc.gnu.org/g:52ffcb82ec4699bc18027be37f31c614389c34b7
commit 52ffcb82ec4699bc18027be37f31c614389c34b7
Author: Arthur Cohen
Date: Mon Dec 23 16:43:35 2024 +
lang-items: Add LangItem::IsEnumVariant
gcc/rust/ChangeLog:
* util/rust-lang-item.cc (LangItem:
1101 - 1200 of 1455 matches
Mail list logo