https://gcc.gnu.org/g:c500e77a5251f8ec0c8aff51b078efaa3407ecb9
commit c500e77a5251f8ec0c8aff51b078efaa3407ecb9
Author: Pierre-Emmanuel Patry
Date: Mon Nov 20 13:53:51 2023 +0100
Add regression test for generic auto traits
Generics are forbidden on auto traits and an error should b
https://gcc.gnu.org/g:5f0e77ad4623bc5450808367d902836b7257066b
commit 5f0e77ad4623bc5450808367d902836b7257066b
Author: Pierre-Emmanuel Patry
Date: Fri Nov 17 15:26:43 2023 +0100
fixup: Ensure buffer allocation for bootstrap
Bootstrap was failing because the vector did not allocate
https://gcc.gnu.org/g:e361eceb9d4231897a1a033b90856c5ac7a5b5fb
commit e361eceb9d4231897a1a033b90856c5ac7a5b5fb
Author: Pierre-Emmanuel Patry
Date: Mon Nov 20 14:04:35 2023 +0100
Reject auto traits with super trait
Reject auto traits containing a super trait bound during AST valida
https://gcc.gnu.org/g:1786c4fcb1caea99000c7c874f88688713a6b661
commit 1786c4fcb1caea99000c7c874f88688713a6b661
Author: Pierre-Emmanuel Patry
Date: Mon Nov 20 14:16:41 2023 +0100
Add a regression test for super trait on auto trait
Add a new regression test to highlight the error be
https://gcc.gnu.org/g:0437eb7efeec3f3251ae061b1c4915ea644b3ef0
commit 0437eb7efeec3f3251ae061b1c4915ea644b3ef0
Author: Pierre-Emmanuel Patry
Date: Mon Nov 20 13:43:48 2023 +0100
Reject auto traits with generic parameters
Generic parameters are not allowed on auto traits, the compi
https://gcc.gnu.org/g:b1b0de60cd99742eb71dd909969e128ea0cd94ef
commit b1b0de60cd99742eb71dd909969e128ea0cd94ef
Author: Pierre-Emmanuel Patry
Date: Mon Nov 20 14:59:56 2023 +0100
Add check for associated items on auto traits
Reject rust code with associated items on auto traits.
https://gcc.gnu.org/g:0f9752e4b23cab42709824ca8f504b0dcd941c10
commit 0f9752e4b23cab42709824ca8f504b0dcd941c10
Author: Pierre-Emmanuel Patry
Date: Mon Nov 20 11:37:12 2023 +0100
Add a test regular variadic functions errors
Add a new regression test for the error message in regular
https://gcc.gnu.org/g:33965b86fe26e1f352a6dc2a18d88b25a0b36ada
commit 33965b86fe26e1f352a6dc2a18d88b25a0b36ada
Author: Pierre-Emmanuel Patry
Date: Mon Nov 20 11:19:46 2023 +0100
Emit an error on variadic non extern functions
Variadic regular functions were recently added in the pa
https://gcc.gnu.org/g:546e25139bf223a388a06f6dcd458c9a73715e5b
commit 546e25139bf223a388a06f6dcd458c9a73715e5b
Author: Pierre-Emmanuel Patry
Date: Mon Nov 20 15:41:39 2023 +0100
Add ast validation check on union variant number
Unions with zero fields are forbidden. Add regression
https://gcc.gnu.org/g:f211a424582b8256a3235d06e545016e658c5860
commit f211a424582b8256a3235d06e545016e658c5860
Author: Pierre-Emmanuel Patry
Date: Wed Nov 15 16:24:56 2023 +0100
Replace TOK suffix with KW
TOK suffix was chosen to disambiguate some identifiers with c++ reserved
https://gcc.gnu.org/g:8433e828c0f39dbf9f4bf24203b44cc5407936e0
commit 8433e828c0f39dbf9f4bf24203b44cc5407936e0
Author: Pierre-Emmanuel Patry
Date: Thu Nov 16 11:42:35 2023 +0100
Add edition separation for keywords
It might be required in the future to get only the keywords from a
https://gcc.gnu.org/g:52a5b5d535231b353d6074e739dcb13073bcd77e
commit 52a5b5d535231b353d6074e739dcb13073bcd77e
Author: Pierre-Emmanuel Patry
Date: Thu Nov 16 12:39:37 2023 +0100
Treat underscore as a keyword
Make the underscore token a 2015 keyword.
gcc/rust/ChangeLog:
https://gcc.gnu.org/g:f4f42391af8172408811e253f55343dfc3abe84d
commit f4f42391af8172408811e253f55343dfc3abe84d
Author: Pierre-Emmanuel Patry
Date: Thu Nov 16 13:41:46 2023 +0100
Replace some keyword raw values
Raw values cannot be understood easily by most tools. This commit repla
https://gcc.gnu.org/g:27da3bb4a9b16d33e4675544b38df256f706e23c
commit 27da3bb4a9b16d33e4675544b38df256f706e23c
Author: Pierre-Emmanuel Patry
Date: Thu Nov 16 13:11:33 2023 +0100
Add await keyword
The 2018 edition await keyword was missing from the keyword list.
gcc/rust/C
https://gcc.gnu.org/g:0f379bd8c9e5a966b7d1371888bdacf36dd2d531
commit 0f379bd8c9e5a966b7d1371888bdacf36dd2d531
Author: Pierre-Emmanuel Patry
Date: Thu Nov 16 15:02:11 2023 +0100
Add a list of weak keyword
Retrieving a weak keyword value is done using raw values. Introducing a
https://gcc.gnu.org/g:897532ac166e528f0d9246b2e7744b2e5b859368
commit 897532ac166e528f0d9246b2e7744b2e5b859368
Author: Pierre-Emmanuel Patry
Date: Thu Nov 16 15:18:41 2023 +0100
Replace some weak keyword raw value with constexpr
Raw values may have typos or contain error, replacin
https://gcc.gnu.org/g:34479e5427159b29aeb7685a5de58080e7899e8c
commit 34479e5427159b29aeb7685a5de58080e7899e8c
Author: Pierre-Emmanuel Patry
Date: Thu Nov 16 16:20:49 2023 +0100
Introduce a proper keyword list
The old "keyword" list was used for the lexer, and could therefore not
https://gcc.gnu.org/g:2bbff6da8233da8e0603feb606aaf3bf378476a9
commit 2bbff6da8233da8e0603feb606aaf3bf378476a9
Author: Arthur Cohen
Date: Fri Jun 23 16:37:51 2023 +0200
nr2.0: Add base for late name resolution
gcc/rust/ChangeLog:
* Make-lang.in: Compile late name
https://gcc.gnu.org/g:589d50bb4c054bae9d57a146f26851721c1ed840
commit 589d50bb4c054bae9d57a146f26851721c1ed840
Author: Arthur Cohen
Date: Thu Aug 17 14:07:27 2023 +0200
ctx: Add Labels ForeverStack to the resolver.
Not sure if dealing with "labels" is the proper way of doing so, s
https://gcc.gnu.org/g:50fe556cc37e41af0d103f8723896c3e9ca39353
commit 50fe556cc37e41af0d103f8723896c3e9ca39353
Author: M V V S Manoj Kumar
Date: Tue Nov 21 22:04:24 2023 +0530
Added support to Parse ASYNC function
Fixes issue #2650
The parser now parses ASYNC functions. Added
https://gcc.gnu.org/g:f9aa600dc02e87061b974b7b521fa4f56577e6b3
commit f9aa600dc02e87061b974b7b521fa4f56577e6b3
Author: Arthur Cohen
Date: Wed Nov 15 11:33:25 2023 +0100
toplevel: Use DefaultResolver for Function
gcc/rust/ChangeLog:
* resolve/rust-toplevel-name-res
https://gcc.gnu.org/g:4023eb2397f1da03e5bbfdf9278ef4aaf03e3b86
commit 4023eb2397f1da03e5bbfdf9278ef4aaf03e3b86
Author: Arthur Cohen
Date: Tue Aug 22 15:40:25 2023 +0200
nr2.0: Store mappings in NameResolutionContext
gcc/rust/ChangeLog:
* resolve/rust-name-resoluti
https://gcc.gnu.org/g:436d473f0cacd81fe6ae436a95f31f84e7e2aa4f
commit 436d473f0cacd81fe6ae436a95f31f84e7e2aa4f
Author: Arthur Cohen
Date: Tue Aug 22 16:58:28 2023 +0200
late: Start setting up builtin types
gcc/rust/ChangeLog:
* resolve/rust-late-name-resolver-2.0.
https://gcc.gnu.org/g:f9a583843590fdcdcb16e75e0076d487a45c5899
commit f9a583843590fdcdcb16e75e0076d487a45c5899
Author: Arthur Cohen
Date: Tue Aug 22 17:29:05 2023 +0200
late: Start storing mappings properly in the resolver
gcc/rust/ChangeLog:
* resolve/rust-late-n
https://gcc.gnu.org/g:435620aecf0ecf53b59fc9de2f274d8702aab54a
commit 435620aecf0ecf53b59fc9de2f274d8702aab54a
Author: Arthur Cohen
Date: Mon Aug 21 16:52:48 2023 +0200
early: Resolve paths properly
gcc/rust/ChangeLog:
* resolve/rust-early-name-resolver-2.0.cc
https://gcc.gnu.org/g:b7615465e03b79804c10a021838a8705266933d0
commit b7615465e03b79804c10a021838a8705266933d0
Author: Arthur Cohen
Date: Tue Aug 22 17:29:56 2023 +0200
toplevel: Add comment about running the collector twice
gcc/rust/ChangeLog:
* resolve/rust-topl
https://gcc.gnu.org/g:a1baaee2e9a03c916320532940d8c72b157c9de9
commit a1baaee2e9a03c916320532940d8c72b157c9de9
Author: Arthur Cohen
Date: Wed Aug 23 13:49:24 2023 +0200
ast: Add NodeId to UseTree base class
gcc/rust/ChangeLog:
* ast/rust-item.h (class UseTree): Ad
https://gcc.gnu.org/g:c5c2cfffcaecbfb5398d078a5e613f53003e5d2c
commit c5c2cfffcaecbfb5398d078a5e613f53003e5d2c
Author: Arthur Cohen
Date: Wed Aug 23 13:50:54 2023 +0200
early: Move `use` declaration resolving to TopLevel
gcc/rust/ChangeLog:
* resolve/rust-early-na
https://gcc.gnu.org/g:708920065ea7199781a1cf3670a1a5b2ffdfc00a
commit 708920065ea7199781a1cf3670a1a5b2ffdfc00a
Author: Arthur Cohen
Date: Wed Aug 23 13:51:06 2023 +0200
toplevel: Resolve `use` declarations
gcc/rust/ChangeLog:
* resolve/rust-toplevel-name-resolver-
https://gcc.gnu.org/g:2ab87ee89a3c5351d83e465e4061b40a51bb6c97
commit 2ab87ee89a3c5351d83e465e4061b40a51bb6c97
Author: Pierre-Emmanuel Patry
Date: Tue Nov 21 17:56:10 2023 +0100
Add unsafety member to modules
The rust syntax allows unsafe module even if those are rejected at a
https://gcc.gnu.org/g:2b754940080609639c2ee78ef0b1a430f0d7b678
commit 2b754940080609639c2ee78ef0b1a430f0d7b678
Author: Owen Avery
Date: Tue Oct 3 17:50:14 2023 -0400
Create base class for TupleStructItems and TuplePatternItems
gcc/rust/ChangeLog:
* hir/tree/rust-h
https://gcc.gnu.org/g:3eb942857dfdfbc099d36fe878f55d9e690c143e
commit 3eb942857dfdfbc099d36fe878f55d9e690c143e
Author: Pierre-Emmanuel Patry
Date: Tue Nov 21 18:28:30 2023 +0100
Parse module safety
Unsafe module are rejected at a later stage but could not be parsed
properly. T
https://gcc.gnu.org/g:26ac74e2a8e0823218cc84724b49723fd1d437f9
commit 26ac74e2a8e0823218cc84724b49723fd1d437f9
Author: Pierre-Emmanuel Patry
Date: Tue Nov 21 18:51:21 2023 +0100
Emit an error on unsafe modules
An error should be emitted on unsafe modules during the AST validation
https://gcc.gnu.org/g:16d0a2d058bbfb994ffa84e5257990b1c5809abb
commit 16d0a2d058bbfb994ffa84e5257990b1c5809abb
Author: Pierre-Emmanuel Patry
Date: Tue Nov 21 19:34:36 2023 +0100
Add a regression test for unsafe module validation
Add a new test to check for unsafe modules during AS
https://gcc.gnu.org/g:0ddb160c352ba2eacc375b94133813bb25704174
commit 0ddb160c352ba2eacc375b94133813bb25704174
Author: Philip Herron
Date: Mon Oct 2 18:41:33 2023 +0100
gccrs: Remove backend dependancy on resolution rib information
When making more desugaring for the HIR we can ne
https://gcc.gnu.org/g:804830a0258aadcaf26683abb86019ed96a33c14
commit 804830a0258aadcaf26683abb86019ed96a33c14
Author: Pierre-Emmanuel Patry
Date: Wed Nov 22 10:35:44 2023 +0100
Allow const and async specifiers in functions
We need to account for const specifiers in async parsing
https://gcc.gnu.org/g:af079a89f6e5efc8a97f1c0cdd9d8c9237f420a0
commit af079a89f6e5efc8a97f1c0cdd9d8c9237f420a0
Author: Pierre-Emmanuel Patry
Date: Wed Nov 22 10:44:08 2023 +0100
Add async const function ast validation pass
Add a check during AST validation pass to ensure functions
https://gcc.gnu.org/g:5210b2b07cc42b6f090ca981484ab164f7abf287
commit 5210b2b07cc42b6f090ca981484ab164f7abf287
Author: Pierre-Emmanuel Patry
Date: Wed Nov 22 11:12:05 2023 +0100
Add a regression test for async const functions
Functions that are both async and const shall be reject
https://gcc.gnu.org/g:0ff1dcb34369eda9b0b6ae3888c77ec79f444b63
commit 0ff1dcb34369eda9b0b6ae3888c77ec79f444b63
Author: Pierre-Emmanuel Patry
Date: Wed Nov 22 13:08:13 2023 +0100
Add AST validation check for const in trait
Add a new check in AST validation pass that checks that no
https://gcc.gnu.org/g:51f7bfcd864568c3c6d9c45132dd946aae56a4b7
commit 51f7bfcd864568c3c6d9c45132dd946aae56a4b7
Author: Owen Avery
Date: Tue Nov 28 01:07:00 2023 -0500
Remove class AST::InherentImplItem
gcc/rust/ChangeLog:
* ast/rust-ast-full-decls.h
(c
https://gcc.gnu.org/g:fba0a7b945036ce83a38f9111772bf48adced92a
commit fba0a7b945036ce83a38f9111772bf48adced92a
Author: Pierre-Emmanuel Patry
Date: Fri Nov 24 14:09:23 2023 +0100
Change the attribute checker visitor to default one
Make the attribute checker visitor inherit from the
https://gcc.gnu.org/g:b831e5bf7b81cdaa3c9f05b6783b84d21ff8f3a1
commit b831e5bf7b81cdaa3c9f05b6783b84d21ff8f3a1
Author: Pierre-Emmanuel Patry
Date: Mon Nov 27 15:39:24 2023 +0100
Make early name resolver inherit from default one
Many visit functions in the early name resolver are j
https://gcc.gnu.org/g:6b9657a645057800d19b1ecf7447f693d54c1e13
commit 6b9657a645057800d19b1ecf7447f693d54c1e13
Author: Pierre-Emmanuel Patry
Date: Tue Nov 21 10:29:35 2023 +0100
Split async and const function qualifiers
A function cannot be both async and const, however this shoul
https://gcc.gnu.org/g:0d6d39457d02f48aafcbc93186775cd8ca6b2117
commit 0d6d39457d02f48aafcbc93186775cd8ca6b2117
Author: Pierre-Emmanuel Patry
Date: Wed Nov 22 13:22:42 2023 +0100
Add regression test for const fn in trait
Const fn declaration in trait declarations shall emit an erro
https://gcc.gnu.org/g:6d179035cd770d5b698cdd5d6a8c566d7c0b4b08
commit 6d179035cd770d5b698cdd5d6a8c566d7c0b4b08
Author: Pierre-Emmanuel Patry
Date: Wed Nov 22 15:15:29 2023 +0100
Make function bodies truly optional
Missing body on a function should be rejected at a later stage in t
https://gcc.gnu.org/g:48942f64d51d215d6b8b1d84bbd648960afaaf60
commit 48942f64d51d215d6b8b1d84bbd648960afaaf60
Author: Pierre-Emmanuel Patry
Date: Fri Nov 24 11:17:52 2023 +0100
Make feature gate visitor inherit from default one
The feature gating behavior may be shortened and kep
https://gcc.gnu.org/g:bc596aafbe3a04f57af92719b47b000134cb5642
commit bc596aafbe3a04f57af92719b47b000134cb5642
Author: Pierre-Emmanuel Patry
Date: Wed Nov 22 16:37:17 2023 +0100
Add validation for functions without body
Add checks in the ast validation pass to error out with funct
https://gcc.gnu.org/g:e876ff57d83170f84b0dccf7bde333ca18fd2603
commit e876ff57d83170f84b0dccf7bde333ca18fd2603
Author: Pierre-Emmanuel Patry
Date: Thu Nov 30 13:27:01 2023 +0100
Add execution test for name resolution 2.0
We already have some compile tests but it lacked an executio
https://gcc.gnu.org/g:358932954b219b914cd950f067484b89e3e92790
commit 358932954b219b914cd950f067484b89e3e92790
Author: Kushal Pal
Date: Sat Dec 9 12:04:01 2023 +0530
Renamed `WIN64` to `WIN_64`
Fixes issue #2768
gcc/rust/ChangeLog:
* backend/rust-compile-
https://gcc.gnu.org/g:dc962fa75f740131058160eed8d50610fbb5c41c
commit dc962fa75f740131058160eed8d50610fbb5c41c
Author: Pierre-Emmanuel Patry
Date: Thu Nov 30 10:43:36 2023 +0100
Add multiple regression test in name resolution
Local variables and functions or global variables have
https://gcc.gnu.org/g:61d4955bb761c9447e59b505bcaad91b66ae49fd
commit 61d4955bb761c9447e59b505bcaad91b66ae49fd
Author: Pierre-Emmanuel Patry
Date: Mon Nov 27 14:12:20 2023 +0100
Make expand visitor inherit from default visitor
Many visit functions in the expand visitor simply visi
https://gcc.gnu.org/g:6c8074688b32b228fbc400aac130677f8b9cf3f4
commit 6c8074688b32b228fbc400aac130677f8b9cf3f4
Author: Pierre-Emmanuel Patry
Date: Thu Nov 23 20:22:29 2023 +0100
Change cfg stripper to use default visitor
Cfg visitor used it's own visit patterns, this made the code
https://gcc.gnu.org/g:a48b4f860d2cca1893a6e4976d8b025d96217b59
commit a48b4f860d2cca1893a6e4976d8b025d96217b59
Author: Pierre-Emmanuel Patry
Date: Thu Nov 23 14:08:50 2023 +0100
Add a regression test for function body check
Function body check emit an error message when a required
https://gcc.gnu.org/g:f7127fc4a26c8586607d4e21e7a0dc915ef78bab
commit f7127fc4a26c8586607d4e21e7a0dc915ef78bab
Author: Arthur Cohen
Date: Thu Nov 3 15:02:37 2022 +0100
gccrs: refactor builtins initialization and attributes
This commit performs builtin initialization in a more "GCC
https://gcc.gnu.org/g:5e3a8751f2780fac99c4c82d8e9333a3b83ae457
commit 5e3a8751f2780fac99c4c82d8e9333a3b83ae457
Author: Nobel Singh
Date: Tue Dec 5 18:12:29 2023 +0545
Generate error for const trait functions
Fixes issue #2040
Add check to assure that a function cant be de
https://gcc.gnu.org/g:1b6adb1a09ab5236f86d7243d9765bc17af4ab25
commit 1b6adb1a09ab5236f86d7243d9765bc17af4ab25
Author: Owen Avery
Date: Sat Dec 9 01:22:02 2023 -0500
Allow enabling lang_items and no_core features
gcc/rust/ChangeLog:
* checks/errors/rust-feature.cc
https://gcc.gnu.org/g:d2f33c584f7783e8b3b7656a67b6eab0a5834398
commit d2f33c584f7783e8b3b7656a67b6eab0a5834398
Author: Jakub Dupak
Date: Sun Dec 3 11:07:04 2023 +0100
HIR: add missing getters
gcc/rust/ChangeLog:
* hir/tree/rust-hir-item.h: Ad lifetime getter.
https://gcc.gnu.org/g:30b2e9c84d782d5494d645d2005fd0da3b15
commit 30b2e9c84d782d5494d645d2005fd0da3b15
Author: Jakub Dupak
Date: Mon Dec 11 21:52:48 2023 +0100
BIR: Fix missed nodiscard
gcc/rust/ChangeLog:
* checks/errors/borrowck/rust-bir-builder-internal
https://gcc.gnu.org/g:17482423400dbbe7f1758e645641346a4a1824cf
commit 17482423400dbbe7f1758e645641346a4a1824cf
Author: Pierre-Emmanuel Patry
Date: Mon Nov 27 17:00:56 2023 +0100
Make default resolver inherit from default visitor
The default resolver put some scope in place but mos
https://gcc.gnu.org/g:79a4ae0548ce6059bf71f661031367a6c895b801
commit 79a4ae0548ce6059bf71f661031367a6c895b801
Author: Jakub Dupak
Date: Sun Dec 3 11:13:04 2023 +0100
TyTy: Fix missed nodiscard
gcc/rust/ChangeLog:
* typecheck/rust-tyty.h: Fix nodiscard to warn unu
https://gcc.gnu.org/g:b05434dec8dd44b063c63379653d3b4c58c8ead8
commit b05434dec8dd44b063c63379653d3b4c58c8ead8
Author: Jakub Dupak
Date: Sun Dec 3 11:15:06 2023 +0100
TyTy: refactor to new API
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-type.cc
(TypeCheck
https://gcc.gnu.org/g:19a422d8b881b8e75cf549664e5333df706ece19
commit 19a422d8b881b8e75cf549664e5333df706ece19
Author: Jakub Dupak
Date: Sun Dec 3 11:16:59 2023 +0100
TyTy: Common interface for fucntion-like types
gcc/rust/ChangeLog:
* typecheck/rust-tyty.h (class
https://gcc.gnu.org/g:eb7dffae860b30215382f2f58a9f22932122ce96
commit eb7dffae860b30215382f2f58a9f22932122ce96
Author: Jakub Dupak
Date: Mon Dec 11 23:11:34 2023 +0100
TyTy: SubstitutionRef cast specialization
Allows skipping parent check when casting.
gcc/rust/ChangeLog:
https://gcc.gnu.org/g:03a38a4ff289e70f8a37b834d82beb15174bf6e5
commit 03a38a4ff289e70f8a37b834d82beb15174bf6e5
Author: Jakub Dupak
Date: Mon Dec 11 22:09:07 2023 +0100
BIR: Cleanup
gcc/rust/ChangeLog:
* checks/errors/borrowck/rust-bir-place.h: Cleanup.
https://gcc.gnu.org/g:b2e1131b480166ae385e18ca94c158559b3af241
commit b2e1131b480166ae385e18ca94c158559b3af241
Author: Kushal Pal
Date: Sat Dec 16 00:41:09 2023 +0530
Handle `async` qualifier inside trait
Fixes #2778
gcc/rust/ChangeLog:
* parse/rust-parse
https://gcc.gnu.org/g:d8c5cf1b1da87f6be31ace5caa460f4d9ed4941d
commit d8c5cf1b1da87f6be31ace5caa460f4d9ed4941d
Author: Raiki Tamura
Date: Tue Dec 26 13:08:42 2023 +0900
gccrs: split rust-mangle.cc into two files
gcc/rust/ChangeLog:
* Make-lang.in: Add .o files
https://gcc.gnu.org/g:7bb5d5c9b2aa79e12147bc4794eb824bcbc05d66
commit 7bb5d5c9b2aa79e12147bc4794eb824bcbc05d66
Author: Kushal Pal
Date: Sat Dec 16 20:07:23 2023 +0530
Generate error for `async` trait fucntions
Fixes #2767
gcc/rust/ChangeLog:
* checks/erro
https://gcc.gnu.org/g:77db7e8fb9525620c52dbda12b78d46144542854
commit 77db7e8fb9525620c52dbda12b78d46144542854
Author: Jakub Dupak
Date: Sun Dec 3 12:25:23 2023 +0100
ast: Unify explicitly and implicitly elided lifettimes
gcc/rust/ChangeLog:
* ast/rust-ast.h: Elid
https://gcc.gnu.org/g:4261ac4d8cdfd41e1a2a87c4475806294c70ad18
commit 4261ac4d8cdfd41e1a2a87c4475806294c70ad18
Author: Jakub Dupak
Date: Sun Dec 3 12:28:07 2023 +0100
ast: Full lifetime elision handling
gcc/rust/ChangeLog:
* parse/rust-parse-impl.h (Parser::parse_
https://gcc.gnu.org/g:205151adeb36b206238078ca89692fe45c9f197d
commit 205151adeb36b206238078ca89692fe45c9f197d
Author: Jakub Dupak
Date: Sun Dec 3 12:30:08 2023 +0100
ast: Infer static lifetime for const and static items
(probably incomplete propagation)
gcc/rust/ChangeLo
https://gcc.gnu.org/g:b9fccabd7b4727afd558351f4419c33693152fc9
commit b9fccabd7b4727afd558351f4419c33693152fc9
Author: Jakub Dupak
Date: Sun Dec 3 12:32:55 2023 +0100
ast: Lower 'for' lifetimes
gcc/rust/ChangeLog:
* hir/rust-ast-lower-type.cc (ASTLoweringType::vis
https://gcc.gnu.org/g:a12143b962f05daac05223e40ac01e4e81143151
commit a12143b962f05daac05223e40ac01e4e81143151
Author: Jakub Dupak
Date: Thu Dec 14 12:54:11 2023 +0100
TyTy: Refactor FnType deprecated API
gcc/rust/ChangeLog:
* backend/rust-compile-expr.cc (Compile
https://gcc.gnu.org/g:b864866f5271c17918b4fa314971e25c240eed55
commit b864866f5271c17918b4fa314971e25c240eed55
Author: Nirmal Patel
Date: Wed Dec 27 17:49:58 2023 -0500
Handle newlines during string parsing while lexing
If newline strings are encountered while lexing, the lexer no
https://gcc.gnu.org/g:e557052930b968899e5a16f01c8361c86739f712
commit e557052930b968899e5a16f01c8361c86739f712
Author: Jakub Dupak
Date: Sun Dec 3 12:23:17 2023 +0100
ast: Fix lifetime type parsing
There was a mismatch whether lifetime 'static is parsed as "static"
or "'static
https://gcc.gnu.org/g:3fcd86e404cac6763e40ca032aff942a3da09666
commit 3fcd86e404cac6763e40ca032aff942a3da09666
Author: Arthur Cohen
Date: Fri Jan 12 13:48:43 2024 +0100
expand: C++ify proc macro decls generation
This uses a stringstream instead of the older, better and more readab
https://gcc.gnu.org/g:0cd26bd7004cfa9c2262ff8020222a053b93f37f
commit 0cd26bd7004cfa9c2262ff8020222a053b93f37f
Author: Kushal Pal
Date: Sat Jan 6 11:29:14 2024 +0530
Handle `async` keyword for regular implementations
Fixes #2788
gcc/rust/ChangeLog:
* pars
https://gcc.gnu.org/g:5b40b9c7af1c8b958a8a8b64c590ba647fa153b6
commit 5b40b9c7af1c8b958a8a8b64c590ba647fa153b6
Author: Arthur Cohen
Date: Wed Jan 17 14:15:27 2024 +0100
rust_debug: Cast size_t values to unsigned long before printing.
Using %lu to format size_t values breaks 32 bit
https://gcc.gnu.org/g:184da62a4d4dee67b8ba3ace66f5254e7ba70c54
commit 184da62a4d4dee67b8ba3ace66f5254e7ba70c54
Author: Kushal Pal
Date: Sat Dec 30 09:40:19 2023 +0530
Added newline to get more readable lexdump
Fixes #2783
gcc/rust/ChangeLog:
* lex/rust-le
https://gcc.gnu.org/g:f54df95296a58cdba4c87968ef837264ccd203c9
commit f54df95296a58cdba4c87968ef837264ccd203c9
Author: Kushal Pal
Date: Wed Jan 3 16:02:07 2024 +0530
Handle `async` functions in traits
Fixes #2785
gcc/rust/ChangeLog:
* checks/errors/rust-a
https://gcc.gnu.org/g:ddb7f134020b499606d26c6206ef8cc20276630b
commit ddb7f134020b499606d26c6206ef8cc20276630b
Author: Jakub Dupak
Date: Tue Jan 9 15:43:01 2024 +0100
Test: fix missing lifetime in a test
This test did not compile with rustc.
gcc/testsuite/ChangeLog:
https://gcc.gnu.org/g:83b863402447921ec2e1b3d50f979bb482fb2a5c
commit 83b863402447921ec2e1b3d50f979bb482fb2a5c
Author: Jakub Dupak
Date: Tue Jan 9 15:46:41 2024 +0100
AST: Fix for lifetime lowering
gcc/rust/ChangeLog:
* hir/rust-ast-lower-type.cc (ASTLoweringTypeB
https://gcc.gnu.org/g:972a4f0205b880877744ff78d1a43215fe8f283f
commit 972a4f0205b880877744ff78d1a43215fe8f283f
Author: Robert Goss
Date: Tue Jan 16 22:50:51 2024 +
Add improved error when a field is redefined in a struct constructor
Fixes #2381
If a struct type is ini
https://gcc.gnu.org/g:d7485af7f54062836cc55e826900788894d0c4bc
commit d7485af7f54062836cc55e826900788894d0c4bc
Author: Jakub Dupak
Date: Tue Jan 9 15:45:12 2024 +0100
AST: Fix for lifetime parsing
gcc/rust/ChangeLog:
* parse/rust-parse-impl.h (Parser::parse_where_
https://gcc.gnu.org/g:43bb4971606dd08ca14ab61a0e232ea58c79e7fb
commit 43bb4971606dd08ca14ab61a0e232ea58c79e7fb
Author: Owen Avery
Date: Wed Dec 20 02:30:20 2023 -0500
Unify storage of associated items in SingleASTNode
gcc/rust/ChangeLog:
* ast/rust-ast-fragment.cc
https://gcc.gnu.org/g:1586de85db580fa6fe5a3698c148d6b36209f8ff
commit 1586de85db580fa6fe5a3698c148d6b36209f8ff
Author: Jakub Dupak
Date: Thu Jan 18 14:37:58 2024 +0100
Test: check implemented for lifetime handling
gcc/testsuite/ChangeLog:
* rust/compile/for_lifeti
https://gcc.gnu.org/g:7b203f66c1302c8783cf76b2b7604377073d0541
commit 7b203f66c1302c8783cf76b2b7604377073d0541
Author: Robert Goss
Date: Sun Jan 14 17:34:22 2024 +
Add improved error when no fields in initializer
If a struct type with a variant that has fields is initialized w
https://gcc.gnu.org/g:396565b34006f8b26bf9b8ea34a837bceb02c70b
commit 396565b34006f8b26bf9b8ea34a837bceb02c70b
Author: Arthur Cohen
Date: Mon Jan 22 14:04:11 2024 +0100
gccrs: Fix output line ending patterns.
gcc/testsuite/ChangeLog:
* rust/execute/torture/builtin
https://gcc.gnu.org/g:6d85a80bcf3414e017d058db3e0ea96827dfdbb3
commit 6d85a80bcf3414e017d058db3e0ea96827dfdbb3
Author: Kushal Pal
Date: Tue Jan 16 19:06:35 2024 +0530
Fix inconsistent formatting
gcc/rust/ChangeLog:
* checks/errors/rust-ast-validation.cc (ASTValida
https://gcc.gnu.org/g:9a622724c3a0bd025e2e28b33a21b410cb262fe9
commit 9a622724c3a0bd025e2e28b33a21b410cb262fe9
Author: Owen Avery
Date: Wed Dec 20 03:04:36 2023 -0500
Remove TraitImplItem
gcc/rust/ChangeLog:
* ast/rust-ast-full-decls.h
(class TraitImpl
https://gcc.gnu.org/g:bef49670f6248e30ab888ecdbd52a8a1612e25ef
commit bef49670f6248e30ab888ecdbd52a8a1612e25ef
Author: Kushal Pal
Date: Tue Jan 23 17:23:05 2024 +0530
Parse normal functions with `self` parameter correctly
Fixes #2812
gcc/rust/ChangeLog:
*
https://gcc.gnu.org/g:d6e10d2dabaf689ef36e628ee6d54cd460664615
commit d6e10d2dabaf689ef36e628ee6d54cd460664615
Author: Raiki Tamura
Date: Sat Dec 2 21:01:59 2023 +0900
gccrs: Implement quick-check for Unicode
gcc/rust/ChangeLog:
* rust-lang.cc (run_rust_tests): Ad
https://gcc.gnu.org/g:d42498b69e27d2c15bbdfadfacd650001a9e8545
commit d42498b69e27d2c15bbdfadfacd650001a9e8545
Author: Jakub Dupak
Date: Wed Jan 10 13:12:48 2024 +0100
Typecheck: lifetime interning and resolution tool
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-
https://gcc.gnu.org/g:3cfacb21cf4ff905386f98547c9d0d412c43abee
commit 3cfacb21cf4ff905386f98547c9d0d412c43abee
Author: Jakub Dupak
Date: Tue Jan 23 12:29:25 2024 +0100
TyTy: Region (lifetime) representation
gcc/rust/ChangeLog:
* typecheck/rust-tyty-region.h: New f
https://gcc.gnu.org/g:909439d2665c19381b39eb475878c390d805eebc
commit 909439d2665c19381b39eb475878c390d805eebc
Author: Jakub Dupak
Date: Tue Jan 23 13:55:20 2024 +0100
HIR: Add mising getter
gcc/rust/ChangeLog:
* hir/tree/rust-hir-item.h: Add missing getter
https://gcc.gnu.org/g:39ee37bc79a0d61d41f6c2f0d7b7ca0ae230448d
commit 39ee37bc79a0d61d41f6c2f0d7b7ca0ae230448d
Author: Jakub Dupak
Date: Tue Jan 23 14:20:42 2024 +0100
TyTy: Store region constraints
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-implitem.cc
https://gcc.gnu.org/g:4635157e93f85054ede4e30b9f832d09f864399f
commit 4635157e93f85054ede4e30b9f832d09f864399f
Author: Jakub Dupak
Date: Wed Jan 10 14:48:22 2024 +0100
Typecheck: add regions (lifetimes) to TyTy
gcc/rust/ChangeLog:
* typecheck/rust-hir-trait-resolv
https://gcc.gnu.org/g:22aee650ee89eaa2cdf636fe01b46364872e14fd
commit 22aee650ee89eaa2cdf636fe01b46364872e14fd
Author: Jakub Dupak
Date: Tue Jan 23 14:50:57 2024 +0100
TyTy: Store reference to type before any substitutions
gcc/rust/ChangeLog:
* typecheck/rust-tyty
https://gcc.gnu.org/g:838eab4a46381916a66877ca99a327264d838d54
commit 838eab4a46381916a66877ca99a327264d838d54
Author: Philip Herron
Date: Sat Feb 3 15:43:59 2024 +
gccrs: add testcase to prove issue has already been fixed
Fixes #1483
gcc/testsuite/ChangeLog:
https://gcc.gnu.org/g:7c0daba10e43586df2ede9cd4037c50b85648e6a
commit 7c0daba10e43586df2ede9cd4037c50b85648e6a
Author: Nobel Singh
Date: Fri Jan 19 20:51:34 2024 +0545
Set the default ABI to C for extern blocks and extern functions
Previously, the default ABI was set to Rust, whic
https://gcc.gnu.org/g:74c85f36942cd7c4115a5e20f81797aa089bed7e
commit 74c85f36942cd7c4115a5e20f81797aa089bed7e
Author: Philip Herron
Date: Sat Feb 3 16:02:36 2024 +
gccrs: add test cases to prove type inference is working
Fixes #2772
gcc/testsuite/ChangeLog:
101 - 200 of 1455 matches
Mail list logo