[gcc/devel/rust/master] rust-fmt: Store parsed string in Pieces struct

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:2d22cc0f7f89b1d6e110981949bfdbec149ddaa9 commit 2d22cc0f7f89b1d6e110981949bfdbec149ddaa9 Author: Arthur Cohen Date: Tue Feb 13 16:31:25 2024 +0100 rust-fmt: Store parsed string in Pieces struct gcc/rust/ChangeLog: * ast/rust-fmt.cc

[gcc/devel/rust/master] format_args: Parse entire token invocation

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b9b2c92b3ab1995da7c63480ea9d4870c050c00a commit b9b2c92b3ab1995da7c63480ea9d4870c050c00a Author: Arthur Cohen Date: Wed Feb 7 12:46:16 2024 +0100 format_args: Parse entire token invocation gcc/rust/ChangeLog: * expand/rust-macro-builtins.cc

[gcc/devel/rust/master] format_args: Parse format string properly

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:bdba3fae4c02e483810e4acfa2b5d62f66d94c11 commit bdba3fae4c02e483810e4acfa2b5d62f66d94c11 Author: Arthur Cohen Date: Tue Jan 30 16:16:36 2024 +0100 format_args: Parse format string properly gcc/rust/ChangeLog: * expand/rust-macro-builtins.cc

[gcc/devel/rust/master] libformat_parser: Send boxed values across FFI properly

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:ad905fe5164bd4a7b41172708256fe04d0a80c8d commit ad905fe5164bd4a7b41172708256fe04d0a80c8d Author: Arthur Cohen Date: Tue Jan 30 01:48:13 2024 +0100 libformat_parser: Send boxed values across FFI properly gcc/rust/ChangeLog: * ast/rust-fmt.cc

[gcc/devel/rust/master] libformat_parser: Update header and remove old interface

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b49f87f6931fa1f42b9a49e7dccd38b0afe3442d commit b49f87f6931fa1f42b9a49e7dccd38b0afe3442d Author: Arthur Cohen Date: Mon Jan 29 22:06:39 2024 +0100 libformat_parser: Update header and remove old interface gcc/rust/ChangeLog: * ast/rust-fmt.cc

[gcc/devel/rust/master] git: Ignore libgrust build folders

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:e3fca6ffc75a131edef613c9eca1d96df1aad2d3 commit e3fca6ffc75a131edef613c9eca1d96df1aad2d3 Author: Arthur Cohen Date: Mon Jan 29 16:17:00 2024 +0100 git: Ignore libgrust build folders ChangeLog: * .gitignore: Add libgrust target folders to the

[gcc/devel/rust/master] libformat_parser: Start experimenting with cbindgen

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:82f7ee3c5934a81089ea593fdee2cb6eae726651 commit 82f7ee3c5934a81089ea593fdee2cb6eae726651 Author: Arthur Cohen Date: Mon Jan 29 16:14:13 2024 +0100 libformat_parser: Start experimenting with cbindgen libgrust/ChangeLog: *

[gcc/devel/rust/master] libgrust: Add format_parser library

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:7b25f53a416868059299661ddf769ec4c9c2516d commit 7b25f53a416868059299661ddf769ec4c9c2516d Author: Arthur Cohen Date: Thu Nov 30 14:11:41 2023 +0100 libgrust: Add format_parser library Compile libformat_parser and link to it. gcc/rust/ChangeLog:

[gcc/devel/rust/master] libformat_parser: Add FFI safe interface

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:23e029d9589e65e149c93ca3d74ed721fac7b34e commit 23e029d9589e65e149c93ca3d74ed721fac7b34e Author: Arthur Cohen Date: Mon Jan 29 16:13:24 2024 +0100 libformat_parser: Add FFI safe interface libgrust/ChangeLog: *

[gcc/devel/rust/master] fmt: Start working on format_args!() parser

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:486b2043a08ff49605ea7d52fc2c3f5403d72079 commit 486b2043a08ff49605ea7d52fc2c3f5403d72079 Author: Arthur Cohen Date: Thu Nov 9 18:32:52 2023 +0100 fmt: Start working on format_args!() parser This commit adds a base class for parsing the various constructs of

[gcc/devel/rust/master] gccrs: minor cleanup in langhook.type_for_mode

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:84477fc83223a883bbb53a31b4cbc08eee02af85 commit 84477fc83223a883bbb53a31b4cbc08eee02af85 Author: Marc Poulhiès Date: Mon Feb 19 22:52:29 2024 +0100 gccrs: minor cleanup in langhook.type_for_mode gcc/rust/ChangeLog: * rust-lang.cc

[gcc/devel/rust/master] Fix false positive for top-level AltPattern

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5989e3d614b1919bc9299383bb147cc6a14dec4b commit 5989e3d614b1919bc9299383bb147cc6a14dec4b Author: Owen Avery Date: Sun Feb 18 00:19:25 2024 -0500 Fix false positive for top-level AltPattern gcc/rust/ChangeLog: * hir/rust-ast-lower-pattern.cc

[gcc/devel/rust/master] gccrs: fix powif64 intrinsic

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f2e19364bca0182a53e2df9e49e6ba89cc7e commit f2e19364bca0182a53e2df9e49e6ba89cc7e Author: Marc Poulhiès Date: Mon Feb 19 22:36:39 2024 +0100 gccrs: fix powif64 intrinsic The signature was incorrectly using an i64 for the integer power, instead of

[gcc/devel/rust/master] libgrust: Add ChangeLog file

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:1b6ac2229b20b7c4171c6750affc1a675e6e4ecc commit 1b6ac2229b20b7c4171c6750affc1a675e6e4ecc Author: Pierre-Emmanuel Patry Date: Tue Nov 28 13:39:35 2023 +0100 libgrust: Add ChangeLog file libgrust/ChangeLog: * ChangeLog: New file.

[gcc/devel/rust/master] libgrust: Add entry for maintainers

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
Jakub Jelinek libgompTobias Burnus libgomp (OpenACC) Thomas Schwinge +libgrust All Rust front end maintainers libiberty Ian Lance Taylor libitm Torvald Riegel

[gcc/devel/rust/master] gccrs: Avoid *.bak suffixed tests - use dg-skip-if instead

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:b1f11b31bf105415f9a495d82366de8f3f571205 commit b1f11b31bf105415f9a495d82366de8f3f571205 Author: Jakub Jelinek Date: Thu Feb 15 13:55:49 2024 +0100 gccrs: Avoid *.bak suffixed tests - use dg-skip-if instead On Fri, Feb 09, 2024 at 11:03:38AM +0100, Jakub

[gcc/devel/rust/master] contrib: Add libgrust to update-copyright.py script

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:1725714f1667958e39f67a74e9ab5f41bdbde4af commit 1725714f1667958e39f67a74e9ab5f41bdbde4af Author: Sahil Yeole Date: Fri Feb 16 02:15:17 2024 +0530 contrib: Add libgrust to update-copyright.py script contrib/ChangeLog: * update-copyright.py: Add

[gcc/devel/rust/master] Add variadic check on function params

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:d0233c620d79cc7a82541dff5e812613cafd0699 commit d0233c620d79cc7a82541dff5e812613cafd0699 Author: 0xn4utilus Date: Wed Feb 14 22:19:15 2024 +0530 Add variadic check on function params gcc/rust/ChangeLog: * checks/errors/rust-ast-validation.cc

[gcc/devel/rust/master] gccrs: add powi intrinsics

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:50f8ca9800442165bddc142051c08b9394768dd4 commit 50f8ca9800442165bddc142051c08b9394768dd4 Author: Marc Poulhiès Date: Sun Oct 22 18:52:22 2023 +0200 gccrs: add powi intrinsics gcc/rust/ChangeLog: * backend/rust-builtins.cc

[gcc/devel/rust/master] Fix lookup of TuplePattern sub-pattern types

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a4716752fbb9eb7a06d408c98de42a2aec944713 commit a4716752fbb9eb7a06d408c98de42a2aec944713 Author: Owen Avery Date: Mon Feb 12 18:20:19 2024 -0500 Fix lookup of TuplePattern sub-pattern types gcc/rust/ChangeLog: *

[gcc/devel/rust/master] gccrs: Add testcase for #[rustc_const_stable]

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:0a0549eaba10352ed82f9bf401ae69eedb662f0d commit 0a0549eaba10352ed82f9bf401ae69eedb662f0d Author: Arthur Cohen Date: Wed Feb 7 09:27:11 2024 +0100 gccrs: Add testcase for #[rustc_const_stable] To ensure we don't introduce regressions back to issue #2314

[gcc/devel/rust/master] expand: Fix formatting for "macro not found" error

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:02f7befb8af37722c2e8340c21d7bb7a2d88a812 commit 02f7befb8af37722c2e8340c21d7bb7a2d88a812 Author: Arthur Cohen Date: Tue Feb 6 17:26:23 2024 +0100 expand: Fix formatting for "macro not found" error gcc/rust/ChangeLog: *

[gcc/devel/rust/master] Fix rebinding imports

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:239247a0f41fd345ddf551b4a1db5654275d42e1 commit 239247a0f41fd345ddf551b4a1db5654275d42e1 Author: Owen Avery Date: Wed Jun 21 10:26:30 2023 -0400 Fix rebinding imports gcc/rust/ChangeLog: * resolve/rust-ast-resolve-item.cc

[gcc/devel/rust/master] gccrs: Add testcase for matches!() macro

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:1d8f5d5853f553e465b5a591541ede344500c9a4 commit 1d8f5d5853f553e465b5a591541ede344500c9a4 Author: Arthur Cohen Date: Tue Feb 6 17:01:46 2024 +0100 gccrs: Add testcase for matches!() macro This adds a testcase for issue #2129. gcc/testsuite/ChangeLog:

[gcc/devel/rust/master] gccrs: Fix typo in RegionConstraints instance

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:da5e5ee4677c4735104805d69c5f66d07d9cd23a commit da5e5ee4677c4735104805d69c5f66d07d9cd23a Author: Arthur Cohen Date: Wed Feb 7 15:42:18 2024 +0100 gccrs: Fix typo in RegionConstraints instance gcc/rust/ChangeLog: *

[gcc/devel/rust/master] Fix macro parsing for trait items.

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:1e0e6a46abec24271ddea3f4936f2b94d7e2465e commit 1e0e6a46abec24271ddea3f4936f2b94d7e2465e Author: Kushal Pal Date: Fri Jan 26 18:35:59 2024 +0530 Fix macro parsing for trait items. gcc/rust/ChangeLog: * parse/rust-parse-impl.h

[gcc/devel/rust/master] Remove obsolete classes and functions.

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:df78aec1a2772ecb205284324c9472abfda4abf2 commit df78aec1a2772ecb205284324c9472abfda4abf2 Author: Kushal Pal Date: Fri Jan 26 13:21:37 2024 +0530 Remove obsolete classes and functions. Trait functions now use AST::Function class, so classes

[gcc/devel/rust/master] Parse trait functions as `AST::Function`.

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a10b39d164579075711ae71c5a4969312a98ddce commit a10b39d164579075711ae71c5a4969312a98ddce Author: Kushal Pal Date: Fri Jan 26 11:50:05 2024 +0530 Parse trait functions as `AST::Function`. To use AST::Function for trait functions, we can parse trait functions

[gcc/devel/rust/master] Fix inconsistent formatting.

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:16936de7c1d020e6b390d8a768dab08deb50036a commit 16936de7c1d020e6b390d8a768dab08deb50036a Author: Kushal Pal Date: Fri Jan 26 11:44:12 2024 +0530 Fix inconsistent formatting. gcc/testsuite/ChangeLog: * rust/compile/issue-2040.rs:

[gcc/devel/rust/master] Add missing visitors for AST::Function.

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f1b650698219f0330ee0e59384b5b8c789debf37 commit f1b650698219f0330ee0e59384b5b8c789debf37 Author: Kushal Pal Date: Fri Jan 26 11:35:24 2024 +0530 Add missing visitors for AST::Function. To use AST::Function instead of AST::TraitItemFunc and

[gcc/devel/rust/master] Add checks for Trait functions

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:37a6e44c4c3fcc90b2a19ba75741d4827d525a81 commit 37a6e44c4c3fcc90b2a19ba75741d4827d525a81 Author: Kushal Pal Date: Fri Jan 26 11:25:10 2024 +0530 Add checks for Trait functions Since we want to use AST::Function class for trait functions as well, we need

[gcc/devel/rust/master] Use AssociatedItem in place of TraitItem

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a9ed0b1594fc3d95bdfb999fbce6d93424d26868 commit a9ed0b1594fc3d95bdfb999fbce6d93424d26868 Author: Kushal Pal Date: Wed Jan 24 17:03:09 2024 +0530 Use AssociatedItem in place of TraitItem gcc/rust/ChangeLog: * ast/rust-ast.h: Replace TraitItem

[gcc/devel/rust/master] gccrs: Add testcase to show issue is already fixed

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:e2cb2a7f0251bc30fd687ffb4050e54144c23862 commit e2cb2a7f0251bc30fd687ffb4050e54144c23862 Author: Philip Herron Date: Sun Feb 4 16:38:16 2024 + gccrs: Add testcase to show issue is already fixed Fixes #2782 gcc/testsuite/ChangeLog:

[gcc/devel/rust/master] gccrs: fix bug in pattern check for tuples

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:38af9fef52e716ca38cf182a9d86ff49953a586f commit 38af9fef52e716ca38cf182a9d86ff49953a586f Author: Philip Herron Date: Sun Feb 4 17:07:05 2024 + gccrs: fix bug in pattern check for tuples We can point to generic parent types which means we need to do the

[gcc/devel/rust/master] Move the Implementation of implitem lowering into its own file.

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:5b7d6744e627aae5b0969d229eaa097af5f8db0a commit 5b7d6744e627aae5b0969d229eaa097af5f8db0a Author: Nobel Singh Date: Tue Jan 30 04:20:03 2024 +0545 Move the Implementation of implitem lowering into its own file. This patch moves the implementation of the

[gcc/devel/rust/master] gccrs: refactor inference variable computation into a seperate method

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:a99206505f8465c80382a5053f4e02c140e95d09 commit a99206505f8465c80382a5053f4e02c140e95d09 Author: Philip Herron Date: Sat Feb 3 15:18:51 2024 + gccrs: refactor inference variable computation into a seperate method gcc/rust/ChangeLog: *

[gcc/devel/rust/master] gccrs: remove similar hack in type paths as we had in path expressions

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:f8e4a9c6600bf2954f3aec72dd1a06901fac3635 commit f8e4a9c6600bf2954f3aec72dd1a06901fac3635 Author: Philip Herron Date: Sat Feb 3 11:46:42 2024 + gccrs: remove similar hack in type paths as we had in path expressions This keeps the resolution code in line

[gcc/devel/rust/master] gccrs: remove old generics hack to reuse generic symbols from previous seg

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:ce4e7944cf2c0ae705e86357729358364bc0fd21 commit ce4e7944cf2c0ae705e86357729358364bc0fd21 Author: Philip Herron Date: Sat Feb 3 11:34:30 2024 + gccrs: remove old generics hack to reuse generic symbols from previous seg This patch introduces one regression

[gcc/devel/rust/master] gccrs: Fix ICE accessing empty vector without check

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
https://gcc.gnu.org/g:d6c97f6d03845b018f855bc310493269f0b50eb5 commit d6c97f6d03845b018f855bc310493269f0b50eb5 Author: Philip Herron Date: Sat Feb 3 16:32:13 2024 + gccrs: Fix ICE accessing empty vector without check Fixes #2747 gcc/rust/ChangeLog: *

[gcc/devel/rust/master] gccrs: add test cases to prove type inference is working

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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:

[gcc/devel/rust/master] Set the default ABI to C for extern blocks and extern functions

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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,

[gcc/devel/rust/master] gccrs: add testcase to prove issue has already been fixed

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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:

[gcc/devel/rust/master] TyTy: Store reference to type before any substitutions

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] Typecheck: add regions (lifetimes) to TyTy

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] TyTy: Store region constraints

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] HIR: Add mising getter

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] TyTy: Region (lifetime) representation

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Typecheck: lifetime interning and resolution tool

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] gccrs: Implement quick-check for Unicode

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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):

[gcc/devel/rust/master] Parse normal functions with `self` parameter correctly

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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:

[gcc/devel/rust/master] Remove TraitImplItem

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Fix inconsistent formatting

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] gccrs: Fix output line ending patterns.

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] Add improved error when no fields in initializer

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Test: check implemented for lifetime handling

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] Unify storage of associated items in SingleASTNode

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] AST: Fix for lifetime parsing

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] AST: Fix for lifetime lowering

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Add improved error when a field is redefined in a struct constructor

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Test: fix missing lifetime in a test

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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:

[gcc/devel/rust/master] Handle `async` functions in traits

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] Added newline to get more readable lexdump

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] rust_debug: Cast size_t values to unsigned long before printing.

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Handle `async` keyword for regular implementations

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] expand: C++ify proc macro decls generation

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] ast: Fix lifetime type parsing

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Handle newlines during string parsing while lexing

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] TyTy: Refactor FnType deprecated API

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] ast: Lower 'for' lifetimes

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] ast: Infer static lifetime for const and static items

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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/devel/rust/master] ast: Full lifetime elision handling

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] ast: Unify explicitly and implicitly elided lifettimes

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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:

[gcc/devel/rust/master] Generate error for `async` trait fucntions

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] Handle `async` qualifier inside trait

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] gccrs: split rust-mangle.cc into two files

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] BIR: Cleanup

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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.

[gcc/devel/rust/master] TyTy: SubstitutionRef cast specialization

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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/devel/rust/master] TyTy: Common interface for fucntion-like types

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] TyTy: refactor to new API

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] TyTy: Fix missed nodiscard

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Make default resolver inherit from default visitor

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] BIR: Fix missed nodiscard

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] HIR: add missing getters

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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.

[gcc/devel/rust/master] Allow enabling lang_items and no_core features

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] Generate error for const trait functions

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] gccrs: refactor builtins initialization and attributes

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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/devel/rust/master] Change cfg stripper to use default visitor

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Add a regression test for function body check

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Make expand visitor inherit from default visitor

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Add multiple regression test in name resolution

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Renamed `WIN64` to `WIN_64`

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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: *

[gcc/devel/rust/master] Add execution test for name resolution 2.0

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Add validation for functions without body

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Make feature gate visitor inherit from default one

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Make function bodies truly optional

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Add regression test for const fn in trait

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Split async and const function qualifiers

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Make early name resolver inherit from default one

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Change the attribute checker visitor to default one

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

[gcc/devel/rust/master] Remove class AST::InherentImplItem

2024-05-07 Thread Thomas Schwinge via Gcc-cvs
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

<    3   4   5   6   7   8   9   10   11   12   >