Ryutaro Okada
Ryutaro Okada
## Pull Request Checklist - [x] Have you added new tests to prevent regressions? - [ ] If a documentation update is necessary, have you opened a PR to [the...
## Pull Request Checklist - [ ] Have you added new tests to prevent regressions? - [ ] If a documentation update is necessary, have you opened a PR to...
# 該当する本の部分 第5章 文字表示とコンソールクラス P125 # 動作環境 - Ubuntu 22.04.2 LTS (GNU/Linux 5.15.167.4-microsoft-standard-WSL2 x86_64) - GNU objcopy (GNU Binutils for Ubuntu) 2.38 - Python 3.10.12 # やったこと `makefont.py`で半角テキストファイルからバイナリファイルを取得した ``` ../tools/makefont.py...
addresses https://github.com/Rust-GCC/gccrs/issues/3635 ``` gcc/rust/ChangeLog: * resolve/rust-ast-resolve-item.cc (ResolveItem::visit): add name resolution processing for discriminant values * resolve/rust-ast-resolve-stmt.h: add name resolution processing for discriminant values gcc/testsuite/ChangeLog: * rust/compile/nr2/exclude: Exclude enum_discriminant2.rs due to...
### Related Issue https://github.com/Rust-GCC/gccrs/issues/3635 ### Code ```rust fn main() { let y = 3; enum Foo { Bar = y, // { dg-error "cannot find value .y. in this scope"...
### Summary An error occurs when evaluating an enum discriminant containing arithmetic operations. ### Reproducer I tried this code: ```rust enum Foo { Bar = 3 + 12, } fn...
### Code ```rust fn main() { let y = 3; enum Foo { Bar = y, } } ``` ### Version `b79c452e07c` ### Error output ``` crab1: internal compiler error:...
This PR closes https://github.com/Rust-GCC/gccrs/issues/4086, https://github.com/Rust-GCC/gccrs/issues/4085 - \[x] GCC development requires copyright assignment or the Developer's Certificate of Origin sign-off, see https://gcc.gnu.org/contribute.html or https://gcc.gnu.org/dco.html - \[x] Read contributing guidlines - \[x]...
### Summary The current unused variable pass does not check variables inside the template function. ### Reproducer I tried this code: ```rust #[lang = "sized"] pub trait Sized {} fn...
### Summary The current unused var pass does not check static items. ### Reproducer I tried this code: ```rust static TEST: usize = 1; fn main() {} ```