[gcc r15-9444] gccrs: expansion: Only add fragments if the matcher succeeded

2025-04-15 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:cb23182fa2b9b06acbd82993be57f3dc47cc62eb commit r15-9444-gcb23182fa2b9b06acbd82993be57f3dc47cc62eb Author: Arthur Cohen Date: Tue Apr 8 14:41:16 2025 +0200 gccrs: expansion: Only add fragments if the matcher succeeded gcc/rust/ChangeLog: * ex

[gcc r15-9436] rust: Use error_operand_p in rust-gcc.cc

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a2db03fdf37ba823c9acf479aaed841b7d0de761 commit r15-9436-ga2db03fdf37ba823c9acf479aaed841b7d0de761 Author: Andrew Pinski Date: Wed Mar 19 17:30:00 2025 -0700 rust: Use error_operand_p in rust-gcc.cc Just a simple cleanupof the code to use error_operand_p

[gcc r15-9435] rust: Use FLOAT_TYPE_P instead of manual checking

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:3eb76b8c62a2b3a9c6c7292e6692b48b3483fde0 commit r15-9435-g3eb76b8c62a2b3a9c6c7292e6692b48b3483fde0 Author: Andrew Pinski Date: Wed Mar 19 17:29:59 2025 -0700 rust: Use FLOAT_TYPE_P instead of manual checking This moves is_floating_point over to using FLOAT_TY

[gcc r15-9452] gccrs: attributes: Handle external tool annotations like rustfmt::

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:73d72498f97f601414919607ebf150b69694ce16 commit r15-9452-g73d72498f97f601414919607ebf150b69694ce16 Author: Arthur Cohen Date: Wed Apr 9 15:17:38 2025 +0200 gccrs: attributes: Handle external tool annotations like rustfmt:: gcc/rust/ChangeLog:

[gcc r15-9449] gccrs: Add `#[track_caller]` as known attribute

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:e84f76dc584192826700ebb89f726984b0788259 commit r15-9449-ge84f76dc584192826700ebb89f726984b0788259 Author: beamandala Date: Thu Mar 20 17:34:48 2025 -0500 gccrs: Add `#[track_caller]` as known attribute gcc/rust/ChangeLog: * expand/rust-macro

[gcc r15-9448] gccrs: install.texi: Mention Rust requirement for building gccrs

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:497ed6099b2c9f8f37b0acca5b7e2800ee1d9331 commit r15-9448-g497ed6099b2c9f8f37b0acca5b7e2800ee1d9331 Author: Arthur Cohen Date: Tue Apr 1 13:00:56 2025 +0200 gccrs: install.texi: Mention Rust requirement for building gccrs Addresses PR#117869 https://g

[gcc r15-9453] gccrs: lang-items: Add ManuallyDrop

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:901d94e8b4eb9a273e9e75d5586cb5abde73a7a6 commit r15-9453-g901d94e8b4eb9a273e9e75d5586cb5abde73a7a6 Author: Arthur Cohen Date: Tue Apr 8 17:04:09 2025 +0200 gccrs: lang-items: Add ManuallyDrop gcc/rust/ChangeLog: * util/rust-lang-item.h: Add n

[gcc r15-9451] gccrs: nr2.0: Only insert derive macros if they exist

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:9ed95c06977068cce86b5d35aee905533c757d57 commit r15-9451-g9ed95c06977068cce86b5d35aee905533c757d57 Author: Arthur Cohen Date: Wed Apr 9 14:48:55 2025 +0200 gccrs: nr2.0: Only insert derive macros if they exist This causes an assertion failure when compiling c

[gcc r15-9450] gccrs: attributes: Add missing attributes used in `core`

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:34c516efbb8dce4bffe09045e6b941806744d1fd commit r15-9450-g34c516efbb8dce4bffe09045e6b941806744d1fd Author: Arthur Cohen Date: Fri Apr 4 14:20:04 2025 +0200 gccrs: attributes: Add missing attributes used in `core` gcc/rust/ChangeLog: * util/ru

[gcc r15-9447] gccrs: Fix const checking of enum discriminants

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:85a57bf4708085cc522732a9b7b2b0f6b1882125 commit r15-9447-g85a57bf4708085cc522732a9b7b2b0f6b1882125 Author: Owen Avery Date: Sat Apr 5 17:20:44 2025 -0400 gccrs: Fix const checking of enum discriminants gcc/rust/ChangeLog: * checks/errors/rust

[gcc r15-9446] gccrs: format_args: Allow extraneous commas, improve safety

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:5074a85e0380a4ba97d367a76f4a4efba7424e79 commit r15-9446-g5074a85e0380a4ba97d367a76f4a4efba7424e79 Author: Arthur Cohen Date: Wed Apr 9 14:42:08 2025 +0200 gccrs: format_args: Allow extraneous commas, improve safety gcc/rust/ChangeLog: * expa

[gcc r15-9439] gccrs: typecheck: Properly select methods when dealing with specialization

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:eb5eee065b3e5fe189ea1f51dc88eae7dc4c25d6 commit r15-9439-geb5eee065b3e5fe189ea1f51dc88eae7dc4c25d6 Author: Arthur Cohen Date: Thu Apr 3 16:22:10 2025 +0200 gccrs: typecheck: Properly select methods when dealing with specialization gcc/rust/ChangeLog:

[gcc r15-9440] gccrs: nr2.0: Do not resolve modules this run if they are unloaded

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:6dcbbcd27c534df3a4b8d0d0d0319677b8edee08 commit r15-9440-g6dcbbcd27c534df3a4b8d0d0d0319677b8edee08 Author: Arthur Cohen Date: Fri Apr 4 14:18:33 2025 +0200 gccrs: nr2.0: Do not resolve modules this run if they are unloaded Instead, mark the visitor as dirty a

[gcc r15-9445] gccrs: expansion: Desugar doc comments into attributes before expansion

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:9710cf3e3419954fb543224faa9efd3c8d97a800 commit r15-9445-g9710cf3e3419954fb543224faa9efd3c8d97a800 Author: Arthur Cohen Date: Tue Apr 8 16:20:18 2025 +0200 gccrs: expansion: Desugar doc comments into attributes before expansion gcc/rust/ChangeLog:

[gcc r15-9442] gccrs: ast: Add get_locus() to DelimTokenTree

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:4aa6cae27bd1ca3513dcb512158ed27a4afe800d commit r15-9442-g4aa6cae27bd1ca3513dcb512158ed27a4afe800d Author: Arthur Cohen Date: Wed Apr 9 14:44:11 2025 +0200 gccrs: ast: Add get_locus() to DelimTokenTree gcc/rust/ChangeLog: * ast/rust-ast.h (De

[gcc r15-9443] gccrs: session: Desugar question mark operator after expansion instead.

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:76477f965552b5872bb14255f272bff78978ef0c commit r15-9443-g76477f965552b5872bb14255f272bff78978ef0c Author: Arthur Cohen Date: Fri Apr 4 14:21:00 2025 +0200 gccrs: session: Desugar question mark operator after expansion instead. gcc/rust/ChangeLog:

[gcc r15-9441] gccrs: ast: Support outer attributes for AST::RangeExpr

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:09c4a7a58b4dd6a95b72224d83c715308da9838a commit r15-9441-g09c4a7a58b4dd6a95b72224d83c715308da9838a Author: Arthur Cohen Date: Wed Apr 9 14:44:56 2025 +0200 gccrs: ast: Support outer attributes for AST::RangeExpr gcc/rust/ChangeLog: * ast/rust

[gcc r15-9438] rust: Add comment inside block [PR119342]

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:9e367223ce5c42e0598ef52637af34f74e14acc1 commit r15-9438-g9e367223ce5c42e0598ef52637af34f74e14acc1 Author: Andrew Pinski Date: Wed Mar 19 17:30:02 2025 -0700 rust: Add comment inside block [PR119342] Inside a BLOCK node, all of the variables of the scope/bloc

[gcc r15-9437] rust: use range for inside rust-gcc.cc [PR119341]

2025-04-14 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:ec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52 commit r15-9437-gec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52 Author: Andrew Pinski Date: Wed Mar 19 17:30:01 2025 -0700 rust: use range for inside rust-gcc.cc [PR119341] There are some places inside rust-gcc.cc which are

[gcc r15-9274] gccrs: Evaluate the enum's discriminant in a const context

2025-04-10 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:db5a399d13b7fdafb7eaa7d299db777615ff0be2 commit r15-9274-gdb5a399d13b7fdafb7eaa7d299db777615ff0be2 Author: Ryutaro Okada <1015ry...@gmail.com> Date: Sun Mar 30 09:28:41 2025 -0700 gccrs: Evaluate the enum's discriminant in a const context gcc/rust/ChangeLog:

[gcc r15-9286] gccrs: nr2.0: Remove duplicate self visit

2025-04-10 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:2f955bea137ac20963f781a22b16ced584e110ff commit r15-9286-g2f955bea137ac20963f781a22b16ced584e110ff Author: Owen Avery Date: Tue Apr 1 17:50:32 2025 -0400 gccrs: nr2.0: Remove duplicate self visit gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc

[gcc r15-9302] gccrs: Rename label getter to unchecked

2025-04-10 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:8885e9e109b664977479b23d8b976fdfaa576665 commit r15-9302-g8885e9e109b664977479b23d8b976fdfaa576665 Author: Pierre-Emmanuel Patry Date: Thu Apr 3 15:43:40 2025 +0200 gccrs: Rename label getter to unchecked gcc/rust/ChangeLog: * ast/rust-ast-co

[gcc r15-9290] gccrs: Resolve labels

2025-04-10 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:5d34589597c2af26768e7e4a982622db5eb4b210 commit r15-9290-g5d34589597c2af26768e7e4a982622db5eb4b210 Author: Pierre-Emmanuel Patry Date: Mon Mar 31 17:00:11 2025 +0200 gccrs: Resolve labels gcc/rust/ChangeLog: * hir/rust-ast-lower.cc (ASTLoweri

[gcc r15-9282] gccrs: Fix ICE when hitting invalid types for generics

2025-04-10 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:568289b9f83cb1ff43b12adc4494d8cb8997b8d3 commit r15-9282-g568289b9f83cb1ff43b12adc4494d8cb8997b8d3 Author: Philip Herron Date: Wed Apr 2 21:02:44 2025 +0100 gccrs: Fix ICE when hitting invalid types for generics We need to check upfront if the type is valid o

[gcc r15-9294] gccrs: Remove unused error constructor and getter

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a3148850a5ac0640b0b352a387e6df5c958861a9 commit r15-9294-ga3148850a5ac0640b0b352a387e6df5c958861a9 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 16:08:37 2025 +0200 gccrs: Remove unused error constructor and getter These constructor for eroneous state are not

[gcc r15-9301] gccrs: Rename label getter in ContinueExpr

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:c4ec1bc7b2ff98e20b20fd34a490b0d711b19f2c commit r15-9301-gc4ec1bc7b2ff98e20b20fd34a490b0d711b19f2c Author: Pierre-Emmanuel Patry Date: Thu Apr 3 14:40:15 2025 +0200 gccrs: Rename label getter in ContinueExpr gcc/rust/ChangeLog: * ast/rust-ast

[gcc r15-9305] gccrs: nr2.0: Adjust test macro6.rs

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:29ed33631f0eb4c88c8b253d5245958304102217 commit r15-9305-g29ed33631f0eb4c88c8b253d5245958304102217 Author: Owen Avery Date: Sun Mar 23 21:40:47 2025 -0400 gccrs: nr2.0: Adjust test macro6.rs gcc/testsuite/ChangeLog: * rust/compile/macros/mbe/

[gcc r15-9299] gccrs: Adapt testcase to name resolution 2.0

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:7ae95869c83ae3ff23c97292a43bedbfe3387364 commit r15-9299-g7ae95869c83ae3ff23c97292a43bedbfe3387364 Author: Pierre-Emmanuel Patry Date: Wed Apr 2 18:20:54 2025 +0200 gccrs: Adapt testcase to name resolution 2.0 Name resolution 2.0 behavior matches more closely

[gcc r15-9284] gccrs: hir: Add default qualifier to function, lower it properly

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:6410c1dddabc0fbb226f14e95590b1276574e8fd commit r15-9284-g6410c1dddabc0fbb226f14e95590b1276574e8fd Author: Arthur Cohen Date: Tue Apr 1 17:45:28 2025 +0200 gccrs: hir: Add default qualifier to function, lower it properly gcc/rust/ChangeLog: *

[gcc r15-9277] gccrs: Fix ICE when resolving lifetimes without name

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:4f110b297d4e764df001099b1fb647dddf8ac278 commit r15-9277-g4f110b297d4e764df001099b1fb647dddf8ac278 Author: Philip Herron Date: Mon Mar 31 17:33:59 2025 +0100 gccrs: Fix ICE when resolving lifetimes without name We dont need to assert here the lifetime code al

[gcc r15-9278] gccrs: Fix ICE when there are 2 functions named main

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:b1afef95601fd2f0323dd508a171267ff04f755b commit r15-9278-gb1afef95601fd2f0323dd508a171267ff04f755b Author: Philip Herron Date: Wed Apr 2 16:16:47 2025 +0100 gccrs: Fix ICE when there are 2 functions named main We need to setup the main_identifier_node for MAI

[gcc r15-9296] gccrs: Migrate error state to optionals

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:827ceac9e1b7d95d353168f3f3a9e92f8091404f commit r15-9296-g827ceac9e1b7d95d353168f3f3a9e92f8091404f Author: Pierre-Emmanuel Patry Date: Tue Apr 1 19:55:28 2025 +0200 gccrs: Migrate error state to optionals gcc/rust/ChangeLog: * ast/rust-ast-bu

[gcc r15-9292] gccrs: Visit loop label before predicate expression

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d7bbb929a884bd429bc4b43d9fed57d57ab285b4 commit r15-9292-gd7bbb929a884bd429bc4b43d9fed57d57ab285b4 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 12:02:31 2025 +0200 gccrs: Visit loop label before predicate expression If the label is referenced within the whil

[gcc r15-9279] gccrs: Fix recusive type query and nullptr on type path

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:f388cac59df2704026b6a0585efba70154640b12 commit r15-9279-gf388cac59df2704026b6a0585efba70154640b12 Author: Philip Herron Date: Wed Apr 2 18:21:46 2025 +0100 gccrs: Fix recusive type query and nullptr on type path This was a small fix to sort out the segfault

[gcc r15-9298] gccrs: Resolve labels within break or continue expressions

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:fb890cd43bc158af37fea846c423e069a90a9436 commit r15-9298-gfb890cd43bc158af37fea846c423e069a90a9436 Author: Pierre-Emmanuel Patry Date: Wed Apr 2 17:41:54 2025 +0200 gccrs: Resolve labels within break or continue expressions gcc/rust/ChangeLog:

[gcc r15-9288] gccrs: refactoring rust_error_at "redefined multiple times"

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:72a0fb9d9897347e938f560aaf5f99e95838d5bd commit r15-9288-g72a0fb9d9897347e938f560aaf5f99e95838d5bd Author: Sri Ganesh Thota Date: Tue Mar 25 18:30:58 2025 +0530 gccrs: refactoring rust_error_at "redefined multiple times" gcc/rust/ChangeLog: *

[gcc r15-9297] gccrs: Fix unresolved label error message

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:8c51fd896d02cf515c8919b1a4be52739434060b commit r15-9297-g8c51fd896d02cf515c8919b1a4be52739434060b Author: Pierre-Emmanuel Patry Date: Wed Apr 2 17:38:28 2025 +0200 gccrs: Fix unresolved label error message gcc/rust/ChangeLog: * resolve/rust-

[gcc r15-9304] gccrs: nr2.0: Adjust test issue-2812.rs

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:df45e75724f064b431a0dceb26a4f7320ef7018b commit r15-9304-gdf45e75724f064b431a0dceb26a4f7320ef7018b Author: Owen Avery Date: Mon Mar 24 18:27:41 2025 -0400 gccrs: nr2.0: Adjust test issue-2812.rs gcc/testsuite/ChangeLog: * rust/compile/issue-2

[gcc r15-9281] gccrs: Fix ICE on raw reference

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:f7fc904335edd53f428d76cd85a7bf3f8b55b2fe commit r15-9281-gf7fc904335edd53f428d76cd85a7bf3f8b55b2fe Author: Philip Herron Date: Thu Apr 3 15:39:58 2025 +0100 gccrs: Fix ICE on raw reference This patch adds support for raw references which enforce the pointer

[gcc r15-9295] gccrs: Update ast visitor with proper check for looplabel

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:3cf4d5cb996a062a22fe6fb496a622ec7519bd65 commit r15-9295-g3cf4d5cb996a062a22fe6fb496a622ec7519bd65 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 16:10:38 2025 +0200 gccrs: Update ast visitor with proper check for looplabel The visitor was visiting loop label

[gcc r15-9291] gccrs: Add check for label

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d85a88aa3fdf2a5d66288d5809da864b956cc8d4 commit r15-9291-gd85a88aa3fdf2a5d66288d5809da864b956cc8d4 Author: Pierre-Emmanuel Patry Date: Mon Mar 31 17:01:18 2025 +0200 gccrs: Add check for label gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc (De

[gcc r15-9289] gccrs: Revert part of 44ffe1193269

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d307dddfc1a7dd406e488b08a390ae5908542b1a commit r15-9289-gd307dddfc1a7dd406e488b08a390ae5908542b1a Author: Pierre-Emmanuel Patry Date: Thu Apr 3 17:27:46 2025 +0200 gccrs: Revert part of 44ffe1193269 This commit got rid of msvc specific code and remove the el

[gcc r15-9280] gccrs: Fix ICE on invalid match arms

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:0f37641978a2ef2b7a50d230a16637a3cfd46c2d commit r15-9280-g0f37641978a2ef2b7a50d230a16637a3cfd46c2d Author: Philip Herron Date: Thu Apr 3 15:37:40 2025 +0100 gccrs: Fix ICE on invalid match arms We hit assertions on empty enum or unknown variant, this catches

[gcc r15-9276] gccrs: Fix ICE when doing shift checks on const decl

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:e873e2a0b15871fb0bcdb07155fc9a7407f66286 commit r15-9276-ge873e2a0b15871fb0bcdb07155fc9a7407f66286 Author: Philip Herron Date: Mon Mar 31 17:58:24 2025 +0100 gccrs: Fix ICE when doing shift checks on const decl Const decls are just delcarations wrapping the v

[gcc r15-9300] gccrs: Change optional to expected for parse_loop_label

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:37908277b1caeaea1e7d110692082928776401ae commit r15-9300-g37908277b1caeaea1e7d110692082928776401ae Author: Pierre-Emmanuel Patry Date: Thu Apr 3 13:16:33 2025 +0200 gccrs: Change optional to expected for parse_loop_label gcc/rust/ChangeLog: *

[gcc r15-9303] gccrs: fix ICE segfault with empty feature gate

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a75a697ff0a5bafd23c468940943b80082088dba commit r15-9303-ga75a697ff0a5bafd23c468940943b80082088dba Author: Matty Kuhn Date: Fri Apr 4 18:09:41 2025 -0600 gccrs: fix ICE segfault with empty feature gate This patch fixes an issue where an empty feature gate wou

[gcc r15-9293] gccrs: Make loop label truly optional

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:ff04ba261afe95ae7dc20099aab599de11480589 commit r15-9293-gff04ba261afe95ae7dc20099aab599de11480589 Author: Pierre-Emmanuel Patry Date: Tue Apr 1 15:57:47 2025 +0200 gccrs: Make loop label truly optional A loop label error state was in use to represent missing

[gcc r15-9275] gccrs: nr2.0: Handle global paths

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:0282fd7cabe365e639deb8848cf29fbd00470e63 commit r15-9275-g0282fd7cabe365e639deb8848cf29fbd00470e63 Author: Owen Avery Date: Mon Mar 24 22:49:12 2025 -0400 gccrs: nr2.0: Handle global paths gcc/rust/ChangeLog: * resolve/rust-forever-stack.h

[gcc r15-9285] gccrs: Fix ICE for reserved lifetime name

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:381da0e21dac1579156de9d76d58610b104f5699 commit r15-9285-g381da0e21dac1579156de9d76d58610b104f5699 Author: Philip Herron Date: Thu Apr 3 16:32:36 2025 +0100 gccrs: Fix ICE for reserved lifetime name This is a reserved name so this changes the assertion to a d

[gcc r15-9283] gccrs: feature: Add min_specialization feature

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:c5f1d576a224a61fa4c924ab5bf5ed038d7fdbc9 commit r15-9283-gc5f1d576a224a61fa4c924ab5bf5ed038d7fdbc9 Author: Arthur Cohen Date: Tue Apr 1 17:45:00 2025 +0200 gccrs: feature: Add min_specialization feature gcc/rust/ChangeLog: * checks/errors/rus

[gcc r15-9287] gccrs: nr2.0: Improve test script

2025-04-08 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:89ca1e3cb697a87f02682a1fb1f62f02d0671c57 commit r15-9287-g89ca1e3cb697a87f02682a1fb1f62f02d0671c57 Author: Owen Avery Date: Sun Mar 30 19:08:45 2025 -0400 gccrs: nr2.0: Improve test script gcc/testsuite/ChangeLog: * rust/compile/nr2/compile.e

[gcc r15-8319] gccrs: Fixed testcase

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:1ed44d6cb29fda8d1ffc4bdee27d6dc0db4088fa commit r15-8319-g1ed44d6cb29fda8d1ffc4bdee27d6dc0db4088fa Author: Kushal Pal Date: Mon Aug 12 05:48:27 2024 + gccrs: Fixed testcase gcc/testsuite/ChangeLog: * rust/borrowck/test_move.rs: Assigning

[gcc r15-8628] gccrs: builder: Allow generating struct statements

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:58d035551b6509fa06a355586e3bbae0526d09aa commit r15-8628-g58d035551b6509fa06a355586e3bbae0526d09aa Author: Arthur Cohen Date: Thu Dec 26 10:49:16 2024 + gccrs: builder: Allow generating struct statements gcc/rust/ChangeLog: * ast/rust-ast

[gcc r15-8827] gccrs: lower: Always crash when lowering macro invocations

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:75252f2dc9b6c3bb97afea861036392919503958 commit r15-8827-g75252f2dc9b6c3bb97afea861036392919503958 Author: Arthur Cohen Date: Mon Feb 24 12:16:11 2025 +0100 gccrs: lower: Always crash when lowering macro invocations gcc/rust/ChangeLog: * hir/

[gcc r15-8506] gccrs: Resolve SelfParam in name resolution 2.0

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:bf8781394505f141c9b08aceafca6d7ab48c2a21 commit r15-8506-gbf8781394505f141c9b08aceafca6d7ab48c2a21 Author: Owen Avery Date: Fri Oct 4 12:56:16 2024 -0400 gccrs: Resolve SelfParam in name resolution 2.0 gcc/rust/ChangeLog: * resolve/rust-late-

[gcc r15-8509] gccrs: fix bad type inferencing on path's

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:0a30f01a61b7a945c29935bc6cb95cf1ba89bb91 commit r15-8509-g0a30f01a61b7a945c29935bc6cb95cf1ba89bb91 Author: Philip Herron Date: Fri Nov 1 16:18:28 2024 + gccrs: fix bad type inferencing on path's This catch to inject inference variables into generic paths

[gcc r15-8502] gccrs: Improve path handling while testing name resolution 2.0

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:da37d3556c6b2e537e944d273f6a38da6bd4773c commit r15-8502-gda37d3556c6b2e537e944d273f6a38da6bd4773c Author: Owen Avery Date: Wed Oct 16 20:18:48 2024 -0400 gccrs: Improve path handling while testing name resolution 2.0 gcc/testsuite/ChangeLog:

[gcc r15-8852] gccrs: Insert crate name in canonical path

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:7567357e178090bf549d4d325b74087b260f9169 commit r15-8852-g7567357e178090bf549d4d325b74087b260f9169 Author: Pierre-Emmanuel Patry Date: Mon Mar 10 16:05:18 2025 +0100 gccrs: Insert crate name in canonical path gcc/rust/ChangeLog: * resolve/rus

[gcc r15-8572] gccrs: fix bad not expression in rust

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:7bf460b338845d1b9a581cca70a3191f76769816 commit r15-8572-g7bf460b338845d1b9a581cca70a3191f76769816 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:

[gcc r15-8620] gccrs: tychk: resolve lang item type paths properly

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:8e7d9ae2ff70b85cac2aff5bf4a3482c80ca3a1e commit r15-8620-g8e7d9ae2ff70b85cac2aff5bf4a3482c80ca3a1e Author: Arthur Cohen Date: Thu Jan 2 10:37:00 2025 + gccrs: tychk: resolve lang item type paths properly gcc/rust/ChangeLog: * typecheck/ru

[gcc r15-8598] gccrs: fix ICE with hir dump on closure

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d3efd2a91f54a19c3c2d59d690c447c0def26367 commit r15-8598-gd3efd2a91f54a19c3c2d59d690c447c0def26367 Author: Philip Herron Date: Tue Jan 7 18:43:32 2025 + gccrs: fix ICE with hir dump on closure Return type and parameter types are optional on closures.

[gcc r15-8117] gccrs: Change crate name retrieval function return types

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:520a61b1dc7fdc072c825a687749316ed698f926 commit r15-8117-g520a61b1dc7fdc072c825a687749316ed698f926 Author: Pierre-Emmanuel Patry Date: Thu Apr 25 16:34:44 2024 +0200 gccrs: Change crate name retrieval function return types Change their return type to a const

[gcc r15-8783] gccrs: derive(Default): Add implementation

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d8dc928bad2854129eb7ae28cd6dc694f98fb47f commit r15-8783-gd8dc928bad2854129eb7ae28cd6dc694f98fb47f Author: Arthur Cohen Date: Thu Jan 30 13:10:51 2025 +0100 gccrs: derive(Default): Add implementation gcc/rust/ChangeLog: * expand/rust-derive.c

[gcc r15-9094] gccrs: Give the builtin unit struct an actual locus

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:3ef5915e5f56c04f2e70638eaa46f0baa2a1c388 commit r15-9094-g3ef5915e5f56c04f2e70638eaa46f0baa2a1c388 Author: Philip Herron Date: Thu Mar 27 15:15:08 2025 + gccrs: Give the builtin unit struct an actual locus This has been a pet peeve of mine for a while bec

[gcc r15-9085] gccrs: testsuite: Add more testcases for cfg() in core

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:bca80539a2b340ac67090d615b8901ca75818390 commit r15-9085-gbca80539a2b340ac67090d615b8901ca75818390 Author: Arthur Cohen Date: Fri Mar 7 13:26:59 2025 + gccrs: testsuite: Add more testcases for cfg() in core gcc/testsuite/ChangeLog: * rust

[gcc r15-8763] gccrs: Add option_env! support

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d26828bd44bd2550c477e60d8ae64a27dd98ee0f commit r15-8763-gd26828bd44bd2550c477e60d8ae64a27dd98ee0f Author: Liam Naddell Date: Thu Jan 30 20:51:21 2025 -0500 gccrs: Add option_env! support gcc/rust/ChangeLog: * expand/rust-macro-builtins-utility.cc

[gcc r15-8641] gccrs: nr2.0: late: Better format PathInExpression resolution

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:adbbf12a8f86ecb5c288302069f929d85c6b45ad commit r15-8641-gadbbf12a8f86ecb5c288302069f929d85c6b45ad Author: Arthur Cohen Date: Wed Jan 15 11:55:54 2025 + gccrs: nr2.0: late: Better format PathInExpression resolution gcc/rust/ChangeLog: * r

[gcc r15-9079] gccrs: dump: Handle let-else properly

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d68ebd1abff36196608e3411a8b1cddd6be80e0f commit r15-9079-gd68ebd1abff36196608e3411a8b1cddd6be80e0f Author: Arthur Cohen Date: Wed Mar 5 15:33:31 2025 + gccrs: dump: Handle let-else properly gcc/rust/ChangeLog: * ast/rust-ast-collector.cc

[gcc r15-8415] gccrs: Resolve TypeParam with name resolution 2.0

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:712e92cb20173df1f040c57140d159b99e952b64 commit r15-8415-g712e92cb20173df1f040c57140d159b99e952b64 Author: Pierre-Emmanuel Patry Date: Thu Sep 26 23:16:21 2024 +0200 gccrs: Resolve TypeParam with name resolution 2.0 Resolve TypeParam unless it is Self.

[gcc r15-8410] gccrs: Update exclude list with working tests

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a7992fee681bc5a554ed407f069f2cfb4d9a50a6 commit r15-8410-ga7992fee681bc5a554ed407f069f2cfb4d9a50a6 Author: Pierre-Emmanuel Patry Date: Tue Sep 17 15:25:41 2024 +0200 gccrs: Update exclude list with working tests gcc/testsuite/ChangeLog: * rus

[gcc r15-8578] gccrs: resolve: Name resolve trait bounds properly

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:c0640954e1a340764368a10f3b7774696e32a8ae commit r15-8578-gc0640954e1a340764368a10f3b7774696e32a8ae Author: Arthur Cohen Date: Wed Dec 25 11:03:44 2024 + gccrs: resolve: Name resolve trait bounds properly gcc/rust/ChangeLog: * resolve/rust

[gcc r15-8637] gccrs: ast-builder: Add new methods for building structs

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:8dedd0d11ddb3c999530edf6c810b1aa7ca7378b commit r15-8637-g8dedd0d11ddb3c999530edf6c810b1aa7ca7378b Author: Arthur Cohen Date: Fri Jan 3 14:27:38 2025 + gccrs: ast-builder: Add new methods for building structs gcc/rust/ChangeLog: * ast/rus

[gcc r15-9103] gccrs: Fix ICE in array ref constexpr

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a0b0d2a58ec8b830d0a88039709e2002b32dc2a8 commit r15-9103-ga0b0d2a58ec8b830d0a88039709e2002b32dc2a8 Author: Philip Herron Date: Fri Mar 28 16:59:33 2025 + gccrs: Fix ICE in array ref constexpr Since 898d55ad7e2 was fixed to remove the VIEW_CONVERT_EXPR fro

[gcc r15-8525] gccrs: Improve handling of static items in toplevel 2.0

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:d3a3e52addbe07fed81209a29fe653d840dc67d2 commit r15-8525-gd3a3e52addbe07fed81209a29fe653d840dc67d2 Author: Owen Avery Date: Mon Nov 11 16:19:44 2024 -0500 gccrs: Improve handling of static items in toplevel 2.0 gcc/rust/ChangeLog: * resolve/r

[gcc r15-8399] gccrs: Fix missing error on duplicated nodes

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:57dc3ab97393f526afcc74fa6c82347f3f77402a commit r15-8399-g57dc3ab97393f526afcc74fa6c82347f3f77402a Author: Pierre-Emmanuel Patry Date: Wed Aug 21 17:01:29 2024 +0200 gccrs: Fix missing error on duplicated nodes When we tried to insert a shadowable node and an

[gcc r15-8597] gccrs: add support for lang_item eq and PartialEq trait

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:ef4028cd8472edd3b898dc5a2ac353b82c6303f4 commit r15-8597-gef4028cd8472edd3b898dc5a2ac353b82c6303f4 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 th

[gcc r15-8559] gccrs: lang-items: Store NodeId mappings for lang items

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:e0315c138337ddfac4dc41d1e26d0c8dd7564e0b commit r15-8559-ge0315c138337ddfac4dc41d1e26d0c8dd7564e0b Author: Arthur Cohen Date: Mon Nov 25 15:05:32 2024 +0100 gccrs: lang-items: Store NodeId mappings for lang items gcc/rust/ChangeLog: * util/ru

[gcc r15-9092] gccrs: Fix ICE when using super mid way though path

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a99268b1cc0069ba3d4ad177e8ab0cefc335b9ea commit r15-9092-ga99268b1cc0069ba3d4ad177e8ab0cefc335b9ea Author: Philip Herron Date: Wed Mar 26 17:26:12 2025 + gccrs: Fix ICE when using super mid way though path Fixes Rust-GCC#3568 gcc/rust/ChangeLog:

[gcc r15-8603] gccrs: rust/intrinsic: add try intrinsic and panic strategy options

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:165e7575a96af9ba901af199fa525f069efef574 commit r15-8603-g165e7575a96af9ba901af199fa525f069efef574 Author: liushuyu Date: Sat Sep 9 14:19:06 2023 -0600 gccrs: rust/intrinsic: add try intrinsic and panic strategy options gcc/rust/ChangeLog: * backe

[gcc r15-8596] gccrs: fix ICE in borrows to invalid expressions

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:a362f8a7d78da919d3e8ad5d924109a3c1521131 commit r15-8596-ga362f8a7d78da919d3e8ad5d924109a3c1521131 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 befor

[gcc r15-8521] gccrs: typecheck: Remove unused parameter in TyTyCheckCallExpr

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:bbbf9a239b54d697f5978a4dcd63ebbda9f3f1c4 commit r15-8521-gbbbf9a239b54d697f5978a4dcd63ebbda9f3f1c4 Author: Arthur Cohen Date: Wed Nov 6 15:19:10 2024 +0100 gccrs: typecheck: Remove unused parameter in TyTyCheckCallExpr gcc/rust/ChangeLog: * t

[gcc r15-8507] gccrs: add test case to show method resolution is working

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:9725d15a88376b69e61bb5a3a5385145e1a5b5f7 commit r15-8507-g9725d15a88376b69e61bb5a3a5385145e1a5b5f7 Author: Philip Herron Date: Fri Nov 1 14:07:54 2024 + gccrs: add test case to show method resolution is working The issue here was that the impl block for C

[gcc r15-8808] gccrs: nr2.0: Run DefaultResolver::visit on PathInExpression

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:228ee853d9258099aa3bff0d5b89afe72761193f commit r15-8808-g228ee853d9258099aa3bff0d5b89afe72761193f Author: Owen Avery Date: Tue Feb 4 05:53:10 2025 -0500 gccrs: nr2.0: Run DefaultResolver::visit on PathInExpression gcc/rust/ChangeLog: * resol

[gcc r15-8604] gccrs: rust/intrinsic: add new "catch_unwind" variant of API

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:33462c81bb01469837c0cfe5039963b53495481a commit r15-8604-g33462c81bb01469837c0cfe5039963b53495481a Author: liushuyu Date: Mon Dec 2 14:24:04 2024 -0700 gccrs: rust/intrinsic: add new "catch_unwind" variant of API gcc/rust/ChangeLog: * backend/rust

[gcc r15-8547] gccrs: allow casts from numeric types to floats

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:80bc600efeb6d2e4342da3e558cd2b5562e78477 commit r15-8547-g80bc600efeb6d2e4342da3e558cd2b5562e78477 Author: Philip Herron Date: Tue Nov 26 15:33:35 2024 + gccrs: allow casts from numeric types to floats Fixes Rust-GCC#3261 gcc/rust/ChangeLog:

[gcc r15-8630] gccrs: derive(Clone): Mark PhantomData as a lang item

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:9bc5deb919ce4c33839fc331aa943c99c33adce6 commit r15-8630-g9bc5deb919ce4c33839fc331aa943c99c33adce6 Author: Arthur Cohen Date: Thu Dec 26 10:57:07 2024 + gccrs: derive(Clone): Mark PhantomData as a lang item gcc/testsuite/ChangeLog: * rust

[gcc r15-8568] gccrs: hir: Lower lang-item paths

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:c7c6b5f89a39a39322aefb6e8f181c5fc230b162 commit r15-8568-gc7c6b5f89a39a39322aefb6e8f181c5fc230b162 Author: Arthur Cohen Date: Fri Nov 29 11:06:25 2024 +0100 gccrs: hir: Lower lang-item paths gcc/rust/ChangeLog: * hir/rust-ast-lower-type.cc (A

[gcc r15-8395] gccrs: imports: Make FinalizeImports a resolver visitor as well

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:9047b32383a05b5ef5909de5eed35a0cd3c9a76a commit r15-8395-g9047b32383a05b5ef5909de5eed35a0cd3c9a76a Author: Arthur Cohen Date: Sat Apr 6 23:02:51 2024 +0200 gccrs: imports: Make FinalizeImports a resolver visitor as well gcc/rust/ChangeLog: *

[gcc r15-8558] gccrs: fix crash in hir dump

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:3fa779425cc550afb6e18671c45dba0e21d1d273 commit r15-8558-g3fa779425cc550afb6e18671c45dba0e21d1d273 Author: Philip Herron Date: Mon Dec 2 17:38:55 2024 + gccrs: fix crash in hir dump gcc/rust/ChangeLog: * hir/rust-hir-dump.cc (Dump::visit)

[gcc r15-8638] gccrs: derive(Clone): Implement clone for enum tuple variants

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:2c5d4994edbd42cb347ce487f32560005dbd9552 commit r15-8638-g2c5d4994edbd42cb347ce487f32560005dbd9552 Author: Arthur Cohen Date: Fri Jan 3 14:27:52 2025 + gccrs: derive(Clone): Implement clone for enum tuple variants gcc/rust/ChangeLog: * ex

[gcc r15-8537] gccrs: Use nr2.0 in PrivacyReporter

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:0884ed91a150e10bbdd462724505a7904654cd32 commit r15-8537-g0884ed91a150e10bbdd462724505a7904654cd32 Author: Owen Avery Date: Tue Nov 19 13:57:34 2024 -0500 gccrs: Use nr2.0 in PrivacyReporter gcc/rust/ChangeLog: * checks/errors/privacy/rust-pr

[gcc r15-8551] gccrs: hir: Remove duplicate function in TraitItemFunc

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:e7bf1b6291ea18a3848f9fc7d44421554eeafe4f commit r15-8551-ge7bf1b6291ea18a3848f9fc7d44421554eeafe4f Author: Arthur Cohen Date: Fri Nov 29 11:05:29 2024 +0100 gccrs: hir: Remove duplicate function in TraitItemFunc Both TraitItemFunc::has_definition() and TraitI

[gcc r15-8619] gccrs: ast: Refactor how lang item paths are handled.

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:63023c032845b5d01e25c1f2e443e43d938337b0 commit r15-8619-g63023c032845b5d01e25c1f2e443e43d938337b0 Author: Arthur Cohen Date: Thu Dec 26 21:46:03 2024 + gccrs: ast: Refactor how lang item paths are handled. Lang item typepaths were not handled properly, a

[gcc r15-8433] gccrs: Disambiguate generic args during name resolution 2.0

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:c7e00b1e8757f44e2afdb0263c6f0400e44a1f95 commit r15-8433-gc7e00b1e8757f44e2afdb0263c6f0400e44a1f95 Author: Owen Avery Date: Tue Oct 15 23:16:23 2024 -0400 gccrs: Disambiguate generic args during name resolution 2.0 gcc/rust/ChangeLog: * resol

[gcc r15-8593] gccrs: use StackedContexts for block context

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:1c13bc20ca23774567e192a47d894cad362086df commit r15-8593-g1c13bc20ca23774567e192a47d894cad362086df 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 objec

[gcc r15-8550] gccrs: mappings: Move lang_item definitions to .cc

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:6524f82fb901ddf5d2b8d60e220b9ec792d8aeeb commit r15-8550-g6524f82fb901ddf5d2b8d60e220b9ec792d8aeeb Author: Arthur Cohen Date: Mon Nov 25 12:37:12 2024 +0100 gccrs: mappings: Move lang_item definitions to .cc gcc/rust/ChangeLog: * util/rust-hi

[gcc r15-9081] gccrs: lower: Handle let-else properly

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:b31e1976cb0fe767db81febc6a30a6cc0b8f243a commit r15-9081-gb31e1976cb0fe767db81febc6a30a6cc0b8f243a Author: Arthur Cohen Date: Wed Mar 5 15:36:19 2025 + gccrs: lower: Handle let-else properly gcc/rust/ChangeLog: * hir/tree/rust-hir-stmt.h

[gcc r15-8567] gccrs: nr1.0: Resolve lang item paths properly.

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:70c87e94e11d97dc63d6ffa4862bd4f97c5f25ba commit r15-8567-g70c87e94e11d97dc63d6ffa4862bd4f97c5f25ba Author: Arthur Cohen Date: Wed Dec 4 15:14:45 2024 +0100 gccrs: nr1.0: Resolve lang item paths properly. gcc/rust/ChangeLog: * resolve/rust-ast

[gcc r15-8148] gccrs: Add feature gate for box syntax

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:1e430a7957e7a3cf79f6f22f112f3d764706f50f commit r15-8148-g1e430a7957e7a3cf79f6f22f112f3d764706f50f Author: Pierre-Emmanuel Patry Date: Sun May 19 02:44:42 2024 +0200 gccrs: Add feature gate for box syntax The box syntax is experimental even though it is used

[gcc r15-8636] gccrs: derive(Clone): Add deriving of simple enum variants

2025-04-05 Thread Arthur Cohen via Gcc-cvs
https://gcc.gnu.org/g:4cbbaa71c1a2d438c9ac534ef6b2bf6c1887bf8e commit r15-8636-g4cbbaa71c1a2d438c9ac534ef6b2bf6c1887bf8e Author: Arthur Cohen Date: Thu Jan 2 10:59:33 2025 + gccrs: derive(Clone): Add deriving of simple enum variants gcc/rust/ChangeLog: * expan

  1   2   3   4   5   6   7   8   >