diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-03-28 16:59:33 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-31 21:07:24 +0200 |
commit | a0b0d2a58ec8b830d0a88039709e2002b32dc2a8 (patch) | |
tree | f9d067592cb810330809ac4bca4eb157db1b9ace /gcc/rust/hir/tree | |
parent | 453616bd98429e78ebb9db55cc4d89b45bf9a3b0 (diff) | |
download | gcc-a0b0d2a58ec8b830d0a88039709e2002b32dc2a8.zip gcc-a0b0d2a58ec8b830d0a88039709e2002b32dc2a8.tar.gz gcc-a0b0d2a58ec8b830d0a88039709e2002b32dc2a8.tar.bz2 |
gccrs: Fix ICE in array ref constexpr
Since 898d55ad7e2 was fixed to remove the VIEW_CONVERT_EXPR from
array expressions we can now turn on the array element access
const expr.
Fixes Rust-GCC#3563
gcc/rust/ChangeLog:
* backend/rust-constexpr.cc (eval_store_expression): turn this back on
gcc/testsuite/ChangeLog:
* rust/compile/issue-3563.rs: New test.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/hir/tree')
0 files changed, 0 insertions, 0 deletions